- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: question on yum or rpm
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2009 08:52 PM
тАО09-14-2009 08:52 PM
question on yum or rpm
new to RHEL /Linux , question on yum or rpm . If i need to install a s/w like "expect" , how do achive the following
- how do i know what dependent rpm i need to download for "expect" ?
- how to install them using yum (like using yum localhost ...)
- compiling from source is a big challenge for me as i know i probably be missing lots of other pkg like gcc etc
just confused with patch management . Its so easy with HP depot...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2009 09:52 PM
тАО09-14-2009 09:52 PM
Re: question on yum or rpm
Chapter 11 is for installing/updating packages.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2009 10:14 PM
тАО09-14-2009 10:14 PM
Re: question on yum or rpm
Any tips on how should i have gone about searching an rpm's and its dependents so i can install them easily.
this is what i downloaded (took many hours of googling )
expect-5.43.0-5.1.i386.rpm
expect-devel-5.43.0-9.fc8.i386.rpm
expectk-5.43.0-9.fc8.i386.rpm
tried rpm and yum localinstall but no luck . looks like something either wrong with my downloads or way of installing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2009 10:32 PM
тАО09-14-2009 10:32 PM
Re: question on yum or rpm
rpm -ivh expext....rpm
see man page for more details.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2009 01:14 AM
тАО09-15-2009 01:14 AM
Re: question on yum or rpm
# yum install expect
Yum will automatically contact RedHat's servers, find the latest available version of expect for your distribution, find out which dependent packages are needed, ask you if it's OK to download them too, and then automatically download & install everything.
Other distributions have their own repository servers on the Internet. If you can access them, you don't need to download anything manually.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2009 03:46 PM
тАО09-15-2009 03:46 PM
Re: question on yum or rpm
if the rpm file needs something before installing it will tell you some other package(s) are needed in order to install this package
or you can try this rpm -qpR ...rpm it will tell all packages needed to install it but it will provide you all of them so kinda big list the point is some of them are already installed but -ivh will tell which exactly are needed during installation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2009 04:04 PM
тАО09-15-2009 04:04 PM
Re: question on yum or rpm
rpm -ivh expect-5.43.0-5.1.i386.rpm
warning: expect-5.43.0-5.1.i386.rpm: V3 DSA signature: NOKEY, key ID 652e84dc
error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by expect-5.43.0-5.1.i386
This means now i need to find GLIBC_2.4 rpm . This is little painful . No easy way , except setting repo server and using RHN ?
Please excure me if some of my points are not making sense . Migrating from HPUX to RHEL is not fun . But i will get there .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2009 04:37 PM
тАО09-15-2009 04:37 PM
Re: question on yum or rpm
continuing rpm command or setting up a repo
just check this I looked for your
expect-5.43.0-5.1.i386
and see what I found
ok this does not mean you need to install all those packages first maybe some of them are already there but you know FYI
http://rpm.pbone.net/index.php3/stat/4/idpl/12379394/com/expect-5.43.0-5.1.i386.rpm.html
http://www.icewalkers.com/rpm/expect/fedora-core-6/download/expect-1780.html
bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2009 05:50 PM
тАО09-15-2009 05:50 PM
Re: question on yum or rpm
It will be easier than trying to install the files you downloaded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2009 10:19 PM
тАО09-16-2009 10:19 PM
Re: question on yum or rpm
first, you need to forget everything that you know, it probably doesn't apply to linux package management anyway.
second, be sure you have an internet connection, i'm guessing you don't have your own repository at present.
to answer your questions:
- how do i know what dependent rpm i need to download for "expect" ?
A: you don't need to, that is the job of the package manager to find out. you ask the package manager to install 'expect', he'll figure out everything else.
searching for packages use one of the following:
yum list
yum search
yum provides
these will display aavilable possible packages to install.
- how to install them using yum (like using yum localhost ...)
A: you shouldn't be doing that, get your packages from a repository. don't you have internet access? are you using RH without a license and no access to RH reps? if so, use CentOS. it's RH, but free and 100% compatible.
- compiling from source is a big challenge for me as i know i probably be missing lots of other pkg like gcc etc
A: don't do that unless you know what you are doing. which looks like you don't. learn to use a package manager first, read the documentation on it (meaning yum AND rpm) and then, perhaps, think about building your own packages.
see both warnings at the end of this page (it's about centos, but applies to ALL linux distros):
http://wiki.centos.org/PackageManagement/SourceInstalls