Questions tagged [yum]

Software package manager that installs, updates, and removes packages on RPM-based systems. yum stands for Yellowdog Updater, Modified.

Yum is an acronym for "Yellow Dog Updater Modified". It is a tool used to manage the installation and removal of packages on Linux distributions that use the RPM system. It is a package manager similar to files that APT automatically handles dependencies computing solving them and what should be done to treat them.

  • Yum downloads the package specified in any repository.
  • It has a simple configuration file.
  • Makes an efficient calculation of the dependencies.
496 questions
144
votes
2 answers

What is the difference between yum, apt-get, rpm, ./configure && make install?

I am new to Linux and am running CentOS. I have come across four ways to update or install software. So far, I've seen: yum install [program] apt-get install [program] rpm -i [program].rpm wget [program].tar.gz -> unpack -> ./configure -> make ->…
Saif Bechan
  • 3,345
120
votes
4 answers

List of installed repositories (yum)

In CentOS how can I get a list of installed repositories?
Real Dreams
  • 5,408
95
votes
5 answers

How to get list of dependencies of non-installed RPM package?

apt-cache show shows also it's dependencies. yum info does not show dependencies, but it obviously know them. How to ask yum for dependencies of specified package?
Vi.
  • 17,755
93
votes
4 answers

yum install gcc-g++ doesn't work anymore in CentOs 6.4

Today installed CentOs 6.4 fresh new on my workstation. I wanted to install g++. With my surprise I didn't succeed by using yum install gcc-g++ The thing is that even by doing a search I don't get any result. # No package available yum search…
92
votes
8 answers

How to Install gcc 4.7.x/4.8.x on CentOS

What would be the easiest way to install gcc 4.7.x/4.8.x on a system with CentOS 6.2+? The default RPM package contains an older version of gcc.
Tomas Andrle
  • 3,102
43
votes
5 answers

How to view history of Yum commands (update, install, remove)?

I'm seeing some errors in my apache logs and they may (or may not) be related to some packages that I recently installed/removed using Yum. Is there a way to view the history of Yum packages that have been updated/installed/removed ? I could use the…
Chris
  • 533
40
votes
6 answers

yum hangs and won't respond

I am running yum check-update and it freezes after a 2 lines of output: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile I'm not sure what is happening. The last things I remember doing with yum were yum update and looking…
barrrista
  • 1,749
31
votes
4 answers

Where are the rpm files after installation using yum?

I'm using Red Hat 5.4. I have installed a package using yum the package was wireshark. However, after it has installed. Where can I find the rpm package? I would like to locate the actual wireshark.rpm package so that I can install it on another…
ant2009
  • 3,235
30
votes
5 answers

Adding --no-check-certificate to yum repositories

I have added virtio-win.repo according to this guide. The content of /etc/yum.repo.d/virtio-win.repo is now [virtio-win-stable] name=virtio-win builds roughly matching what was shipped in latest…
mahmood
  • 1,365
28
votes
5 answers

Why do I get "Failed to set locale, defaulting to C" when using yum?

Every time I run yum install or yum update, I get Failed to set locale, defaulting to C and then other information. How can I avoid getting this warning?
Juni
27
votes
3 answers

How to completely uninstall a package (including all extra files that came with it) using yum (or rpm)?

When I do yum remove, it sometimes keeps a package's configuration files. Is there anyway to remove a package completely, without keeping any file that belonged to the package? I am running CentOS.
Howard
  • 2,336
24
votes
6 answers

Where does yum save the RPM files it downloads?

Is there a temporary folder I can find the RPM's that yum downloads to install programs? During an installation yum shows the exact name of the RPM file but I don't know how to find it. How can I search for the RPM if I know the name of it?
barrrista
  • 1,749
22
votes
5 answers

How do I get yum to see updates to a local repo without cleaning cache?

I have set up a local yum repository which I use to install test builds. For the testing purposes, my packages are versioned by ..
Matt
  • 321
20
votes
6 answers

How to specify that Yum should not use proxy for specific domain

Is it possible to specify domain for which yum should bypass proxy configuration? I'm afraid this is not possible... I read that it was possible to use the environment variable HTTP_PROXY then NO_PROXY, is it the most elegant solution? [EDIT] I…
20
votes
5 answers

Yum : searching for a package with binary name

Is there a way to search a package using the binary name. for example I want to find rpm package for command "ls" then it should be coreutils-6.9-10.4.i586 for example.
deimus
  • 313
1
2 3
33 34