Results 1 to 6 of 6

Thread: how to install a software from .tar.gz

  1. #1

    Default how to install a software from .tar.gz

    how to install a software from .tar.gz
    Last edited by deano_ferrari; 15-Jan-2015 at 23:09.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,364
    Blog Entries
    3

    Default Re: how to install a software from .tar.gz

    It depends.

    Typically, one creates an empty directory.
    Code:
    cd "to the empty directory"
    tar zxpf /path/to/file.tar.gz
    That unpacks everything to the directory. Then one looks for a file named README in the top directory, or perhaps in a "doc" subdirectory.

    Before you start, check whether the software is already available in the opensuse repos or the open build system. If it is, then installing from there is usually a better plan.
    openSUSE Leap 15.1; KDE Plasma 5;

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,192
    Blog Entries
    1

    Default Re: how to install a software from .tar.gz

    These are compressed archive files (sometimes colloquially) that need to be uncompressed first. Then, the next steps depend on what is contained there. There is generally a 'readme' file that will provide the necessary steps. Sometimes, the software contained within needs to be built and compiled, and typical
    steps might include

    Code:
    ./configure
    make
    make install
    Or, it could be that an install script needs to run. It really does depend on the tarball payload. So, you should probably tell us more about what software you are trying to install. It may be that an openSUSE package already exists. Installing by .tar.gz file is usually the last resort, especially for new users.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,869

    Default Re: how to install a software from .tar.gz

    I feel urged to add that when the sequence ./configure, make, make install (or similar) is to be done, only the last one is to be done as root!
    Henk van Velden

  5. #5
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,043

    Default Re: how to install a software from .tar.gz

    On Fri, 16 Jan 2015 05:46:01 +0000, zainali95 wrote:

    > how to install a software from .tar.gz


    It depends. It would help us help you if you provided more information
    about which software you're trying to install, what version of openSUSE
    you're using, and other pertinent information.

    While a lot of times this implies compiling source code (which means you
    need to have development packages installed), often times there are
    alternatives.

    If you are asking this question, I'm pretty sure you're not likely to
    want to build something from source. You will probably find it a painful
    and frustrating experience if you're not familiar with what a .tar.gz is
    or how to unpack it.

    Jim
    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: how to install a software from .tar.gz

    On 2015-01-16 06:46, zainali95 wrote:
    >
    > how to install a software from .tar.gz


    By reading its instructions :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

Posting Permissions

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