[CentOS] Install php-imap using yum or any on CentOS 7

Wed Jul 30 13:43:15 UTC 2014
Dennis Jacobfeuerborn <dennisml at conversis.de>

On 30.07.2014 14:53, Giles Coochey wrote:
> On 30/07/2014 13:34, Vivek Patil wrote:
>> [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
>>
>> [epel-debuginfo]
>> name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
>> #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
>> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
>>
>> failovermethod=priority
>> enabled=1
>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
>> gpgcheck=1
>>
>> [epel-source]
>> name=Extra Packages for Enterprise Linux 7 - $basearch - Source
>> #baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
>> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
>>
>> failovermethod=priority
>> enabled=1
>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
>> gpgcheck=1
>>
>>
>> On 7/30/2014 5:46 PM, Reindl Harald wrote:
>>> [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
>>
> Your links are wrong, change them to
> <whateveryourmirroris>/pub/epel/beta/7/$basearch

Don't play with the repo files manually at all and instead install the
release package for the repo:

http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm

That way if anything changes in the repo config you get these changes
with the next update.

Regards,
  Dennis