0

I have downloaded "waterfox-G4.0.6.en-US.linux-x86_64.tar.bz2" to my usual Downloads directory on a laptop that was running Ubuntu 18.04 LTS. That machine has been upgraded with Ubuntu 20.04 and then 22.04. So I still want to install the Waterfox G4.0.6 -- the package has not changed at all in the day or so it took me to make Ubuntu reasonably current.

I guess what puzzles me most is how a "package" can be just about anything according to some of the answers to similar questions (on this site) about installing Waterfox or other software all wrapped up as a .tar.bz2 file or something similar.

Practical solutions to installing "waterfox-G4.0.6.en-US.linux-x86_64.tar.bz2" on Ubuntu 22.04 would be very helpful.

muru
  • 207,228
TMG
  • 1

1 Answers1

3

From the folder that you have downloaded waterfox-G4.0.6.en-US.linux-x86_64.tar.bz2 do the following to extract the contents:

tar xvf waterfox-G4.0.6.en-US.linux-x86_64.tar.bz2 

Then enter the folder that was created

cd waterfox

Now create a folder that you are going to place Waterfox in:

sudo mkdir -p /opt/waterfox

and copy all the contents of the waterfox folder that you are in to the newly created folder

sudo cp -rav * /opt/waterfox/

After the files are copied, create a link to Waterfox in the /usr/bin folder so you can launch it command line

sudo ln -s /opt/waterfox/waterfox /usr/bin/waterfox

Now go to your local applications folder:

cd ~/.local/share/applications/

and create a Waterfox.desktop file with the following contents in it:

[Desktop Entry]
Version=1.0
Type=Application
Name=Waterfox
Comment=Waterfox
Exec=/opt/waterfox/waterfox %u
Icon=/opt/waterfox/browser/chrome/icons/default/default64.png
Path=
Terminal=false
StartupNotify=false
Categories=Application;Network;Security;

Make sure the permissions are correct to the file chmod 644 Waterfox.desktop

And now you should have Waterfox in your menu under Internet.

Hope this helps!

Terrance
  • 43,712