Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400
Rep:
tar.gz
Ok, so like %70 of files on the internet for Linux are "tar.gz" files. I can handle RPM's quite easily. But is there a way to make a "tar.gz" file a RPM? Or what exactly do I do with it?
Tar.gz files are compressed files, like .ZIP files, sortof. Normally you'd want to download them to a sensible place (I download mine to /home/gsewell/files/downloads) and then un-targz them. I usually use the ol' tar zxpvf something.tar.gz to do it. This creates a newdirectory (with the same name as the targz file) and unpacks all the files to it. If you go into that dir you should find files like README and INSTALL. These should detail how to install the software.
Oh, and quite often you'll also find .TAR.BZ files. To unpack these, you'd do the same, but replace the Z with a J.
for a good understanding of how to deal with tarballs (archives compressed by tar), read the man pages for the tar command. as Thymox pointed out, the tarball usually contains the source code for the application. to find out about installing the program, read through the INSTALL and README files that are included in the tarball.
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400
Original Poster
Rep:
Ooooooh this is neat!
Under Gnome I added the "tar.gz" extension under MIME and now when I double-click a "tar.gz" file it automatically extracts it to a directory. My only grip is that it extracts into my home directory, no matter where the file is. Is there a switch no make it extract where the file was saved?
tar -xzvf bob.tar.gz
cd bob
./configure
make
make install
please avoid following those directions as those are not always the case. especially when you need to configure an application with special instructions. also many times there may be a 'make test' or 'make check' or 'make clean' command you should run. please disregard mace's post and stick with what i said:
Quote:
Originally posted by GNUbie
to find out about installing the program, read through the INSTALL and README files that are included in the tarball.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.