LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-05-2007, 04:01 PM   #1
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Rep: Reputation: 15
software installation


Could someone provide an explanation on how to
install software in red hat linux in very simple
style. something like:

Step one : Download this package from the thiswebsite
Step two : copy to this directory
Step three: type this command
................................
and so on

I have a preinstalled red hat linux on my desktop.
Since I've never worked with linux before I feel
myself very cofused with the operating system.
Any your tips where and how to start with linux
would be greatly appreciated.

Thanks,
John
 
Old 12-05-2007, 04:35 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
There are smaller and bigger threads about this already, so you should use the search tool first.

A quickie:

1) RPM packages, which are native binary (non-source) packages for RedHat/Fedora:

- download the preferred file (suffix .rpm, check the filename so it says it's for your RedHat distribution!), for example from rpm.pbone.net
- double-click on it, and you should be prompted for a password, after which the package is either installed, or if there are unmet dependencies (or something), you are given a reason why the package cannot be installed at that time, and a list of what is missing
- if needed, find the depending packages mentioned in the previous step, install them and after that the package you wanted to

2) Package manager method - automatic dependency checking and fetching

- start your package manager application such as Yum on Fedora, select the package you want to install and click OK/Apply/Install/similar.

3) Source code

- download the package, right-click on it and select the extract command, extract the package (the way you extract Zip archives with WinZip, for example)
- read the README and INSTALL files from inside the package, they tell you what to do next

4) Other formats

- either double-click on them if it happens that your system can manage the format, or if it doesn't, you need to convert the package into a format your system understands (like rpm), or just get the package in .rpm format or source code.
 
Old 12-05-2007, 04:40 PM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Depends on which version of Red Hat Linux your talking about, things have changed with the release of Red Hat Enterprise Linux 5.

The two main ways are;

yum install foo
up2date install foo

Yes, it is that simple most of the time. Additional ways of installing applications are also possible, like installing from tar files and such. With the Red Hat family most just use up2date and/or yum depending on the version.

These sites may be helpful;

http://linux.about.com/od/commands/l...l8_up2date.htm
http://www.redhat.com/advice/tips/up2date.html
http://www.centos.org/docs/4/html/yum/
 
Old 12-05-2007, 05:56 PM   #4
LinuxCrayon
Member
 
Registered: Nov 2007
Location: Georgia, USA
Distribution: FreeBSD
Posts: 274

Rep: Reputation: 31
Also, if you don't know the exact package name (as I find is the case when I hear about a new package), the following will help find it:

Code:
yum search name
where name is the package's partial name.
 
Old 12-05-2007, 06:15 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Definitely use the pkg mgr if possible, saves you from dependency issues. Also, at least on RH Fedora, there's a menu option Add/Remove Software. Much the easiest option.
 
Old 12-07-2007, 07:03 PM   #6
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lenard View Post
Depends on which version of Red Hat Linux your talking about, things have changed with the release of Red Hat Enterprise Linux 5.

The two main ways are;

yum install foo
up2date install foo

Yes, it is that simple most of the time. Additional ways of installing applications are also possible, like installing from tar files and such. With the Red Hat family most just use up2date and/or yum depending on the version.

These sites may be helpful;

http://linux.about.com/od/commands/l...l8_up2date.htm
http://www.redhat.com/advice/tips/up2date.html
http://www.centos.org/docs/4/html/yum/
Thanks,

Unfortunately, I do not have "yum" command in my linux.
How can I get it ?


Thanks,

John
 
Old 12-07-2007, 08:51 PM   #7
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
I tried up2date install wine


The system response was

up2date install wine

Fetching Obsoletes list for channel: rhel-x86...

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------


The following packages you requested were not found:
install
wine

What does this mean ???????

Thanks,

John



Quote:
Originally Posted by Lenard View Post
Depends on which version of Red Hat Linux your talking about, things have changed with the release of Red Hat Enterprise Linux 5.

The two main ways are;

yum install foo
up2date install foo

Yes, it is that simple most of the time. Additional ways of installing applications are also possible, like installing from tar files and such. With the Red Hat family most just use up2date and/or yum depending on the version.

These sites may be helpful;

http://linux.about.com/od/commands/l...l8_up2date.htm
http://www.redhat.com/advice/tips/up2date.html
http://www.centos.org/docs/4/html/yum/
 
Old 12-08-2007, 10:41 AM   #8
LinuxCrayon
Member
 
Registered: Nov 2007
Location: Georgia, USA
Distribution: FreeBSD
Posts: 274

Rep: Reputation: 31
A five second Google shows you're using the incorrect syntax for up2date for one. The syntax for installing with up2date is:

Code:
up2date -i packagename
Also, Wine may not have been found because that is not how it is listed in the repository (or I think channel is what it's called for up2date). Read the man page or Google how to search for packages with up2date.
 
  


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
Installation Software for Custom Developed Java/Perl Software donkey123 Linux - Software 0 06-15-2005 06:26 PM
software installation kafnir Linux - Software 1 03-29-2005 11:01 PM
Software Installation sharadgana Linux - Software 1 12-16-2004 11:55 AM
Software Installation apocolpse Linux - Software 3 10-06-2004 05:30 PM
Software installation; where has it gone? sealevel Mandriva 1 09-08-2003 10:14 PM


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