Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-22-2007, 04:25 PM
|
#1
|
LQ Newbie
Registered: Sep 2007
Distribution: Fedora Core 7
Posts: 7
Rep:
|
How to install .tar.gz, .rpm, .bin, etc files
Hello guys...
I have just switched from Windows XP to Fedora Core 7. I am finding it diificult to install or uninstall any software.
I found the linux versions of some softwares in the form of .rpm, .bin and .tar.gz files. Could anybody suggest me what are the best ways to install these files? i.e. whether they should be opened with "Software Installer" or are there any better commands to get them installed?
I don't know anything about linux. Please try to explain clearly.
Thanks in advance.
|
|
|
09-22-2007, 04:28 PM
|
#2
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
to install .tar.gz
tar zxvf <filename>.tar.gz
cd <filename>
./configure
make
switch to root
make install
to install rpm files
as root run rpm -ivh <filename>.rpm
to install .bin files
./<filename>.bin
|
|
|
09-22-2007, 04:30 PM
|
#3
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
rpms install with the rpm command.
bin files are executable type files that usually run and installer.
tar files are archive files like zip. Extract and read the install readme docs on how to install. They sometimes differ as to what is needed to compile.
You can use google to search those terms and read about them.
Also the man command can help. Like for rpm command type ' man rpm '. One can learn a lot about commands and config files using the man command.
Brian
|
|
|
09-22-2007, 05:04 PM
|
#4
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
Fedora defaults to rpm packages, but like any other Linux distro, can also install .bin and .tar.gz files.
Rpm stands for RedHat Package Manager, and the files in installs have a .rpm extension. Somewhere in your system m
enu, you should find the GUI package manager. It should show you which files are available on the installation cd,
and flag which are installed. To install something not already installed, select it and click on Install/Apply/et
c, whatever the option button is. Dependencies for rpms on the cd should also be installed from the cd.
Rpm doesn't provide any more dependency resolution than that. If you download and try to install an .rpm from some
other source, you will have to resolve those depencency problems yourself.
There are other distros which are .rpm derivatives. Packages for those distros will not necessarily work in Fedora
. So, whenever possible, get your .rpms from a Fedora repository.
The alternative is .src.rpm. But that's a bit beyond you at this point.
.bin files are binary files. To install them, you must first make the file executable. In a console, cd (change directory) to the directory that contains the file, and issue this command: chmod +x <filename>.bin, where <filename
> is the name of the file.
Then, this command: ./<filename>.bin should run it.
.tar.gz files are source files in gzip compressed format. First you must uncompress the file, then unpack the file
, then cd into the folder it creates and compile the file. Most commonly, three commands: ./configure, make, make
install. You can do both unzip and unpack in one command with: tar zxvf <filename>.tar.gz.
You may occaisionally find one with other commands. In any case, after unpacking a .tar.gz, look for READ
ME and INSTALL files for instruction on how to compile and install.
Be advised that applications installed via .tar.gz don't update or upgrade as easily as .rpms. Tar is a old format
, and that functionality (update and upgrade) haven't bee added to tar.
~
Last edited by bigrigdriver; 09-22-2007 at 05:06 PM.
|
|
|
All times are GMT -5. The time now is 04:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|