LinuxQuestions.org
Visit Jeremy's Blog.
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 01-02-2010, 11:21 PM   #1
javimd786
LQ Newbie
 
Registered: Dec 2009
Posts: 11

Rep: Reputation: 0
how to install total packages though yum command


how can i install total rpm packages in Server folder which is locket at /root/Server
 
Old 01-03-2010, 02:38 AM   #2
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
If you mean you want to run a command to install all the rpm packages in /root/Server. This is the command:
Code:
# yum localinstall /root/Server/*.rpm
If you get an error about missing GPG keys. You need to edit /etc/yum.conf and set gpgcheck=0.
I suggest reseting gpgcheck=1 once you're done as it is more secure that way.
 
Old 01-03-2010, 04:05 AM   #3
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,035

Rep: Reputation: 65
Quote:
Originally Posted by javimd786 View Post
how can i install total rpm packages in Server folder which is locket at /root/Server
Is it
Code:
su
password:
cd /root/Server
rpm -ivh *.rpm
 
Old 01-03-2010, 04:05 AM   #4
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,035

Rep: Reputation: 65
Quote:
Originally Posted by cola View Post
Is it
Code:
su
password:
cd /root/Server
rpm -ivh *.rpm
man yum
 
  


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 install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
Yum can't install packages mickeyboa Fedora 1 12-06-2009 12:38 PM
Using Yum To Install Packages Arty Ziff Linux - Newbie 4 12-30-2008 04:23 PM
Unable to install packages from DVD using YUM Mr. ameya sathe Linux - Enterprise 21 08-23-2008 05:16 AM
How to install packages from DVD with Yum? vlaki22 Linux - Software 1 09-02-2006 08:10 AM

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

All times are GMT -5. The time now is 01:11 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
Open Source Consulting | Domain Registration