Skip to main content

Questions tagged [yum]

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

Filter by
Sorted by
Tagged with
196 votes
15 answers
366k views

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

After I have installed a package by yum (with multiple repositories configured), how can I find from which repository it has been installed? If I run yum info package-name (or yum list package-name), ...
lg.'s user avatar
  • 4,699
184 votes
2 answers
195k views

How do you answer yes for yum install automatically

In centos how do you answer yes automatically for yum install so that it is an unassisted install?
DiverseAndRemote.com's user avatar
85 votes
6 answers
212k views

How to accurately check if package is installed in yum?

I keep getting answers like: yum list installed | grep bind or rpm -qa | grep bind But that is not accurate as I'm getting a list of few other bind packages like these: bind-utils-9.8.2-0.17.rc1....
checksum's user avatar
  • 1,045
83 votes
3 answers
146k 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: mirror....
mate64's user avatar
  • 1,691
80 votes
4 answers
282k views

yum search - package version

How can I tell the version of a package after doing a yum search? e.g. yum search rabbitmq returns rabbitmq-server.noarch : The RabbitMQ server I need to know the version of this server.
DD.'s user avatar
  • 3,144
69 votes
9 answers
126k views

How can I check from the command line if a reboot is required on RHEL or CentOS?

I'm using CentOS and Red Hat Enterprise Linux on a few machines without the GUI. How can I check if recently installed updates require a reboot? In Ubuntu, I'm used to checking if /var/run/reboot-...
Jim Hunziker's user avatar
  • 1,862
65 votes
6 answers
22k views

Server wiped after "yum remove python" [closed]

A disaster just occurred to me after I ran the command yum remove python and now I can't boot the server up anymore. How it happened: I tried updating some apps via yum on my CentOS 5 VPS and the ...
tadoman's user avatar
  • 763
64 votes
3 answers
101k views

How to install libpq-dev on Centos 5.5

In order to develop one web application based on postgresql, i need to install libpq on my centos. I can install it by "apt-get install libpq-dev" on ubuntu, but i can not install it on centos by "...
larry's user avatar
  • 4,117
54 votes
4 answers
104k views

EPEL Repo for CentOS 6 causing error

I've got a VM running CentOS 6 (64bit) and I'm attempting to add the EPEL repo like usual to install various packages as I do quite regularly. Today, I'm experiencing some strange errors yet I'm doing ...
Tom Wilson's user avatar
53 votes
3 answers
237k views

Disable the public key check for rpm installation

I want to make a DVD with some useful packages (for example php-common). The only problem is that if I try to install on a computer that's not connected to internet, I can't validate the public key. ...
zozo's user avatar
  • 843
49 votes
6 answers
167k 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 already)? ...
IttayD's user avatar
  • 1,127
44 votes
8 answers
225k views

What is the value of JAVA_HOME for CentOS?

I have install java through yum on CentOS, however another java programme needs to know what the JAVA_HOME environmental variable is. I know all about setting environmental variables, but what do I ...
Amandasaurus's user avatar
  • 32.5k
41 votes
1 answer
96k views

How to install Apache Benchmark on CentOS?

