Last active
February 18, 2021 12:55
-
-
Save nascarsayan/6f3e4e2552e8083bd47c5be6249e1b23 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# * Powershell | |
ubuntu_ver=$(cut -f2 <<< $(lsb_release -r)) | |
# Download the Microsoft repository GPG keys | |
wget -q "https://packages.microsoft.com/config/ubuntu/${ubuntu_ver}/packages-microsoft-prod.deb" | |
# Register the Microsoft repository GPG keys | |
sudo dpkg -i packages-microsoft-prod.deb | |
rm packages-microsoft-prod.deb | |
# Update the list of products | |
sudo apt update | |
# Enable the "universe" repositories | |
sudo add-apt-repository universe | |
cd /usr/lib/x86_64-linux-gnu | |
[ ! -f libssl.so.1.0.0 ] && sudo ln -s libssl.so.1.1 libssl.so.1.0.0 | |
[ ! -f libcrypto.so.1.0.0 ] && sudo ln -s libcrypto.so.1.1 libcrypto.so.1.0.0 | |
cd - | |
# Install PowerShell and ntlm | |
sudo apt install -y powershell gss-ntlmssp netbase inetutils-ping |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment