LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-05-2004, 07:41 PM   #1
trophy
LQ Newbie
 
Registered: Mar 2004
Posts: 29

Rep: Reputation: 15
Installing Software


Hi,

How can I install software from a CD Rom?. Im using Redhat 9

Cheers
 
Old 10-05-2004, 07:58 PM   #2
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
What software and what form is it in?
 
Old 10-05-2004, 08:11 PM   #3
trophy
LQ Newbie
 
Registered: Mar 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Any software that ends in a .tar.gz, .rpm, .zip
 
Old 10-06-2004, 12:12 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Rep: Reputation: 136Reputation: 136
There are different procedures for RPM and TAR (source) installations.

RPMs are typically binary (unless specifically mentioned as source RPM) and they can be installed using the command)

Code:
rpm -Uvh packagename.rpm
In case you get dependency errors at this point, you might need to install other packages (depending on the dependency to correct the problem.

TAR.GZ are typically source installations (unless there is an install script which can vary from application to application).

To install programs via TAR.GZ, you need to

1. Unpack the archive into a directory.
2. chdir to the installation directory.
3. Issue the command
Code:
./configure
4. If configure runs without errors, issue the command.
Code:
make
and then if make runs without errors, issue
Code:
make install
These are all generic instructions of course, but you need to read the README or INSTALL file on the archive if there are any specific instructions given for your software.

Last edited by vharishankar; 10-06-2004 at 12:13 AM.
 
Old 10-07-2004, 06:16 PM   #5
trophy
LQ Newbie
 
Registered: Mar 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks,

I managed to install software with a .rpm extension, what do you mean by change to the installation directory when installing tar.gz software?
 
  


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 software ceborame Linux - Newbie 3 08-07-2005 02:00 PM
Installing software NomadABC Linux - Software 5 12-24-2004 02:14 PM
installing software spiky001 Linux - Software 5 09-11-2004 09:58 PM
Installing software sharpie Slackware 3 03-12-2004 01:16 AM
Question on installing software and starting software rootlinux Linux - Newbie 5 01-19-2002 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:28 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