YUM is an open-source command-line package-management utility for RPM-compatible Linux operating systems.

learn more… | top users | synonyms

6
votes
2answers
3k views

Installing a third party application package on CentOS 6.4 fails due to missing dependencies libcrypto.so.10 and libssl.so.10

This is a Canonical Question about OpenSSL binary compatibility issues between Red Hat Enterprise Linux (and its derivatives) 6.4 and 6.5. This issue applies to a wide variety of third party ...
52
votes
11answers
49k views

How to know from which yum repository a package has been installed

After I have installed a package by yum (with multiple repository configured), how can I found from which repository it has been installed? If I run yum info package name (or yum list package name), I ...
15
votes
3answers
28k views

How do I upgrade to the latest PHP version in CentOS with yum?

I found some blog posts about this, but it's rather lack of descriptions on possible side effects. I could really use some detailed on these steps: How to add a repo that provides PHP 5.4 into yum ...
4
votes
3answers
1k views

Update Red Hat Enterprise Linux's Packages Only To Specific Point Release

Let's say that I have one RHEL6.2 64bit server running. Current latest version available is 6.4. Running "yum update" will update my server up to 6.4 straight away. What if I want to update only to ...
5
votes
2answers
11k views

Install libxml2 2.7.X on CentOS 5.X

CentOS ships with libxml2-2.6.26. I have to install at least 2.7.X version. I downloaded RPMs for libxml2, libxml2-devel and libxml2-python (2.7.8) from XMLSOFT (http://xmlsoft.org/sources/). I am ...
2
votes
4answers
6k views

How can I keep the RHEL version static (e.g. RHEL 5.1)?

For compatibility with a program : I need to keep one of our servers in a specific version, for example rhel 5.1 I would like to keep it as updated as possible, but not to change versions. What ...
0
votes
2answers
777 views

How to install yum on Fedora Core 6

I have searched in google but have found no result and have been unable to install it yet. I want to install yum on fedora core 6 on my server to install ffmpeg and ffmpeg-php. How can i install it ...
5
votes
2answers
2k views

Caching proxy for yum and debian repositories

Does a caching proxy for yum exist, similar to approx for Debian repositories? Is there a way to have reprepro behave the same as approx? I have heard that approx was not as stable; besides, I would ...
7
votes
2answers
4k views

Why do I have .rpmnew file after an update?

I use yum to update my Fedora. After a huge update, I got many .rpmnew and .rpmsave files. I could understand if I had modified these files. But I'm sure that I didn't edit these files. What should I ...
5
votes
1answer
2k views

How do I migrate from RHEL 5 to CentOS 5?

I've found myself in charge of installing some software on an old server running RHEL 5. Unfortunately, since it's just a development server now, it no longer rates a license. I'd like to continue ...
0
votes
1answer
1k views

Puppet yum repo - Pull down 2.7.x vs 3.0.x

So a few weeks ago I started on the path to using puppet to automate all the configs/services. At the time I was using the EPEL repo, which installed version 2.6.x. After some reading I was trying to ...
4
votes
5answers
7k views

yum “ Segmentation fault” in centos

While using yum commands in a centos server(2.6.18-194.el5PAE #1), it throws 'Segmentation fault'. [root@server2 ~]# yum check-update Loaded plugins: fastestmirror Loading mirror speeds ...
3
votes
3answers
4k views

Yum doesn't update httpd past version 2.2.3 on centos

I have a fresh CentOS vps (CentOS release 5.4 (Final)), and yum installs Apache/httpd version 2.2.3 but 2.2.14 is the latest release. Why doesn't yum install more recent updates?
1
vote
2answers
372 views

Installing php-fpm over php version missmatched

I have PHP installed by yum from the base @updates repository on Centos 6.3: php x86_64 5.3.3-14.el6_3 @updates 3.5 M I would like to install php-fpm version 5.3 because our web software works ...
1
vote
5answers
904 views

linux install without yum or gcc

Hulo All, Linux newb here. I just ssh'ed into my first shiny new CentOS virtual server to install a LAMP stack. No yum, so I had to install yum. Yum needs gettext, so it got gettext. Gettext ...
0
votes
2answers
621 views

Linux Server eating all my memory

I run all of my websites on a 512MB dedicated virtual server, which up until now has served me very well. On 10 Jan, for some unknown reason my memory consumption went up from averaging around 50% to ...
0
votes
1answer
293 views

Yum Update fails due to conflicting perl packages

I have a CentOS 5.2 i386 Production box with Qmail, LAMP etc now since it showed me that it could upgrade to 5.3, i downloaded all the packages using yum update However, the update fails due to perl ...
23
votes
5answers
36k views

How to install git to red hat enterprise linux 5.3 x64?

How can I configure yum to use some repository which has git rpms?
7
votes
9answers
4k views

Is there any decent repositories for CentOS or Fedora?

I'm known as a hater of RPM/Yum based OS, just because i think their lacking of decent package repositories (at least for recent software). While in Debian/Ubuntu, there are a lot of good ...
13
votes
3answers
15k views

Is there a way to install Apache Bench (ab) without installing apache

Can you provide instuctions on how to install ab on a fedora distro with or without installing the apache web server? With yum or compiling from source.
2
votes
2answers
11k views

CentOS Insufficient space in download directory /var/cache/yum/base/packages

I was trying to yum install libpcap when I got Error Downloading Packages: 14:libpcap-0.9.4-15.el5.i386: Insufficient space in download directory /var/cache/yum/base/packages * free 0 * ...
2
votes
2answers
13k views

How-to: add an ISO/DVD of RHEL to the Repository list under Gnome for installing packages

I want to add the original ISO I installed RHEL from as a repository under the Add/Remove Software tool in Gnome. How do I do this? To clarify, I know what I need to do (add a repository) - I need ...
15
votes
2answers
12k views

What does that mean: packages excluded due to repository priority protections

When updating with yum i recieve the following message: yum update Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * atomic: www7.atomicorp.com * base: ...
7
votes
2answers
18k views

yum equivalent of “apt-get purge”

I want to reinstall a package on CentOS and start from scratch. In Debian, I can do a apt-get purge foo and it'll remove all config files for foo. yum remove foo doesn't remove the config files. Is ...
3
votes
1answer
183 views

How to create a yum repository

Wondering how to create our own CentOS 5 based yum repository? Basically, we want to make rpm packages and then be able to do things like: yum install our-custom-package yum remove our-custom-package ...
2
votes
2answers
2k views

CentOS - Yum - Specify Mirror

Is it possible to specify a mirror for YUM to target when doing updates? I've noticed on my CentOS 6.2 servers that it takes up to a minute for YUM to respond from a given command. I did some Googling ...
2
votes
2answers
765 views

How can I verify which repository a package resides on in Centos?

I'd like to know which Centos repositories various packages are available at. Is there a directory somewhere? I tried googling it and didn't find anything.
0
votes
2answers
1k views

How to keep SpamAssassin up to date under CentOS?

I am running CentOS 5.4 with SpamAssassin installed via yum. However the version yum installed was SpamAssassin version 3.2.5 and I am finding that this version has many outdated rules -- including a ...
7
votes
1answer
8k views

tell yum to ignore a single dependency

I'm trying to install winswitch on CentOs 6. It requires 'nxagent'. But in centos, the package name is 'nx'. Is there a way to tell yum to skip checking the 'nxagent' dependency (i installed 'nx' ...
5
votes
3answers
9k views

Howto install php 5.2.17 on centos 6 x86_64

Does anyone know how to install php 5.2.17 on a 64bit centos 6 install? I've got a old legacy system that requires php 5.2.17, but centos 6 only supports php 5.3. I've installed repo's such as ...
4
votes
2answers
3k views

Rollback YUM package

What's the best (ie foolproof and easy) mechanism for rolling back an rpm update using YUM? I've not come across the problem where I upgrade something and later find I want to downgrade it, but I'd ...
3
votes
3answers
1k views

RHEL 6.3 Upgrading OpenSSH & Apache

We just ran an external security scan from 403Labs against one of our servers (RHEL 6.3 x86_64) for PCI compliance and the results appeared to mainly dictate that we had a hand full of applications ...
3
votes
2answers
6k views

How can I downgrade my version of PHP?

Just created a new Fedora VM and it has PHP 5.3 loaded, and I have legacy code that references functions that are now deprecated ( e.g. eregi() ). How can I downgrade my PHP install from 5.3 to ...
3
votes
1answer
2k views

How can I completely remove X-Windows from Fedora?

A while ago I installed my first Linux server using Fedora 10. I then upgraded to Fedora 11 and realized that I never use X-Windows on the machine, and during each update downloading a huge amount of ...
2
votes
2answers
2k views

Update PHP with yum on Amazon Linux

I have Amazon Linux on EC2, AMI 2013.09. I followed the LAMP install tutorial, http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html, and ended up with PHP5.3 installed. In answer to ...
2
votes
4answers
2k views

CentOS - PHP - Yum Install with Custom ./configure params

I have successfully configured and compiled php on my dev server, and works great, but after talking to a sysadmin buddy, he informed that custom compiles of the latest builds are not recommended for ...
2
votes
3answers
3k views

How to force CentOS yum to use a later version of a package dependency already installed (php-common as a dependency of php-xml)

It would appear that the version I have of php-common-5.2.10-1.el5.centos is newer than the one being asked for as a dependency of php-xml when I try to install php-xml using yum install php-xml. The ...
1
vote
2answers
4k views

php-xml install complains of dependency php-common but this is already installed (CentOS)

How do I force php-xml to see the already installed dependency? sudo yum install php-xml complains about: php-common = 5.1.6-34.el5_8 but running yum install php-common ...
1
vote
2answers
150 views

How can I tell what rpms are managed outside of yum? [closed]

I am inheriting a Centos 5 box and I'd like to get an idea of what rpms have been installed outside of yum. Bonus: How can I audit that RPMs installed with yum to make sure that they are not ...
0
votes
1answer
676 views

Elastix Upgrade fails CentOS yum missing dependency with libwat, libgsmat, and libss7

I upgraded a year old vanilla Elastix box using yum update and yum upgrade. Almost 400 packages updated but a few of them failed, including asterisk. At present the switchboard is working but I can't ...
0
votes
2answers
693 views

Puppet - Update packages on repo installation

I am attempting to have puppet (0.25.5-1.el5) update an already installed package when a new yum repo gets installed. The basic image we have has package X installed at version 1.1 by default. In ...
0
votes
1answer
8k views

Tomcat 6 on Centos 5 - only RPMs

I'm going through the exercise of setting up Tomcat 6 on CentOS 5 using RPM packages. Right now I'm stuck with old versions of tomcat5-jsp-2.0-api and tomcat5-servlet-2.4-api-5.5.27-7.jpp5, since they ...
11
votes
3answers
7k views

Installing Fedora RPMs in CentOS

How safe is it to install Fedora RPMs in CentOS 5? Does it depend on the version of the Fedora RPM or is it generally better to steer clear?
8
votes
4answers
3k views

How to upgrade Apache from 2.2.3 to 2.2.21

Using YUM I installed apache. Installed apache version is 2.2.3 Our security guy wants that we use 2.2.21 apache When I try yum update 'httpd' nothing happens - No Packages marked for Update I ...
6
votes
5answers
4k views

Yum doesn't install latest version of Git on Centos6

When I go to Gits download section it mentions that latest version is 1.8 and I can install it by yum install git on Fedora. I'm running CentOS6 so that command should also work for me, but yum tells ...
4
votes
2answers
478 views

How can I tell Puppet “If I declare class X, apply its resources before class Y”?

In my Puppet configuration I want to say "If I declare class X, apply its resources before class Y." In other words, I want to declare an ordering, but remain silent about whether or not to apply ...
2
votes
1answer
159 views

Fedora 14 Repository List

I've got a machine running FC14 and trying to set up yum on it without much luck. I'm aware that the FC14 repo's have all gone archive though it's not possible to upgrade this box as it's an appliance ...
2
votes
2answers
3k views

XenServer 6.2 Yum Repository

I installed a clean XenServer 6.2 from the ISOs provided here. I want to compile a driver against this system and need to install make and sources and so on. If I do yum install make I get ...
2
votes
4answers
9k views

How do I use RPM to install GCC from my CentOS distribution media?

I have a few package installation related questions concerning RPM, YUM and CentOS and getting GCC installed: I've mounted my distribution media on my CentOS 5.2 machine but I can't seem to work out ...
2
votes
2answers
9k views

In RHEL 5, yum cannot find a package (python-devel)

At work I need to use Red Hat Enterprise Linux (RHEL) version 5 on one particular server. I am experienced with Linux, but not much with RHEL (more with Debian and Ubuntu). I want to install ...