LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-31-2006, 05:19 PM   #1
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Rep: Reputation: 30
Can YUM be used to installed locally downloaded RPMs?


How do I use Yum to install a RPM that I have downloaded, so that any dependency requirements can be automatically resolved by yum (by downloading the required dependency from the Internet)?

Thanks.
 
Old 03-31-2006, 05:51 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Actually, I think you mean YAST. Yes, right click the file and select install with YAST
 
Old 03-31-2006, 06:15 PM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
Quote:
Originally Posted by Akhran
How do I use Yum to install a RPM that I have downloaded, so that any dependency requirements can be automatically resolved by yum (by downloading the required dependency from the Internet)?
Yes; this usually works:
Code:
yum install whatever.rpm
also this syntax:
Code:
yum localinstall whatever.rpm
 
Old 03-31-2006, 07:43 PM   #4
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Original Poster
Rep: Reputation: 30
Would these two commands download all dependencies automatically from the Internet just as 'yum install packagename' would ?

Thanks!

Quote:
Originally Posted by spooon
Yes; this usually works:
Code:
yum install whatever.rpm
also this syntax:
Code:
yum localinstall whatever.rpm
 
Old 03-31-2006, 08:03 PM   #5
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
From man yum....

Quote:
localinstall
Is used to install a set of local rpm files. If required the
enabled repositories will be used to resolve dependencies.
You may have issues with the gpg key on home brew rpms. That can be disabled in /etc/yum.conf by changing this line from 1 to 0 (temp fix).
gpgcheck=1
 
Old 04-01-2006, 10:24 AM   #6
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Crap, I musta been tired. Spent some time helping a SuSE user through some stuff. Had YAST on the brain. LOL Sorry about that.

BTW, put your distro in your profile, it helps.
 
  


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
Reinstalling yum downloaded files linmix Linux - Software 1 04-16-2005 01:42 PM
Yast wont load my downloaded rpms barrythai Suse/Novell 5 03-21-2005 04:12 PM
using yum to install rpms - how? dingo_aus Linux - Software 9 07-01-2004 08:50 PM
re: verifying integrity of downloaded rh9 rpms ergo_sum Linux - Newbie 2 12-19-2003 12:34 PM
installing already downloaded RPMs with Synaptic Grimsdyke Linux - Software 4 09-18-2003 01:11 PM


All times are GMT -5. The time now is 07:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration