Last active
October 25, 2019 03:43
-
-
Save seanthegeek/ab07477185454c3ab2b52520ef2c5084 to your computer and use it in GitHub Desktop.
Installs missing dependencies from Debian 9 (stretch) for Powershell on Debian 10 (buster) and higher (including Kali Linux)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installs missing dependencies from Debian 9 (stretch) for Powershell on Debian 10 (buster) and higher (including Kali Linux) | |
mkdir /tmp/pwshtmp | |
cd /tmp/pwshtmp | |
wget http://http.us.debian.org/debian/pool/main/i/icu/libicu57_57.1-6+deb9u3_amd64.deb | |
wget http://http.us.debian.org/debian/pool/main/i/icu/icu-devtools_57.1-6+deb9u3_amd64.deb | |
wget http://http.us.debian.org/debian/pool/main/u/ust/liblttng-ust0_2.9.0-2+deb9u1_amd64.deb | |
wget http://http.us.debian.org/debian/pool/main/libu/liburcu/liburcu4_0.9.3-1_amd64.deb | |
wget http://http.us.debian.org/debian/pool/main/u/ust/liblttng-ust-ctl2_2.9.0-2+deb9u1_amd64.deb | |
wget http://security.debian.org/debian-security/pool/updates/main/o/openssl1.0/libssl1.0.2_1.0.2t-1~deb9u1_amd64.deb | |
sudo dpkg -i *.deb | |
cd | |
rm -rf /tmp/pwshtmp |
Updated. Thanks!
Thanks for this list, it install most of the dependecies but sadly openssl is missing. You can add it from stretch repository as well.
http://security.debian.org/debian-security/pool/updates/main/o/openssl1.0/libssl1.0.2_1.0.2t-1~deb9u1_amd64.deb
Also, line 6 should be cd /tmp/pwshtmp :) just a small typo.
Fixed. Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
7&8 changed:
wget http://http.us.debian.org/debian/pool/main/i/icu/libicu57_57.1-6+deb9u3_amd64.deb
wget http://http.us.debian.org/debian/pool/main/i/icu/icu-devtools_57.1-6+deb9u3_amd64.deb