Last active
October 23, 2024 02:40
-
-
Save bmaupin/89eb730c3b7d941324349d9952f91018 to your computer and use it in GitHub Desktop.
Install Adobe Reader 9 on Ubuntu
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
# 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 | |
# Install dependencies for 22.04 | |
if [ $(lsb_release -r | awk '{print $2}') == '22.04' ]; then | |
sudo apt install libgdk-pixbuf2.0-0:i386 libxml2:i386 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my situation(Ubuntu 20.04),there was another error about ftp connection problem.The log is something like below:
I use the direct downloading link which is alternative of the commadn
wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb
in the script to solve the problem:wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.1/enu/AdbeRdr9.5.1-1_i386linux_enu.deb