LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 02-09-2015, 07:09 PM   #1
chuikingman
Member
 
Registered: Aug 2009
Posts: 91

Rep: Reputation: 16
install full/complete set package/rpm in Cenots by yum


Hi,
I understand there is yum command to install package in Centos.
But if I want to install full/complete/all package/rpm in the respo auto by yum command . What is the command I need to type .
 
Old 02-09-2015, 08:17 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
have you read the manual ?
Code:
su -
man yum
---- then the help page ---
yum --help
then you will see the "grouplist" and "groupinstall"

have a look
Code:
su -
yum grouplist 

---- then from that list install the group -----

yum groupinstall "Development Tools"
 
Old 02-09-2015, 08:18 PM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

you can't install all packages in the repository since some conflict with each other (and even if you could I don't imagine that this is really something that you need to do). Perhaps you could tell us the bigger picture - what are you actually trying to achieve?

Evo2.
 
Old 02-09-2015, 08:46 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
In a nutshell a package is a complete program including configuration files, man pages etc. For example the command:

yum install evince

Will install the package evince (PDF reader) including dependencies if missing. A group are several packages bundled together. The desktop is an example of a group.

http://www.tecmint.com/20-linux-yum-...age-mangement/

There isn't a simple way to install all packages in a repository using yum. You would need to create your own repo and group everything together. Something like the following but will not install dependencies if outside the repository.

yum --disablerepo=\* --enablerepo=repo_name install \*

Last edited by michaelk; 02-09-2015 at 08:48 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Full dependency list via RPM/YUM g3kk0 Red Hat 3 09-05-2011 04:18 PM
A complete Software listing for a RHEL5 box (NOT an RPM/package dump) the_unforgiven7352 Red Hat 3 08-31-2010 06:27 PM
Remote installation of rpm package (Using YUM) Uday123 Red Hat 7 11-13-2009 06:07 PM
Remote installation of rpm package (Using YUM) Uday123 Linux - Software 1 11-11-2009 06:31 AM
how to set proxy for rpm and yum sammy11 Fedora 4 11-29-2006 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

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

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