Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zhongxiang117/17329350820e7c90a76a0946a07cfdcc to your computer and use it in GitHub Desktop.
Save zhongxiang117/17329350820e7c90a76a0946a07cfdcc to your computer and use it in GitHub Desktop.
Install Adobe Reader 9 on Ubuntu
# Cache sudo password
sudo -v
# Enable installation of 32-bit packages
sudo dpkg --add-architecture i386
# Enable the Ubuntu partner repository (this doesn't seem to be necessary for 20.04)
if [ $(lsb_release -r | awk '{print $2}') == '18.04' ]; then
sudo sed -i 's/^# deb http:\/\/archive.canonical.com\/ubuntu/deb http:\/\/archive.canonical.com\/ubuntu/' /etc/apt/sources.list
sudo apt update
fi
# Install Adobe Reader
wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb
sudo dpkg -i AdbeRdr9.5.5-1_i386linux_enu.deb
# Install missing dependencies
sudo apt install -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment