LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 06: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, 06: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, 07: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-05-2004, 11:12 PM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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-05-2004 at 11:13 PM.
 
Old 10-07-2004, 05: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



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

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

All times are GMT -5. The time now is 11:05 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
Open Source Consulting | Domain Registration