I try to install Apache Benchmark using Is there a way to install Apache Bench (ab) without installing apache solutions on my centos but when i run yumdownloader httpd, i get error: root@local [~/...
Mehdi Yeganeh's user avatar
36 votes
2 answers
65k 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 ...
hmontoliu's user avatar
  • 3,803
35 votes
4 answers
44k 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.
arnorhs's user avatar
  • 465
34 votes
2 answers
92k views

What's the difference between `yum install <local path>` and `yum localinstall <local path>`

If I have an RPM located on a local disk - what is the diffrefence between the following yum commands? sudo yum install /tmp/rpm_name.rpm sudo yum localinstall /tmp/rpm_name.rpm Note: I use RedHat/...
boardrider's user avatar
  • 1,019
33 votes
4 answers
41k views

Do I need to restart server after a linux kernel update?

I am using webmin (which uses yum) to install updates on my server, and it somestimes updates kernel as well including kernel-firmware and kernel-headers. Do I need to restart the server after a ...
giorgio79's user avatar
  • 1,887
32 votes
4 answers
153k views

Upgrade cURL to latest on CentOS

I need to upgrade cURL to the latest version on Centos 2.6.18-164.15.1.el5.centos.plusxen #1 SMP Wed Mar 17 20:32:20 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I'm unable to find any suitable ...
Chris Henry's user avatar
  • 1,572
31 votes
7 answers
195k views

How do I install an rpm that complains about rpmlib(FileDigests) <= 4.6.0-1?

Im trying to install an rpm file on CentOS 5 and Im not sure how to resolve this issues it brings up: $ rpm --install epel-release-6-5.noarch.rpm warning: epel-release-6-5.noarch.rpm: Header V3 RSA/...
Jake's user avatar
  • 443
30 votes
5 answers
59k 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?
BuyManAFish's user avatar
30 votes
3 answers
110k 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 ...
Amandasaurus's user avatar
  • 32.5k
29 votes
8 answers
286k views

How to remove this warning "This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register."

I get the following error when i am listing the updates.Server is currently registered with ULN. Although its a warning, i do not want the below message displayed when i am issuing yum command.i found ...
xrkr's user avatar
  • 423
29 votes
6 answers
99k 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 ...
AWT's user avatar
  • 455
29 votes
2 answers
60k views

How to fix the warning: "RPMDB altered outside of yum"?

I have a RHEL 6 system, that I primarily manage through RHN Satellite. Recently I scheduled some updates through Satellite and received a response that the updates had failed. I ssh'd into the ...
audiomason's user avatar
29 votes
1 answer
87k views

How to find out yum package names

Recently I needed to install yum mbstring but because I have two different versions of PHP installed I needed to install mbstring for php 5.5. Through some random google searches I figured out to run: ...
keeg's user avatar
  • 509
29 votes
4 answers
402k views

How do I update YUM repositories? [closed]

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: http://repo.webtatic.com/yum/centos/...
JM4's user avatar
  • 1,154
28 votes
5 answers
93k views

Solving multilib version problems

I use CentOS 6.4 When I tried to install libgcc with yum install libgcc.i686 I took following massages. Error: Multilib version problems found. This often means that the root cause is ...
user1345414's user avatar
27 votes
2 answers
77k views

yum error in PREUN scriptlet when removing packages

Trying to uninstall zarafa mail server. I use yum list installed to view the already installed packages. After which I use yum erase zarafa* It picks up all the packages but returns: Error in ...
tread's user avatar
  • 463
24 votes
3 answers
29k 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?
Lin's user avatar
  • 2,949
22 votes
2 answers
28k 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 ...
Luc M's user avatar
  • 3,380
22 votes
3 answers
60k 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 ...
Vicary's user avatar
  • 333
21 votes
2 answers
2k views

Best Practices for updating a previously unmaintained server RHEL5.7

A new RedHat EL5.6 server has been recently put under my care. It is immediately obvious that, for the previous 12 months, little to no attention has been given to any sort of package updates. ...
tdk2fe's user avatar
  • 600
21 votes
9 answers
34k views

Automatically check for Security Updates on CentOS or Scientific Linux?

We have machines running RedHat-based distros such as CentOS or Scientific Linux. We want the systems to automatically notify us if there are any known vulnerabilities to the installed packages. ...
Stefan Lasiewski's user avatar
19 votes
3 answers
7k views

Should I be worried that yum update suddenly wants to update well over 100 packages on my CentOS 6 system?

I get an email alert whenever there's something to update, and typically do them that day. This tends to happen most days. For whatever reason I've had no alerts since 20th July until today (I ...
Codemonkey's user avatar
  • 1,148
19 votes
1 answer
16k views

Whats the difference between `yum groupinstall` vs regular `yum install`?

Whats the difference between yum groupinstall vs. regular yum install?
JohnDDdjfd's user avatar
19 votes
2 answers
50k views

yum client doesn't see new packages though server is updated

We have an internal yum server containing several repos (copies of the RHEL repo, programs created in-house, and so on). Our internal systems are firewalled off from the internet, so they can only use ...
Jenny D's user avatar
  • 28.1k
18 votes
5 answers
47k views

Upgrade Subversion 1.6 to 1.7 on CentOS? (can't find yum repository)

I want to upgrade my SVN Server from 1.6 to 1.7. Unfortunately I can't find anything on the internet how to do this with yum. I have checked rpmforge-extras but it has only svn 1.6 and not 1.7 I ...
user avatar
18 votes
3 answers
81k views

How do I remove a repository of yum

When I search for a package in yum(centos 6), it tries to search in a repro named 'c6-media' And it gives a bunch of errors as follows file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not ...
sunil's user avatar
  • 281
18 votes
4 answers
68k 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 --> ...
Robin's user avatar
  • 361
17 votes
2 answers
7k views

yum should error when a package is not available

I recently ran into a bug in a script where I tried to do the following: yum -y install another_package.x86_64 some_package.x86_64 && run_my_script The script ran well on a newer CentOS, but ...
pmr's user avatar
  • 425
17 votes
5 answers
41k views

How to check when yum update was last run

Is there a canonical way to find out the last time that yum update was run on a system? Our set up is that we have staging servers that run automatic updates, and provided they don't fall over, we ...
Hamish Downer's user avatar
17 votes
1 answer
47k views

How to install libboost-devel on CentOS 6.3

How to install libboost-devel on CentOS 6.3? I have tried the following command: yum install libboost-devel Output: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base:...
I'll-Be-Back's user avatar
17 votes
4 answers
11k views

Where can I find an online list of CentOS packages and their versions?

I am looking for an online list of the standard packages available for CentOS Linux. I know that if I had a CentOs system running, I could use yum to list packages. However, I am trying to evaluate ...
bryan kennedy's user avatar
16 votes
5 answers
45k views

Download RPM packages for command which is already installed

I have a CentOS machine in which I already installed openssl-devel using $ yum install openssl-devel It downloaded and installed all the dependency packages. Now I need all those RPM packages. Is ...
abubacker's user avatar
  • 285
16 votes
7 answers
30k 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 ...
Reza Sanaie's user avatar
16 votes
3 answers
21k views

Why are outdated packages installed by yum on CentOS? (specifically PHP 5.1) How to fix?

I'm working on a fresh CentOS server and am extremely annoyed to find out that yum does not work as smoothly and brilliantly as "apt-get install" does on Ubuntu. Installing a LAMP stack, I ran the ...
Buttle Butkus's user avatar
16 votes
2 answers
11k 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 ...
user2643870's user avatar
15 votes
4 answers
2k views

Installed software from source, how to say yum not to install it from package?

On a CentOS 7, I've installed foobar version 2, compiled from sources. How can I make yum aware of that install so it won't install foobar version 1 for dependency? Installation of foobar $ git ...
YSC's user avatar
  • 265
15 votes
3 answers
3k views

How did installing this RPM create a file?

Running yum install https://extras.getpagespeed.com/redhat/7/noarch/RPMS/getpagespeed-extras-release-7-1.el7.gps.noarch.rpm creates /etc/cron.d/sysstat2 but RPM disavows the file: # rpm -ql ...
Pascal's user avatar
  • 503
15 votes
4 answers
19k views

yumdownloader vs repotrack

I'm working on CentOS 6.3. Recently I come across repotrack from yum-utils. yumdownloader --resolve and repotrack looks very similar, but it looks like yumdownloader download only part of ...
dimba's user avatar
  • 293

1
2 3 4 5
30