X
Tap here to go to the mobile version of the site.

Support Forum

Terminal Commands to install Firefox from tar

Posted

I have Ubuntu 10.1 and want to install a new version of Firefox. I have downloaded the tar bz2 file from their website. I have it in my Downloads folder along with an extracted file folder Firefox. I guess I can remove the old version in Terminal with: sudo apt-get remove firefox. My question is, what Terminal command string do I use to install the new tar file? I guess it will have to point to the extracted folder or the tar file in my download folder.

I can run the new Firefox from the download firefox folder but it will not save any of my bookmarks when closed.

btw none of the older links work for install.

I have Ubuntu 10.1 and want to install a new version of Firefox. I have downloaded the tar bz2 file from their website. I have it in my Downloads folder along with an extracted file folder Firefox. I guess I can remove the old version in Terminal with: sudo apt-get remove firefox. My question is, what Terminal command string do I use to install the new tar file? I guess it will have to point to the extracted folder or the tar file in my download folder. I can run the new Firefox from the download firefox folder but it will not save any of my bookmarks when closed. btw none of the older links work for install.

Additional System Details

Installed Plug-ins

  • DivX Web Player version 1.4.0.233
  • The Videos 3.10.1 plugin handles video and audio streams.
  • This plug-in detects the presence of iTunes when opening iTunes Store URLs in a web page with Firefox.

Application

  • User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:39.0) Gecko/20100101 Firefox/39.0

More Information

John99 971 solutions 13138 answers

Your OS is EoL it is not supported so no doubt not updating any of your software. It sounds as though you have one or more versions of Firefox installed possibly the problem with bookmarks is that you are trying to share a Firefox profile with more than one Firefox version, that is not a good idea.

If you are able to upgrade to 12.04LTS or 14.04LTS that would be supported, and current Ubuntu LTS versions do update the distro's Firefox.

If you are unable to do that it is probably best to install the Mozilla Firefox. Once installed that will update easily from your package manager. The install instructions are here:

Your OS is EoL it is not supported so no doubt not updating any of your software. It sounds as though you have one or more versions of Firefox installed possibly the problem with bookmarks is that you are trying to share a Firefox profile with more than one Firefox version, that is not a good idea. If you are able to upgrade to 12.04LTS or 14.04LTS that would be supported, and current Ubuntu LTS versions do update the distro's Firefox. If you are unable to do that it is probably best to install the Mozilla Firefox. Once installed that will update easily from your package manager. The install instructions are here: *[[Install Firefox on Linux]] ** https://help.ubuntu.com/community/FirefoxNewVersion/MozillaBuilds

Question owner

Thanks for your reply John.

A lot of information I already knew. ONLY ONE VERSION INSTALLED but can run latest version from downloads folder.

The link posted for install has so many command strings that are confusing because you can't tell the command from comments. Tilda? what's that about.

Update will not work because of eol os.

Don't know where to find install manager software and was hoping there was someone who could tell me Terminal command strings to un-install old version and then install tar file in terminal mode.

Thanks for your reply John. A lot of information I already knew. ONLY ONE VERSION INSTALLED but can run latest version from downloads folder. The link posted for install has so many command strings that are confusing because you can't tell the command from comments. Tilda? what's that about. Update will not work because of eol os. Don't know where to find install manager software and was hoping there was someone who could tell me Terminal command strings to un-install old version and then install tar file in terminal mode.
John99 971 solutions 13138 answers
ONLY ONE VERSION INSTALLED

You will have Ubuntu's Canonical Firefox already installed. In addition you now appear to have a newly downloaded version that you have extracted somewhere.

can't tell the command from comments. Tilda?

There is usually a subtle change in the fonts used, or commands are in separate boxes.

The tilda is shorthand and an abbreviation for the home directory of the user. It often works when typed in instead of the full path.

cd /

Will change directory to root

cd ~

Will cd to your home directory

Note also dots have special meanings, including Single dot (besides being a separator in path and filenames) hidden: When in front of a directory name in a listing it indicates the directory is a hidden one The Mozilla Firefox profiles will be within a hidden folder .mozilla Think of as Here: so a single dot can be used to mean the current folder That is sometimes used to specifically run a script or command from the current location. The distinction may be important when there are multiple Firefox versions. Debian calls its Firefox equivalent iceweasel so but in Ubuntu once you have Mozilla Firefox you have two separate Firefox's

Double dot above means the directory above so

cd ..

cd s to the directory one level up

This will help you understand the use of the terminal

I am not sure you even need to use the terminal to install Mozilla Firefox on Ubuntu. I will try to check next time I use Ubuntu.

<blockquote>ONLY ONE VERSION INSTALLED </blockquote> You will have Ubuntu's ''Canonical'' Firefox already installed. In addition you now appear to have a newly downloaded version that you have extracted somewhere. <blockquote>can't tell the command from comments. Tilda? </blockquote> There is usually a subtle change in the fonts used, or commands are in separate boxes. The tilda is shorthand and an abbreviation for the home directory of the user. It often works when typed in instead of the full path. cd / Will '''c'''hange '''d'''irectory to root cd ~ Will cd to your home directory Note also dots have special meanings, including Single dot (besides being a separator in path and filenames) '''hidden''': When in front of a directory name in a listing it indicates the directory is a hidden one The Mozilla Firefox profiles will be within a hidden folder .mozilla Think of as '''Here''': so a single dot can be used to mean the current folder That is sometimes used to specifically run a script or command from the current location. The distinction may be important when there are multiple Firefox versions. Debian calls its Firefox equivalent iceweasel <s>so</s> but in Ubuntu once you have Mozilla Firefox you have two separate Firefox's Double dot '''above''' means the directory above so cd .. cd s to the directory one level up This will help you understand the use of the terminal * '''https://help.ubuntu.com/community/UsingTheTerminal''' I am not sure you even need to use the terminal to install Mozilla Firefox on Ubuntu. I will try to check next time I use Ubuntu.

Modified by John99

Question owner

I want to know if there is a terminal command to install the tar.bz2.

I want to know if there is a terminal command to install the tar.bz2.
John99 971 solutions 13138 answers

tmhillard said

I want to know if there is a terminal command to install the tar.bz2.

That is not a simple one liner and is why I linked to other documentation in my other posts.

A tar.bz2 is a set of compressed files and so it needs extracting. Then you need to examine its contents. If it is intended to be installed it will often include instructions and need a series of steps and possibly sorting out dependencies. That in itself may cause difficulties, then the manually installed software may well not be easy to update - important for something like Firefox that has major updates every six weeks and could have other additional security or bug fix updates on top of that.

''tmhillard [[#answer-845659|said]]'' <blockquote> I want to know if there is a terminal command to install the tar.bz2. </blockquote> That is not a simple one liner and is why I linked to other documentation in my other posts. A tar.bz2 is a set of compressed files and so it needs extracting. Then you need to examine its contents. If it is intended to be installed it will often include instructions and need a series of steps and possibly sorting out dependencies. That in itself may cause difficulties, then the manually installed software may well not be easy to update - important for something like Firefox that has major updates every six weeks and could have other additional security or bug fix updates on top of that.
cor-el
  • Top 10 Contributor
  • Moderator
17578 solutions 158993 answers

Chosen Solution

See also: *http://kb.mozillazine.org//Installing_Firefox#Linux
James
  • Top 25 Contributor
  • Moderator
1602 solutions 11336 answers

tmhillard said

I want to know if there is a terminal command to install the tar.bz2.

It is basically an archive. You extract it and run the firefox script to start Firefox. No installers or packages like rpm or deb involved.

If you are the only user and to make read/write permissions for Firefox updates easier just put the Firefox folder in home.

''tmhillard [[#answer-845659|said]]'' <blockquote> I want to know if there is a terminal command to install the tar.bz2. </blockquote> It is basically an archive. You extract it and run the firefox script to start Firefox. No installers or packages like rpm or deb involved. If you are the only user and to make read/write permissions for Firefox updates easier just put the Firefox folder in home.