LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 09-22-2007, 05:25 PM   #1
chennai
LQ Newbie
 
Registered: Sep 2007
Distribution: Fedora Core 7
Posts: 7

Rep: Reputation: 0
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.
 
Old 09-22-2007, 05:28 PM   #2
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
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
 
Old 09-22-2007, 05:30 PM   #3
Brian1
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: Reputation: 62
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
 
Old 09-22-2007, 06:04 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
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 06:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing rpm.bin files SpecialAgentR Linux - Software 5 06-01-2007 11:55 PM
Of .rpm and .bin files Gianfranco Linux - Newbie 1 10-18-2006 06:24 AM
How to install Creative soundcard driver and how to execute bin- and rpm-files znuggle Linux - Newbie 3 06-19-2005 08:21 AM
How do you install tar/gz files, and rpm files? Fear58 Linux - Software 6 02-14-2004 05:35 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 11:28 AM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration