Saturday, January 11, 2014

Linux Package management

Package management using yum
----------------------------------------------

I have multiple repository configured on my CentOS. Few online repositories and one local repository with all the packages from CD

Below command is to install package from one specific repository

yum --disablerepo="*" --enablerepo="ius" list available

 yum --disablerepo="*" --enablerepo="local" groupinstall "KDE desktop" local

where "local" is the repository name.

Skip dependency -

yum --disablerepo="*" --enablerepo="local" groupinstall basic-desktop desktop-platform x11 fonts --skip-broken 

No comments: