Skip to content

Instantly share code, notes, and snippets.

@samirfor
Created February 27, 2018 13:10
Show Gist options
  • Save samirfor/304628517c8a83bc0e985f3b83c225cd to your computer and use it in GitHub Desktop.
Save samirfor/304628517c8a83bc0e985f3b83c225cd to your computer and use it in GitHub Desktop.
Installing Palemoon 32 bits on Manjaro Linux 64 bits
#!/bin/sh
set -e
echo "== Installing Palemoon 32 bits on Manjaro Linux 64 bits =="
echo
echo "Installing deps (lib32) ..."
echo
yaourt -S --noconfirm lib32-gtk2 lib32-dbus-glib bin-jre7
echo
echo "Downloading Palemoon 32 bits..."
wget -c "http://linux.palemoon.org/datastore/release/palemoon-27.7.2.en-US.linux-i686.tar.bz2"
echo "Extracting..."
tar jxf palemoon-27.7.2.en-US.linux-i686.tar.bz2
echo
echo "Linking libnpjp2.so (32 bits)"
sudo ln -s /usr/lib32/jvm/java32-7-jre/jre/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/
echo
echo "In Security tab, change level to \"Medium (less secure)\""
sleep 3
/usr/lib32/jvm/java32-7-jre/jre/bin/ControlPanel
echo
echo "On Palemoon, Tools > Preferences, Security tab, at Add-on security level, set Off"
cd palemoon
./palemoon &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment