Hey Andreas, Sure -- yum is a package installer like apt.
yum --enablerepo=base --disablerepo=citrix install <PACKAGE> In my example I mentioned screen. This just means it disables the citrix updates repo and enables the base centos repo for searching for the desired package. Here's a better explanation by way of example, just check out what's in the available repos list. I did this on a dom0: cd /etc/yum.repos.d/ [root@vh04 yum.repos.d]# ls -al total 32 drwxr-xr-x 2 root root 4096 Sep 25 21:28 . drwxr-xr-x 62 root root 4096 Dec 13 10:13 .. -rw-r--r-- 1 root root 2020 Sep 25 21:28 CentOS-Base.repo -rw-r--r-- 1 root root 631 Aug 29 2011 CentOS-Debuginfo.repo -rw-r--r-- 1 root root 626 Aug 29 2011 CentOS-Media.repo -rw-r--r-- 1 root root 5390 Aug 29 2011 CentOS-Vault.repo -rw-r--r-- 1 root wheel 264 Sep 25 21:28 Citrix.repo *[root@vh04 yum.repos.d]# cat Citrix.repo * * * [citrix] name=XenServer 6.1.0 updates mirrorlist=http://updates.vmd.citrix.com/XenServer/6.1.0/domain0/mirrorlist #baseurl=http://updates.vmd.citrix.com/XenServer/6.1.0/domain0/ gpgcheck=1 gpgkey=http://updates.vmd.citrix.com/XenServer/RPM-GPG-KEY-6.1.0 enabled=1 *[root@vh04 yum.repos.d]# cat CentOS-Base.repo * # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # # [base] name=CentOS-$releasever - Base mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 exclude=kernel-xen*, *xen* enabled=0 [SNIP -- bunch more of the same ...] On Thu, Dec 13, 2012 at 1:28 PM, Andreas Hilboll <[email protected]> wrote: > yum --enablerepo=base --disablerepo=citrix install
_______________________________________________ Xen-api mailing list [email protected] http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
