2. Copy downloaded file to /opt
3. Extract
- Code: Select all
# tar -jxvf firefox-x.x.xx.tar.bz2
4. Change permissions
- Code: Select all
# chown -R root:users /opt/firefox
# chmod 750 /opt/firefox
note: your user should be a member of the group "users"
- Code: Select all
# usermod -a -G users username
5. Create symbolic link
- Code: Select all
# ln -s /opt/firefox/firefox /usr/bin/firefox
6. Delete firefox-x.x.xx.tar.bz2 from /opt
7. Done
8. To install a new version:
- Code: Select all
# rm -rf /opt/firefox*
# rm /usr/bin/firefox
then repeat previous steps
Add a shortcut menu:
1. Create firefox.desktop file
- Code: Select all
# touch /usr/share/applications/firefox.desktop
2. Edit firefox.desktop (nano is used in this example, any editor will do):
- Code: Select all
# nano /usr/share/applications/firefox.desktop
contents of firefox.desktop:
- Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Mozilla Firefox
Comment=Browse the World Wide Web
Type=Application
Terminal=false
Exec=/usr/bin/firefox %U
Icon=/opt/firefox/icons/mozicon128.png
StartupNotify=true
Categories=Network;WebBrowser;