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.
first
tar -zxvf file.tar.gz (this unzips the archive)
cd newdir (go to the directory you just unzipped)
./configure (configure for your machine)
make (compile)
su root (become root user so have install permissions)
make install (install software)
.tar.gz is a compressed archive similar to .zip (usually called a tarball). These file usually contain the source code and you have to compile it yourself.
first you have to unpack it
Code:
tar -zxf filename
flags explanation:
z run through gzip filter
x extract
f force (like saying "just do it will ya")
probably this will create a folder similar to the filename but without .tar.gz
enter it
look for files called INSTALL, README or anything else interesting.
Follow any instructions in the files mentioned above.
Generally installation procedure is:
Code:
./configure
make
this will configure and compile the program. hopefully everything will work. If not you have to look at the error messages and try to fix it, this can be really hard.
Now you just have to install the program, this has to be run as superuser
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
tar just puts all the files end to end to make them
compress better with gzip. ANYTHING can be in a
tarball. source code that you want to compile. some
precompiled package you just have to extract. or some
precompiled package with it's own installer that you
have to run to install it. most often it is source code
that you have to compile to use. since things vary so much
you must read instructions inside to tarball or from
where you got it to know what to do. most websites
will list all the instructions. you will almost always
have to download a bunch of different stuff to get
something to work.
Originally posted by GŠutama .tar.gz is a compressed archive similar to .zip (usually called a tarball). These file usually contain the source code and you have to compile it yourself.
first you have to unpack it
Code:
tar -zxf filename
flags explanation:
z run through gzip filter
x extract
f force (like saying "just do it will ya")
probably this will create a folder similar to the filename but without .tar.gz
enter it
look for files called INSTALL, README or anything else interesting.
Follow any instructions in the files mentioned above.
Generally installation procedure is:
Code:
./configure
make
this will configure and compile the program. hopefully everything will work. If not you have to look at the error messages and try to fix it, this can be really hard.
Now you just have to install the program, this has to be run as superuser
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
with tar the "f" means file instead of device, not force.
tar is a command line application. enter in the terminal or console.
there are some frontends for it though.
with tar the "f" means file instead of device, not force.
tar is a command line application. enter in the terminal or console.
there are some frontends for it though.
know any names of them? I have alot to install and play with, and i nearly everythin i downloaded are tar gzips which seem to take the longest to intstall. waaaa. i want gui! its been too long since command lines for me... i want to click a mouse button! waaaa!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.