LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 12-15-2010, 05:23 AM   #1
noony123
Member
 
Registered: Oct 2010
Posts: 167

Rep: Reputation: 0
How to install multiple packages using yum


Hi all.

I need to install almost 10 packages using yum. i know the package names. Is there any way to install them in one single command ?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-15-2010, 05:25 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,528
Blog Entries: 1

Rep: Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999
Code:
yum install package1 package2 package3......
...as long as you've got the correct names for them.

Anyway see the yum manual for more info.

Last edited by sycamorex; 12-15-2010 at 05:41 AM. Reason: punctuation and CODE tags missing.
 
2 members found this post helpful.
Old 12-15-2010, 05:25 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,458

Rep: Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941
Yum accepts multiple arguments, so just specify all of them on the command line:
Code:
yum install package1 package2 package3 ...
 
1 members found this post helpful.
Old 12-15-2010, 06:10 AM   #4
noony123
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: 0
Thanks a lot guys.
 
  


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
how to install total packages though yum command javimd786 Linux - Software 1 01-02-2010 11:29 PM
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


All times are GMT -5. The time now is 02:40 PM.

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