글 수 369
https://software.opensuse.org/package/PlayOnLinux
Step-1 Download Required RPM.
Step-1 Download Required RPM.
Download the RPM file of EPEL Repo.
centos 6 32bit
wget http://mirror.premi.st/epel//6/i386/epel-release-6-8.noarch.rpm
centos 7 64bit
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
Step-2 Install the downloaded RPM
centos 6 32bit
rpm -ivUh epel-release-6-8.noarch.rpm
centos 7 64bit
rpm -ivUh epel-release-7-2.noarch.rpm
Step-3 Enable EPEL Repository.
vi /etc/yum.repos.d/remi.repo
Change Enabled 0 to 1
[epel] name=Extra Packages for Enterprise Linux 7 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/6/i386/$basearch mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Change Enabled 0 to 1
[epel] name=Extra Packages for Enterprise Linux 7 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Save & Exit
:wq
Step-4 Update yum list
yum list
RHEL/CentOS 7 64 Bit
## RHEL/CentOS 7 64-Bit ## # wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm # rpm -ivh epel-release-7-2.noarch.rpmRHEL/CentOS 6 32-64 Bit
## RHEL/CentOS 6 32-Bit ## # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm ## RHEL/CentOS 6 64-Bit ## # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpmRHEL/CentOS 5 32-64 Bit
## RHEL/CentOS 5 32-Bit ## # wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm # rpm -ivh epel-release-5-4.noarch.rpm ## RHEL/CentOS 5 64-Bit ## # wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm # rpm -ivh epel-release-5-4.noarch.rpmRHEL/CentOS 4 32-64 Bit
## RHEL/CentOS 4 32-Bit ## # wget http://download.fedoraproject.org/pub/epel/4/i386/epel-release-4-10.noarch.rpm # rpm -ivh epel-release-4-10.noarch.rpm ## RHEL/CentOS 4 64-Bit ## # wget http://download.fedoraproject.org/pub/epel/4/x86_64/epel-release-4-10.noarch.rpm # rpm -ivh epel-release-4-10.noarch.rpmHow Do I Verify EPEL Repo?
You need to run the following command to verify that the EPEL repository is enabled. Once you ran the command you will see epel repository.
# yum repolistSample Output
Loaded plugins: downloadonly, fastestmirror, priorities Loading mirror speeds from cached hostfile * base: centos.aol.in * epel: ftp.cuhk.edu.hk * extras: centos.aol.in * rpmforge: be.mirror.eurid.eu * updates: centos.aol.in Reducing CentOS-5 Testing to included packages only Finished 1469 packages excluded due to repository priority protections repo id repo name status base CentOS-5 - Base 2,718+7 epel Extra Packages for Enterprise Linux 5 - i386 4,320+1,408 extras CentOS-5 - Extras 229+53 rpmforge Red Hat Enterprise 5 - RPMforge.net - dag 11,251 repolist: 19,075How Do I Use EPEL Repo?
You need to use YUM command for searching and installing packages. For example we search for Zabbix package using epel repo, lets see it is available or not under epel.
# yum --enablerepo=epel info zabbixSample Output
Available Packages Name : zabbix Arch : i386 Version : 1.4.7 Release : 1.el5 Size : 1.7 M Repo : epel Summary : Open-source monitoring solution for your IT infrastructure URL : http://www.zabbix.com/ License : GPL Description: ZABBIX is software that monitors numerous parameters of a network.Let’s install Zabbix package using epel repo option –enablerepo=epel switch.
# yum --enablerepo=epel install zabbixvi /etc/yum.repos.d/playonlinux.repo[playonlinux]name=PlayOnLinux Official repository
baseurl=http://rpm.playonlinux.com/fedora/yum/base
enable=1
gpgcheck=0
gpgkey=http://rpm.playonlinux.com/public.gpgyum install playonlinuxyum install nc