![]() So when I want to test I only have to run ffox-test and the active firefox version becomes v47.0.2. I don't think that's very comfortable so I created two bash aliases in my ~/.bash_aliases file: alias ffox-test='sudo rm /usr/bin/firefox & sudo ln -s /opt/firefox-47.0.2/firefox /usr/bin/firefox'Īlias ffox-std='sudo rm /usr/bin/firefox & sudo ln -s /opt/firefox/firefox /usr/bin/firefox' When we are finished testing we have to restore the old symbolic link: sudo rm /usr/bin/firefox & sudo ln -s /opt/firefox/firefox /usr/bin/firefox When we want to use v47.0.2 for testing we only have to replace the symbolic link in /usr/bin/firefox with something like: sudo rm /usr/bin/firefox & sudo ln -s /opt/firefox-47.0.2/firefox /usr/bin/firefoxĪnd then run tests. ![]() If you run firefox it should show you the v49.0.2 version. That let's our system ready for standard firefox usage. Sudo ln -s /opt/firefox/firefox /usr/bin/firefox For now let's create the standard usage link: # ensure that we remove any older link This is the key here as we will replace it depending on the version of firefox we want to use. Now it's time to create the symbolic link into our /usr/bin folder. If all went ok now we have two versions of firefox in our /opt folder: Note that we are using the SAME folder name # move v49 to its location inside /opt folder. This will create a firefox folder in your current folder Note that we are using a different folder name # move v47 to its location inside /opt folder. Now enter in the selected folder, extract both files and move them into subfolders in /opt: # enter the folder where you downloaded files I did that in my downloads folder but where you do it is not revelant while you remember where files are :) In my case I have a 64bits version and I selected the spanish versions of Firefox v47.0.2 (for testing) and Firefox v49.0.2 (for standard usage). So just go there and select which versions do you want to install. Mozilla publishes all the versions in their FTP: We will now download the versions we want to install locally. To uninstall your current firefox: sudo apt-get purge firefox We will do this to ensure that we start from scratch but you can try to skip this if you already have an updated version of firefox running and go ahead with the testing version setup. One old version used for testing and one updated used as my default browser.įirst we will remove our current Firefox version. So this will explain you how I managed to get two versions of Firefox installed on Ubuntu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |