LinuxQuestions.org
Help answer threads with 0 replies.
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 09-22-2009, 11:21 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
using yum to install packgae not on repository


How can I add a package to a repository that isn;t in dag wiers?
Dag has openvpn 2.0.9 but there are some problems with the indtallation plus config as I found on another thread. Their user group advised me to install the latest beta. I have the wget location but I have to use rpm to install it and that's a pain. I'd prefer to use yum and then I can just yum install the package.
Any ideas if I can just add the location to the yum config file?

ANyway, in the meantime I've untarred the file but I don't reallt understand the whole rpm -i stuff. yum is much easier.
 
Old 09-23-2009, 10:30 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,911
Blog Entries: 14

Rep: Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142
yum localinstall <package>.rpm

Type "man yum" for more details on how to use yum. The above should check for dependencies in your repositories. However, if the RPM didn't come from repositories then its possible it has dependencies that aren't available in those either.
 
0 members found this post helpful.
  


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
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. glowe Linux - Newbie 8 01-13-2016 10:55 PM
Unable to install packages from YUM repository ( RHEL5 ) saagar Linux - Newbie 7 01-07-2009 09:55 AM
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 02:19 PM
YUM: How to install package from a specific repository? Akhran Red Hat 1 04-16-2007 10:04 PM
install local dir as yum repository unixmad Linux - Newbie 2 10-01-2004 04:07 PM

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

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