Have you read the my reply on the other thread?
Originally Posted by ak331
As I said, there is no /user/home folder or /user/lib/firefox, you are mixing things.
The folders or files you are referring to are /home/ak331/firefox, /home/ak331/Desktop/firefox, /usr/lib/firefox and /opt/firefox-3.5. There is also /usr/lib/firefox-3.0.11 and possibly /usr/lib/firefox-3.5
Please notice that I have replaced all user above with ak331 or usr to avoid confusion. You should replace ak331 with whatever username you use to login on Ubuntu, whenever it appears in the codes below.
So, delete these folders and files:
Then run the command below to delete the file /usr/local/bin/firefox. This is a file path, not the same as the other firefox folders. This is because Linux doesn't need the extension most of the time, so when I write the path here it looks like a folder, but it is actually a file.
sudo rm -f /usr/local/bin/firefox
Then this command:
How to run commands in a Terminal:
Open "Applications >> Accessories >> Terminal", then type or paste the code (CTRL+SHIFT+V) and hit Enter
. You might be prompted to enter your password. You cannot see it while you type, but it is there. Then just hit Enter
again to run the command. Please do not run commands without knowing what they do. If you do not understand what a command does, ask for explanations.
Now run the following command:
sudo rm -fr /opt/firefox-3.5
Then change the path of the firefox launcher (I know you know how to do it) to this:
sudo apt-get purge firefox-3.5
Now click the Firefox launcher and check the version of Firefox. It should say Firefox 3.0.11. Basically we have reset all your changes.
Now, download this file and save in your home directory /home/ak331/
Don't put it inside any folder and don't extract it. Just save it there.
Then run this commands:
Click the Firefox launcher and check the version of it again, it should say Firefox 3.5
cp -R ~/.mozilla ~/.mozilla.backup
sudo tar -jxvf firefox-3*.tar.bz2 -C /opt
sudo mv /opt/firefox/plugins /opt/firefox/plugins.backup
sudo ln -s /usr/lib/xulrunner-addons/plugins /opt/firefox/plugins
sudo dpkg-divert --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox
sudo ln -s /opt/firefox/firefox /usr/bin/firefox