Skip to content

Instantly share code, notes, and snippets.

@seanthegeek
Last active October 25, 2019 03:43
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanthegeek/ab07477185454c3ab2b52520ef2c5084 to your computer and use it in GitHub Desktop.
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)
#!/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
@seanthegeek
Copy link
Author

Updated. Thanks!

@mertcelen
Copy link

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.

@seanthegeek
Copy link
Author

Fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment