Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Installing a .tar.gz file

  1. #1

    Default Installing a .tar.gz file

    I have not been able to find a concise answer to my question, though I am sure it exists.

    The question is, how do you install a tar.gz file?

    System: openSUSE 11.3 (i586)
    KDE: 4.4.4 (KDE 4.4.4) "release 3"

    I am trying to install firefox 2.0 from a tarball, but haven't been able to suss out how to do it.

    THe other question I might have is. . .How do you uninstall a program?

    any help would be greatly appreciated.

    (As you may have guessed, I am not well versed in Linux, so please bear with me.)

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Installing a .tar.gz file

    To extract the files from a tarball, use

    tar -xvf archive.tar.gz

    You say Firefox 2.0, I'm sure you mean FF 4.0, no? Or 3.6? You can find these in the Mozilla repositories in the OBS, there's no need to install from the tarball.

  3. #3

    Default Re: Installing a .tar.gz file

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Just to add a bit more to your original question, .tar.gz files are not
    really every installed in the sense you likely mean. Some files like RPMs
    or PKGs are "installed" because the distribution has a system (a package
    management system) to manage the packages. .tar.gz just means the data
    are .tar'd and then gzip'd but the contents could be anything. Shipping
    software in this way implies it will not be installed in a package
    management system which is confusing if you want it "installed" in a way
    native to the system, but nice if you want the single bundle of software
    to work on more than one distribution (for example, on those that do not
    support RPMs or PKG, etc.). Also not that .tar.gz or .tgz (same thing)
    files will sometimes contain source code in which case the "installation"
    involves compiling the software as well. The files could also contain any
    other data not meant to be "installed", which is why your question was
    likely not easily answered via Google (because it isn't really answerable
    in any single way, and Mozilla probably has the best steps since this file
    came from them).

    Good luck.





    On 11/07/2010 05:36 PM, chief sealth wrote:
    >
    > To extract the files from a tarball, use
    >
    > -tar -xvf archive.tar.gz-
    >
    > You say Firefox 2.0, I'm sure you mean FF 4.0, no? Or 3.6? You can find
    > these in the Mozilla repositories in the OBS, there's no need to install
    > from the tarball.
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJM10dsAAoJEF+XTK08PnB56hcQANMMfr51x7g2Kg4neU4jd/KT
    XVMhomQ/W8+mcHADfW160BIL1XyxCVUTMfB7hm6kB/orTOzYX0WbP3Qgef/p665k
    rAWPNZCRpBjSxMvGlF7flJnh5xaBItQug6PtcFxzxVoXpu6sqmbaBf2JZYO3Ng2h
    ZHtc9HbtSzbAJmbbTpRg9NgqTXTEBRJoRhGOV8WXj16SyFnv9chamrVY0jLh+G5F
    MxvcMvTEBJqePfD1C8S+Rq8hVmRK74b93DbUDgJN/nWSICoDT0a6IW9tTBvU/U2S
    i/2gi1n7l8UTqlrQX077ZDqy0iTBPT/jyc/MBvwmW6afZSlQkmwCmNArh4ikdfVs
    u3UjBdZxNXagzDA5ep42aywJddo5EiiL9HPzpoMKAxtTL4ir5skdMXLFGrBaency
    n7ZqekihrTfRfv5iPqybU0yvIakiGuYHWw6da2pWgCG9Dzu845/lbF3+9fJTgkwT
    Uo+GBpt4RMWECBq23jF7LdNkdw5fHea5p3Mu1YujQK7X3aRIRIP73ueT13CsA/7x
    7ip+IagrHhE+4fkCClzLH8t0YkvfzOQLGzizu6OPWuLbWscRuGrPcZsNwIEn7HHr
    xR/9kf1X93e03VwmtFLua/Aq12jsDwvnPUzn177dcNRrnGMSwLKFie8U/bTfM48D
    cCIDc043EyrJvRMiSzsn
    =aTU8
    -----END PGP SIGNATURE-----

  4. #4

    Default Re: Installing a .tar.gz file

    as i recall all the firefox packages are PREBUILT ( however the OLD ff1 and 2 might be source)
    there is no compiling .They are self contained

    HOWEVER the VERY VERY old an no longer supported firefox 2 ???
    I do not think will run on a modern suse install

    what is wrong with the suse already installed Firefox ????



  5. #5

    Default Re: Installing a .tar.gz file

    Thanks for the replies. I am trying to run a script that works on Firefox 2.0, but not on any of the newer versions.

    I ran it in OpenSUSE 10.1, several years ago, but cannot remember how I installed it, whether it was from a repository or installed in another way.


    I was able to extract the file, which allowed me to see that there was a shell script installer within the package. It is now installed, but for future reference, what is the general method one would go about installing something from a .tar.gz file? you would abviously extract the file, but I know not all the packages come with a script installer, so how do you figure out where to go from there?

  6. #6
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Installing a .tar.gz file

    Quote Originally Posted by CMDEvans View Post
    Thanks for the replies. I am trying to run a script that works on Firefox 2.0, but not on any of the newer versions.

    I ran it in OpenSUSE 10.1, several years ago, but cannot remember how I installed it, whether it was from a repository or installed in another way.
    Why are you still using 10.1?

    I was able to extract the file, which allowed me to see that there was a shell script installer within the package. It is now installed, but for future reference, what is the general method one would go about installing something from a .tar.gz file? you would abviously extract the file, but I know not all the packages come with a script installer, so how do you figure out where to go from there?
    The tarball should contain a README and an INSTALL file. These will usually provide instructions. In the case of Firefox, as John says it is self-contained, and you should be able to run it immediately in the extracted directory.

  7. #7

    Default Re: Installing a .tar.gz file

    I am not using 10.1. I used 10.1 several years ago.

  8. #8
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Installing a .tar.gz file

    Then what are you doing installing FF 2.0?

  9. #9

    Default Re: Installing a .tar.gz file

    Quote Originally Posted by chief_sealth View Post
    Then what are you doing installing FF 2.0?
    Quote Originally Posted by CMDEvans View Post
    I am trying to run a script that works on Firefox 2.0, but not on any of the newer versions.
    The script I referenced apparently runs firefox, but does not install it. SO now I am sortof at a loss as to where to go from here. What sort of file should I be looking for to install the program? a .bin file?

  10. #10
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Installing a .tar.gz file

    Sorry for missing your first message. You will find a Firefox shell script or binary executable in the FF root directory. This will start FF2.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •