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

learn more… | top users | synonyms

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 ...
5
votes
3answers
930 views

AWS Linux EC2: yum won't run with plugins

Short Version: yum commands on my Amazon Linux EC2 AMI only work with --noplugins. Long Version: A couple of days ago, I ran yum update at the behest of the SSH Login MoTD telling me I had updates to ...
5
votes
3answers
1k views

How do I browse CentOS packages?

I have been using Debian for some time but am brand new to CentOS. How can I browse CentOS packages in a web browser like I do at packages.debian.org? If there is no such website, can someone give me ...
4
votes
3answers
2k views

Centos 6.3 install reiserFS support

I'm trying to change an existing ext4 partition to reiserFS in Centos 6.3 64bit. I've updated the kernel to Centos Plus: First, I've updated /etc/yum.repos.d/CentOS-Base.repo: In the [centosplus] ...
4
votes
2answers
420 views

What is the yum equivalent of dpkg -L?

dpkg -L lists all the files provided by a package. How is this accomplished with yum? The operating system is Scientific Linux 6.
4
votes
2answers
3k views

How do I keep Centos at version 6.3?

I have the following: Bunch of guest VM's that are running Centos 6.3 Host running Centos 6.3. Recently I created a new Centos 6.3 VM to test out something Ran yum update after a fresh ...
4
votes
4answers
1k views

yum claims python isn't installed

Trying to install collectd, but for some reason it claims python isn't installed: yum install collectd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Install ...
4
votes
2answers
210 views

Using puppet and ensure latest for RPM package management

Using ensure => latest, I have systems which do not need all of the same packages. Will ensure => latest install the packages or only update if they already are present? If they are not ...
4
votes
3answers
536 views

What can I do to speed up createrepo?

We are using a yum repository to distribute our software to our production instances. Unfortunately, createrepo is becoming a bottleneck, and we only have 469 packages in the repository. $ time ...
4
votes
3answers
532 views

yum update, how to make rpm package updateable

need a link or tutorial on how to make an rpm package work with yum UPDATE. i have it and already works with yum INSTALL and yum ERASE, but is there somewhere info on how to make rpm package work when ...
4
votes
2answers
10k views

How do you upgrade PHP 5.1 to PHP 5.3 using yum on CentOS

Using Yum/CentOS. The problem is that php 5.1 is already installed and running so yum update php dont work! I looked around the net for a solution but they say to do the above =/
4
votes
2answers
195 views

Switching yum from RHEL to .. something else? [duplicate]

My various managers have decided that it's too expensive to keep paying for a subscription to the RedHat network for OS updates. Is it possible to switch to Fedora/CentOS or do I need to reinstall the ...
4
votes
1answer
312 views

Why do I get different openssl versions?

I'm trying to check if I running the latest OpenSSL version, my main concern is the heartbleed bug. I tried 2 commands: openssl version yum info openssl openssl version output OpenSSL ...
4
votes
1answer
355 views

/var/lib/mysql folder is missing

I've created a virtual machine and am installing things from scratch. Definitely not a sys admin so I'm running into some trouble. I've installed these packages and then restarted httpd yum -y ...
4
votes
3answers
5k views

Enabling apt-get on a default Amazon EC2 instance which has yum installed

I'd like to call something like: sudo yum install apt to enable me to use apt-get as well as yum for installation. However this doesn't work. I get the following back: Loaded plugins: ...
4
votes
1answer
1k views

How do I prevent yum from updating a particular RPM?

