Questions tagged [yum]

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

The Yellowdog Updater, Modified (YUM) is an open-source command-line package-management utility for RPM-compatible Linux operating systems and has been released under the GNU General Public License. Though yum has a command-line interface, several other tools provide graphical user interfaces to yum functionality.

1445 questions
185
votes
15 answers

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), I can only see that the package is "installed".
lg.
  • 4,579
  • 3
  • 20
  • 20
171
votes
2 answers

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
  • 2,011
  • 3
  • 15
  • 16
80
votes
3 answers

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.de.leaseweb.net * extras: mirror.de.leaseweb.net …
mate64
  • 1,641
  • 4
  • 18
  • 29
77
votes
6 answers

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…
checksum
  • 945
  • 1
  • 10
  • 15
73
votes
4 answers

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.
  • 3,024
  • 10
  • 34
  • 50
66
votes
6 answers

Server wiped after "yum remove python"

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 command was failing due to some weird python 2.4…
tadoman
  • 773
  • 1
  • 5
  • 8
65
votes
9 answers

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-required is present.
Jim Hunziker
  • 1,802
  • 4
  • 17
  • 18
61
votes
3 answers

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 "yum install libpq". Who can tell me how to install…
larry
  • 3,927
  • 9
  • 35
  • 41
54
votes
4 answers

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 absolutely nothing differently. I'm adding EPEL…
Tom Wilson
  • 719
  • 1
  • 6
  • 7
44
votes
6 answers

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)? Specifying --skip-broken skips the whole thing.
IttayD
  • 1,037
  • 4
  • 11
  • 14
44
votes
3 answers

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. The scenario is like this: I download the RPMs,…
zozo
  • 753
  • 3
  • 11
  • 22
43
votes
8 answers

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 set it to? java is installed in /usr/bin/java, it…
Amandasaurus
  • 30,211
  • 62
  • 184
  • 246
40
votes
1 answer

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 [~/httpd]# yumdownloader httpd Loaded plugins:…
Mehdi Yeganeh
  • 453
  • 1
  • 5
  • 12
36
votes
2 answers

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 upgrades or allowing new major package versions…
hmontoliu
  • 3,693
  • 3
  • 22
  • 24
35
votes
4 answers

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
  • 465
  • 1
  • 5
  • 8
1
2 3
96 97