Skip to content

Instantly share code, notes, and snippets.

@bmaupin
Last active December 23, 2023 09:47
Show Gist options
  • Save bmaupin/89eb730c3b7d941324349d9952f91018 to your computer and use it in GitHub Desktop.
Save bmaupin/89eb730c3b7d941324349d9952f91018 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
# 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
@arulrajnet
Copy link

Install prerequisites as per the link

sudo apt install gdebi-core libxml2:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libatk-adaptor:i386

@bmaupin
Copy link
Author

bmaupin commented Feb 20, 2020

@arulrajnet

Install prerequisites as per the link

sudo apt install -f is supposed to take care of installing all the dependencies, and I prefer that method because it should work on different Ubuntu versions. Also some of those packages (like gdebi-core) aren't necessary.

But your comment helped me realize I was missing some critical steps so I added those.

Thanks!

@heeringa0
Copy link

Thanks for this wonderful script!

@DhavalsShah
Copy link

On Ubuntu 19.04,
I've executed this install-adobe-reader-9-ubuntu.sh script first, I can see that software installed but the adobe reader 9 doesn't get open. After executing command given command by
@arulrajnet

Install prerequisites as per the link
sudo apt install gdebi-core libxml2:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libatk-adaptor:i386

adobe reader 9 works like a charm! Thanks guys for this script and wonderful suggestion.

@ricardodeazambuja
Copy link

In my situation (Ubuntu 22.04) the only things I had to install to just make it work were:
sudo apt-get install libxml2:i386 libgdk-pixbuf2.0-0:i386
But it complains about canberra-gtk-module, atk-bridge and Unable to locate theme engine in module_path: .... I got hid of those installing:
sudo apt-get install libcanberra-gtk-module:i386 libatk-adaptor:i386 gtk2-engines-pixbuf:i386
The only warning message left behind was Unable to locate theme engine in module_path: "adwaita", but nobody seems to know the reason 😆

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