Software package manager that installs, updates, and removes packages on RPM-based systems. yum stands for Yellowdog Updater, Modified.
28
votes
2answers
14k views
What is the difference between yum, apt-get, rpm, ./configure && make install
I am new to Linux and am running CentOs. When I want to update or install certain software I came across three ways.
Sometimes it's:
yum install program
apt-get install program
rpm -i program.rpm
...
13
votes
5answers
11k views
Installing a specific package version with yum
I have a Fedora system with Postgres version 8.3 and I want to downgrade to 8.2 because of a compatibility issue. I've been using yum for everything, but it's my first time with this package manager, ...
7
votes
3answers
18k views
How do I add a apt-get repository without editing /etc/apt/sources.list?
I want to add a repository to apt-get (without potentially messing up /etc/apt/sources.list) through the user of a script. This script may run multiple times so I can't just append the entry each ...
7
votes
6answers
2k views
How do you track which packages were installed on Fedora (Linux)?
(This question is very similar to 6338. It was suggested that it be split from it as Fedora and Ubuntu/Debian are different enough to warrant different answers.)
As I use any Fedora setup I ...
6
votes
3answers
733 views
In yum, what is presto?
When I do a yum install or a yum update, sometimes I get this
Loaded plugins: presto, refresh-packagekit
telling me that the packages are being updated.
What is presto?
6
votes
2answers
5k views
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 ...
6
votes
1answer
739 views
Why does Software Update and Add/Remove Software claim all packages are untrusted?
About two days ago, Software Update started asking me for me root password in order to update packages. It gives me a dialog box saying:
The software is not from a trusted source. Do not update ...
5
votes
2answers
8k views
How do I downgrade packages easily with Yum?
Apparently, Fedora's yum has the ability to downgrade. I find this useful because abhorrently they feel they need to break NetworkManager on a stable upgrade. In multiple ways.
How do I downgrade ...
5
votes
2answers
4k views
How to get list of dependencies of non-installed RPM package?
apt-cache show <package> shows also it's dependencies.
yum info <package> does not show dependencies, but it obviously know them.
How to ask yum for dependencies of specified package?
5
votes
3answers
5k views
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 ...
4
votes
5answers
2k views
Node.js from yum on Fedora fails to start with v8 symbol error
I installed the nodejs package on Fedora 16 this way:
# yum install nodejs
But it crashed on startup when run with no arguments:
$ nodejs
nodejs: ../src/handle_wrap.cc:65: static ...
4
votes
1answer
708 views
Yum commands cheat sheet for Macports users
What are the equivalent yum commands of the following MacPorts port commands?
search
self-update
installed (list)
outdated (list)
Are some things completely different from MacPorts?
4
votes
3answers
4k views
Install gcc 4.7 on CentOS
What would be the easiest way to install gcc 4.7 on a system with CentOS 6.2 ? The refault rpm package contains an older version of gcc.
4
votes
4answers
3k views
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 <svn version number>.<date>.<time> (e.g. ...
3
votes
2answers
184 views
deleting /bin entries in linux
I have installed CentOS. I want to remove bzip2, so I enter this command in the shell:
yum remove bzip2 bzip2-libs
Then nearly 500 packages were removed and I can't enter any command. For example:
...
3
votes
3answers
7k views
How to install jdk with yum on Fedora 17?
I want to install jdk by yum on Federa 17 and using :
su -c 'yum install java-1.6.0-openjdk'
But it show "no available package". How can I do to install it ?
3
votes
2answers
2k views
Where can I find out where a package has been installed to?
Fedora 14 xfce
I have installed a package using yum install package-name.
However, I can't seen to find out where it has been installed to.
Is there any command that will tell me what directory the ...
3
votes
2answers
876 views
Default path for installed binary?
By doing
yum install vlc
I have installed the vlc player on my system. Now I want to know where the binary of vlc was installed. So what is the default path for installation in Fedora Linux?
3
votes
3answers
4k views
Another app is currently holding the yum lock; waiting for it to exit
I'm trying to install wireshark on Fedora(latest version with gnome3) and I keep getting the above error.
I keep killing the offending process after finding it's pid using "ps aux | grep yum", but ...
3
votes
1answer
2k views
How to use yum to reinstall all dependencies of a given package?
So I have a package that I am pretty sure that I removed part of one of its dependencies when removing something(as in rm). Long story. Basically what I want to do is have yum re-install the package ...
3
votes
1answer
228 views
How can I get Wireshark with a GUI on my EC2?
I have an Amazon EC2 machine that I'd like to run Wireshark on, using X forwarding. Unfortunately, the only Wireshark packages found with $ yum search wireshark are:
wireshark-devel.x86_64
...
3
votes
1answer
914 views
How can I install perf, a linux peformance monitoring tool?
I am trying to install perf. I searched online that it is available through http://apt.ubuntu.com/p/linux-tools, but I need apt. I have yum installed, but do not have apt so I tried installing apt via ...
3
votes
1answer
199 views
Package dependency errors while installing mercurial in Fedora
I'm trying to install mercurial in my Fedora 14 using yum and get the following error.help to resolve this.
yum --enablerepo=rpmforge --disablerepo=remi --disablerepo=fedora install ...
2
votes
3answers
497 views
2
votes
4answers
5k views
Protected multilib versions error when updating yum in Fedora 16
I have Fedora 16 installed. I'm facing some in issues when updating yum.
Error: Protected multilib versions:
flash-plugin-11.2.202.233-release.i386 != flash-plugin-11.1.102.55-release.x86_64
2
votes
2answers
322 views
Upgrading Node.JS from tarball of binares when yum-installed version already exists
On CentOS 6.3 64-bit, I've installed Node.JS version 0.6.18 using yum.
I have an application that requires Node.JS v0.8.x. The currently stable version of Node.JS available is 0.8.7, which is ...
2
votes
1answer
1k views
What is the technical differences between “update” and “upgrade” with yum?
I frequently use the following when updating/upgrading RPM-based distros (CentOS, RHEL, and Fedora in my case):
yum -y update && yum -y upgrade
However, I'm not sure exactly how the two yum ...
2
votes
3answers
152 views
How to find out which app yum installs?
I want to install screen and i think i could do
yum install screen
but i thought i could be smart and run a search first
yum search all screen
and here is the problem, this results in a huge ...
2
votes
2answers
2k views
Why Doesn't Yum Clean Up Orphaned Packages?
I recently used Yum (on Fedora 13) to install xmms2. It found some dependencies and installed those as well. Immediately after I installed xmms2, I performed yum erase xmms2, but it uninstalled only ...
2
votes
1answer
142 views
yum/RPM depend on generic package (like “provides” in other package managers)
I'm trying to figure out how to make a package of mine depend on anything that provides "java", but I'm not sure what to even look up. Apparently "yum provides" is a command for finding out which ...
2
votes
3answers
6k views
Unable to remove PHP packages from CentOS, but also unable to update PHP package to PHP 5.3
I have an interesting, albeit infuriating problem with CentOS.
I'm trying to configure this server to run a Symfony2 website I've built. The website doesn't work, and I've pinned down the problem to ...
2
votes
1answer
469 views
Yum- disable database update on package install
I'm using Fedora 15 and every time I try to install something with yum, yum tries to update the repository database.
For most people this would be great and handy, but I'm stuck behind super slow ...
2
votes
2answers
248 views
Getting the package name that contains a library that I need
Fedora 14
I recently went to install some software using the source files.
When I ran the command
./configure
I got a message saying that
No package gthread-2.0 not found
After searching the ...
2
votes
1answer
1k views
How to install ffmpeg through yum
Anyone knows the trick?
And how to install ffmpeg ? yum install mpeg only returns this:
======================================================================================== Matched: mpeg ...
2
votes
1answer
50 views
Yum: What defines the repo a package gets pulled from if the same package is contained in multiple repos?
On any given box that has subscriptions to multiple repos
yum list available --showduplicates foo
gives me:
foo.x86_64 0.0.1-1 dev-repo
foo.x86_64 0.0.1-1 test-repo
What is the logic ...
2
votes
1answer
321 views
Cannot start Postgres daemon after installing with Yum
I was trying to install Postgres 9.1.4 on Fedora 17 using Yum. If I do:
sudo yum install postgres-libs
sudo yum install postgres
sudo yum install postgis
All the installs appear to complete ...
2
votes
1answer
86 views
Can I ask yum to tell me what it would delete with a “yum remove” command
Is there a way to tell what yum would do "but not do it" for a given yum command?
2
votes
1answer
1k views
Fedora 13 - No module named yum
This is driving me bananas!
After a recent update in Fedora 13 64bit, my yum is gone:
$> yum update
There was a problem importing one of the Python modules
required to run yum. The error leading ...
2
votes
2answers
150 views
Is there a list of programs for yum
Basically I would like to know if there's is an actual web page that can be searched for the programs available under yum. I have yumex and I've tried using it but its super slow to search (sometimes ...
2
votes
2answers
2k views
How do I upgrade PHP on CentOS and Kloxo?
I need to upgrade PHP so that I can upgrade joomla on my dedicated server. I have:
kloxo 6.1.6
php-5.2.17-1
Linux CentOS-55-64-minimal 2.6.18-194.32.1.el5 x86_64 x86_64 x86_64 GNU/Linux
I searched ...
1
vote
3answers
1k views
How to check what packages are installed on a RHEL5 system?
A command that can be run by an unprivileged user is preferred.
1
vote
1answer
3k views
How to get `mail` on a CentOS 6 server (running postfix)
On my old server, and most other devices I have run, there is a provided mail program.
On my new CentOS 6 server, running postfix as the MTA, I cannot send command-line email via mail - the tool is ...
1
vote
2answers
76 views
What comes after the underscore in an RPM version string?
I'm getting dependency conflicts when trying to run a simple yum update. I notice that in some cases, it's looking for a package called foo w.x-y.z.el6 while the repo only has foo w.x-y.z.el6_a.b, ...
1
vote
4answers
928 views
How to uninstall software in Linux
how to uninstall software in linux. I am facing issues installing No machine setup(NX)
1
vote
2answers
946 views
How does yum dependency resolution work?
If multiple packages satisfy a dependency for a package being installed, how does yum choose which one to automatically install? Can I force it to let me pick?
1
vote
1answer
85 views
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.
...
1
vote
4answers
2k views
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 ...
1
vote
2answers
274 views
How to update yum in Fedora
I am using Fedora 12 and I have Firefox 3.5, but I want to upgrade it to Firefox 5.0 version using yum.
However, when I do that it says that no updates are available because my yum repository is old. ...
1
vote
1answer
4k views
Install wine on RHEL with Yum
I'm trying to install Wine on Red Hat Enterprise Linux using Yum, but it's not in the RHEL repository. How can I install RHEL via Yum? I'm pretty sure there may be other repositories out there ...
1
vote
1answer
108 views
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 ...