Find the answer to your Linux question:
Results 1 to 6 of 6
I can't figure out how to convert a "tar.gz" file into a Slackware ".tgz" install package. Please help!!...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! Carlwatkins's Avatar
    Join Date
    Nov 2006
    Posts
    99

    Help installing!


    I can't figure out how to convert a "tar.gz" file into a Slackware ".tgz" install package. Please help!!

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    you don't convert them like that.

  3. #3
    Just Joined! Carlwatkins's Avatar
    Join Date
    Nov 2006
    Posts
    99

    I know

    I know I can't install a package that compressed as a "tar.gz" file, I have to extract it first, than create a package file with "makepkg" (which as far as I know should make it into a "tgz" package), the only problemo is that so far (on Slackware Linux 10.2) when I use "makepkg" it turns it right back into a "tar.gz" package!! so maybe I using the wrong command but if I am please tell me what one I want to use!!


    C@RL

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2006
    Posts
    8
    when you unpack it using
    tar xvfz filenam.tar.gz
    it will make a separate folder, in which you will likely find a file titled "readme" or "install." By reading those, you will likely find out how to install by building it yourself, which is usually done by:

    make
    make install

  6. #5
    Just Joined! Carlwatkins's Avatar
    Join Date
    Nov 2006
    Posts
    99

    Talking Thanks!

    Thanks I got it working!

  7. #6
    Just Joined!
    Join Date
    Sep 2004
    Posts
    13
    hello
    you can use 'checkinstall' to convert tar.gz package in slackware package.

    but you don't directly convert them.

    Take any package with tar.gz (ie, source), you untar the *.tar.gz file and go in the uncompressed directory.

    then you give commands (for a normal install):
    ./configure
    make
    make install (as super user)

    BUT if you have 'checkinstall' installed (get it from linuxpackages.net) then you give the commands like:

    ./configure
    make
    checkinstall

    you will get a *.tgz package ready to install with 'pkgtool'.

Posting Permissions

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