For certain reasons I have to keep a slightly older version of a particular RPM installed on my box (Fedora 11). The problem is that every time I do a package update yum (or one of its GUI ...
4
votes
2answers
5k views

CentOS install proftpd with yum

Server: CentOS 6.2 64bit How can I install Proftpd using yum? A search for the package doesn't find it: yum list proftpd Error: No matching Packages to list Although my CentOS 6 VPS does find it, ...
4
votes
4answers
5k views

Downgrade Linux Package Using Yum

I've currently got a 64-bit version of a package installed (subversion-javaHL to be exact). I need to roll this back to its 32-bit counterpart. Is there a way to do this without simply uninstalling ...
4
votes
2answers
72 views

rkhunter warns of inode change by no file modification date changes

I have several systems running Centos 6 with rkhunter installed. I have a daily cron running rkhunter and reporting back via email. I very often get reports like: ---------------------- Start ...
4
votes
2answers
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 ...
4
votes
4answers
2k views

Best way to clean up Yum repository?

We have a custom Yum repo that our developers upload builds to. The problem is that after some time it becomes cluttered with old versions. Removing the old versions manually is quite annoying, so ...
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 ...
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 ...
4
votes
1answer
100 views

How to prevent installation of incompatible rpm packages

I have two rpm packages wich should not get installed together. After googling around i assume there is no RequiresNot tag or something similar to specify incompatible packages in a specfile. What ...
4
votes
1answer
3k views

Yum install in chroot directory

I'm trying to install the Base group on a mounted volume. Here's the custom yum.conf that I'm using: [main] cachedir=/var/cache/yum/ debuglevel=2 logfile=/var/log/yum.log exclude=*-debuginfo ...
4
votes
3answers
38k views

How do I update YUM repositories?

I am very, very new to all this so baby steps please if helping is appreciated. I am trying to connect to the following repository so I can update my YUM packages: ...
4
votes
1answer
2k views

yum update works but yum --security update fails to work in Fedora 12

I had already installed the yum-security before. And I was going to do an update by entering the following command: [root@localhost /]# yum update Loaded plugins: presto, priorities, ...
4
votes
1answer
61 views

How can I see what is the latest version of a package available in a specific repo if I have that package already installed/updated from another repo?

I am using CentOS 6 and I updated PHP using the Remi Repository. I would like to use yum in order to know what is the latest version available in the official CentOS repos. I tried issuing the ...
4
votes
1answer
52 views

How to get transaction history for yum?

I would like to know how to get the transaction history of yum (i.e. get the installations, deletions, etc.), hopefully ordered from most to least recent. Is there a way to accomplish this? Thanks ...
4
votes
2answers
439 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 ...
4
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 ...
4
votes
3answers
381 views

Atomic repository…in english please

Simple question, hopefully a simple answer: I am new to Linux servers, and my hosting company offered me a tip to: You may want to add the Plesk repository provided by Atomic Turtle. I know ...
4
votes
1answer
108 views

Managing myriad package repositories

On testing, development, and some other server and workstation environments, I use a variety of package repositories (with CentOS, for example, these include: remi, epel, rpmforge, jpackage, and ...
4
votes
1answer
144 views

What can I do to safely repair my yum packages after a bad update?

I'm running amazon linux on an EC2 micro box. Recently I ran sudo yum update --security in the hope that it would patch Heartbleed. Unfortunately I ran out of memory during the update process and some ...
3
votes
3answers
939 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
273 views

CentOS 6.x — how to find required package to install?

I'm not that experience with Linux, but I'm trying to install some software on 64-bit CentOS 6.3 that requires the following packages (copying them exactly as written in the documentation stating ...
3
votes
4answers
13k views

Install Xvfb via yum - yum repository for Xvfb?

I am trying to install Xvfb on a RHEL 6.2 system using yum. However, all of the help that I've found says to type: yum install Xvfb or... yum install xorg-x11-server-Xvfb Which I'm sure ...
3
votes
4answers
9k views

Can I set up Fedora or Centos repos in RHEL6?

I have a RHEL6 box with no subscription to Red Hat Network. I want to install gcc using yum to resolve all the complex dependencies. Can I connect to Fedora or Centos repositories to install software? ...
3
votes
2answers
1k views

Install software on CentOS: binaries or rpm?

I am pretty new to linux systems. I have the option of installing a software (ImageMagick) using either its .rpm or compiling the source from .tar.gz (which I have already done). Which one should I ...
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?
3
votes
6answers
5k views

Up-to-date repository for CentOS git RPMS

I'm currently maintaining git packages manually for my CentOS machines since there seem to be no recent packages available in the Repos. I'm rebuilding the SRPMS from kernel.org, but --without docs ...
3
votes
1answer
1k views

How can I upgrade bash to >= 4.1 on CentOS 5.5?

I have a CentOS 5.5 VPS server. I want to use RVM. According to the console output when I run the RVM installer, RVM requires bash >= 4.1. I just ran yum update. My bash version is now 3.2.25. If ...
3
votes
3answers
6k views

Exclude a specific repo from YUM Update

I am doing a system wide yum update on RHEL 5.5 and the IUS EPEL repository is throwing a missing dependency error: php53-mcrypt-5.3.3-4.ius.el5.x86_64 from installed has depsolving problems --> ...
3
votes
2answers
5k views

yum equivalent to apt-get upgrade vs apt-get dist-upgrade?

I'm a *.deb guy and I feel quite uncomfortable while managing rpms. I'm used to run apt-get upgrade in my debian based servers for "normal" upgrades and apt-get dist-upgrade for allowing kernel ...
3
votes
1answer
12k views

How do I install automake and autoconf on RedHat Enterprise 5?

I am attempting to install "uploadprogress" for a PHP application, and have failed on dependencies. Firstly, on phpize, then php-devel, then on autoconf and automake. I have tried yum, and various ...
3
votes
1answer
322 views

centos yum update all 68 server

We have 68 Centos server diff version 4.X 5.X, we dont want internet for update errata patches. Alternative like redhat satellite server in centos which use to update all the server local.
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 ...
3
votes
1answer
553 views

Fedora19: YUM glibc is a duplicate of glibc

I'm using Fedora 19, when I'm trying to perform a yum update, I get the following error. yum update: Failed to set locale, defaulting to C Loaded plugins: langpacks, refresh-packagekit Resolving ...
3
votes
2answers
474 views

yum install obsolete openoffice instead of libreoffice

Unfortunately the software that I'm using (Alfresco) requires the installation of openoffice, and not libreoffice. If I try and configure it to use libreoffice I receive errors during startup. If I ...
3
votes
2answers
1k views

Installing yum repositories that are specified in kickstart file

Right now, I am specifying repositories to be used for installation in the kickstart file via the repo directive. I am then, re-specifying those repositories to be added to the /etc/yum.repos.d ...