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.
|
|
12-05-2007, 04:01 PM
|
#1
|
Member
Registered: Dec 2007
Posts: 88
Rep:
|
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
|
|
|
12-05-2007, 04:35 PM
|
#2
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep:
|
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.
|
|
|
12-05-2007, 04:40 PM
|
#3
|
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:
|
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/
|
|
|
12-05-2007, 05:56 PM
|
#4
|
Member
Registered: Nov 2007
Location: Georgia, USA
Distribution: FreeBSD
Posts: 274
Rep:
|
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:
where name is the package's partial name.
|
|
|
12-05-2007, 06:15 PM
|
#5
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415
|
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.
|
|
|
12-07-2007, 07:03 PM
|
#6
|
Member
Registered: Dec 2007
Posts: 88
Original Poster
Rep:
|
Quote:
Originally Posted by Lenard
|
Thanks,
Unfortunately, I do not have "yum" command in my linux.
How can I get it ?
Thanks,
John
|
|
|
12-07-2007, 08:51 PM
|
#7
|
Member
Registered: Dec 2007
Posts: 88
Original Poster
Rep:
|
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
|
|
|
|
12-08-2007, 10:41 AM
|
#8
|
Member
Registered: Nov 2007
Location: Georgia, USA
Distribution: FreeBSD
Posts: 274
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:40 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
|
|