Skip to content

Instantly share code, notes, and snippets.

@misuchiru03
Last active March 30, 2019 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save misuchiru03/a34138be1defed97e689c9db5382bff4 to your computer and use it in GitHub Desktop.
Save misuchiru03/a34138be1defed97e689c9db5382bff4 to your computer and use it in GitHub Desktop.
Adobe Reader installer for Void Linux
#!/bin/sh
# check if root
if [ $UID != 0 ]; then
echo "You need to be root to run this"
exit 0
fi
tmpdir=/tmp/Adobe
xbps-install -Sy libcanberra-gtk-32bit gtk2-engines-32bit libxml2-32bit gdk-pixbuf-xlib-32bit
mkdir -p ${tmpdir}
cd ${tmpdir}
wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i486linux_enu.tar.bz2
bunzip AbdeRdr9.5.5-1_i486linux_enu.tar.bz2
tar xvf AdbeRdr9.5.5-1_i486linux_enu.tar
cd AdobeReader
./INSTALL
rm -rf ${tmpdir}
echo "Adobe Reader installed!"
echo "Run acroread from command line OR select Acrobat Reader 9 from your applications menu."
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment