Next, create a symbolic link to the Firefox executable with: sudo ln -s /opt/firefox/firefox /usr/local/bin/firefox Use the mv command to move this directory to /opt: sudo mv firefox /opt It will create a new directory named firefox in your current terminal directory. Then, use the cd command to move to the directory containing the downloaded file and unpack the contents of the archive using the tar command: tar xjf firefox-*.tar.bz2 If you want to automatically update Firefox whenever a newer version gets released, you will need to configure it by running:ĭownload the Firefox TAR.BZ2 package from the Firefox downloads page or use the following command to download the Firefox latest version (as of this writing) from the terminal: wget Now you can install the Firefox DEB package via APT: sudo apt install firefox ' | sudo tee /etc/apt/preferences.d/Mozilla Now create the file /etc/apt/preferences.d/mozilla using any text editor such as nano: sudo nano /etc/apt/preferences.d/mozillaĪdd the following lines to it: Package: firefox*Īlternatively, run the following command (all at once) in your terminal to perform the above steps: echo ' After adding the repository, update the repository index with: sudo apt update You may be prompted for admin credentials. If you get the "add-apt-repository: command not found" error, simply install the software-properties-common package to fix the issue. To add the Mozilla Firefox repository, run the following: sudo add-apt-repository ppa:mozillateam/ppa For this, you will need to add the Firefox PPA, give it priority over the Snap package, and then install Firefox using APT. If you don’t like the Snap version of Firefox, you can install the Firefox DEB package via APT. Install the Firefox DEB Package on Ubuntu There are multiple ways to install Firefox on Ubuntu. Snap is not the only installation method for Firefox on Ubuntu, however.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |