Yellowdog Updater Modified (yum) is an interactive, rpm based, package manager.

learn more… | top users | synonyms

27
votes
7answers
5k views

Non-Root Package Managers

From my research, I seem to notice that all package managers insist on being used as a privileged user and must be installed into /. Typically, what I like to do is create a throwaway account, ...
21
votes
7answers
30k views

How can I remove Orphan Packages in Fedora?

I just switched from Ubuntu to Fedora14. In Ubuntu we had the apt-get autoremove thing to remove orphan/unused packages. What is the counterpart in Fedora?
17
votes
2answers
6k views

What is yum equivalent of 'apt-get update'?

Debian's apt-get update fetches and updates the package index. Because I'm used to this way of doing things, I was surprised to find that yum update does all that and upgrades the system. This made ...
16
votes
3answers
19k views

Remove unused packages

I have installed some rpm package on my Fedora 17. Some packages had a lot of dependencies. I have removed some packages but I forgot remove unused dependencies with yum remove. How can I do that ...
14
votes
9answers
50k views

Cannot enable network after CentOS 6.3 fresh install

I am trying to perform a fresh CentOS 6.3 installation then run various yum commands such as yum install httpd. The installation runs fine, however I cannot run any network based commands like yum I ...
14
votes
2answers
23k views

What is Fedora's equivalent of 'apt-get purge'?

In Debian, there's at least two ways to delete a package: apt-get remove pkgname apt-get purge pkgname The first preserves system-wide config files (i.e. those found in "/etc"), while the second ...
12
votes
3answers
18k views

Yum: How can I view variables like $releasever, $basearch & $YUM0?

I am setting up a yum repository, and need to debug some of the URLs in the yum.conf file. I need to know why is Scientific Linux trying to grab this URL, when I was expecting it to grab another URL: ...
12
votes
2answers
8k views

In CentOS, what is the difference between yum update and yum upgrade?

What is the difference between yum update and yum upgrade, and when should I use one over the other?
12
votes
4answers
3k views

Duplicating a Yum-based Linux installation

Given an installation based on Yum (specifically in my case, a Scientific Linux 5.1 x86_64 installation), how would I duplicate the installed programs and utilities to a new machine based on Fedora ...
11
votes
5answers
66k views

How to add a repository on Fedora?

With one repository I did it like this (as root): # cd /etc/yum.repos # wget https://some.repo.example.org/foo/bar/Fedora_14/foo_bar.repo # grep enabled foo_bar.repo enabled=1 Is this the ...
10
votes
4answers
532 views

Why using rpm if there's yum?

As we know yum is a package management system which was built on top of rpm. It's also a command line utility which is a(rudely speaking) broader version of rpm, it resolves many problems(the main is ...
10
votes
2answers
8k views

Package bash-completion missing from Yum in CentOS 6

I am trying to get tab-completion working in Yum in CentOS 6 (so I can do something like yum install firefo<TAB> and get back firefox), and I have found many tutorials which say to simply do yum ...
9
votes
3answers
6k views

After yum update is it a good idea to restart the server?

I'm aware that it is good to run yum update from time to time to keep my Centos server updated, and I even see that there is way to automate this update. My question is, is it necessary to restart ...
9
votes
9answers
12k views

Package: git-1.7.6.1-1.el5.rf.i386 (rpmforge) Requires: libcurl.so.3

After I run yum install git it shows the error Error: Package: git-1.7.6.1-1.el5.rf.i386 (rpmforge) Requires: libcurl.so.3 You could try using --skip-broken to work around the problem You ...
9
votes
2answers
2k views

Should you run automatic updates

I'm running production Centos web servers. I want to know what is best practice for running updates. Should I automate this with yum-cron or yum-updatesd? Or is there a danger of updates breaking ...
7
votes
2answers
185 views

How can I instruct yum to install a specifc version of package X?

If there are 2 versions of a given RPM available in a YUM repository, how can I instruct yum to install the version I want? Looking through the Koji build service I notice that there are several ...
7
votes
1answer
6k views

Download all dependencies with yumdownloader, even if already installed?

Is there a way to download all dependencies with yumdownloader, even if they are already installed? I'm trying to create a local repo and only want to include the packages we need.
6
votes
2answers
47k views

Installing git “sudo: apt-get: command not found”

I am trying to install git. I run the following command: sudo apt-get install git-core git-gui git-doc But receive the following error: sudo: apt-get: command not found What should I do?
6
votes
2answers
1k views

List installed, top-level packages in Fedora

I used to use yum to list all installed packages: yum list installed Now I need to list top level packages only i.e. if a package is a dependency of another, it should not be shown. GNOME's ...
6
votes
3answers
3k views

Transaction check error in installing vim?

I recently updated my fedora to 20 and wanted to install vim.but running sudo yum install vim returned this error: Transaction check error: file /usr/share/man/man1/vim.1.gz from install of ...
6
votes
1answer
2k views

Can Yum express a preference for x86_64 over i386 packages?

I run a 64-bit version of CentOS5. At the moment, when I run Yum updates or installs, unless Yum is purged of i386 packages prior, it will install i386 packages when x86_64 are available. Is it ...
6
votes
1answer
115 views

How can I put some comment in yum installation list?

Lets say I made a List of installed packages by: rpm -qa > list I want to use this list to re-install those Packages on another System, For Example By: yum -y install $(cat list) But I need ...
6
votes
1answer
771 views

What do the characters y/d/N mean?

Dumb question, I know, but when I am updating my system, the machine tells me the size of the packages to download and asks me: is this ok: [y/d/N]? I know the meaning of y (yes) and N (no), but ...
6
votes
2answers
5k views

yum install in user home for non-admins

I am a non-admin user on a large computer system. I need some up to date packages that are not installed on the system. I want to use yum to install them. As a user without sudo, admin, or root ...
6
votes
2answers
6k views

how do I install the stock centos repositories?

I have a situation where the stock repo files that should exist in /etc/yum.repos.d/ (like centos-base.repo) are not present. I need to get them installed. I am sure this is simple, but after hours of ...
6
votes
2answers
528 views

How to get files downloaded by yum?

I install a software package on Fedora from the terminal using the command like # yum install live-usb-creator Now at first it downloads some of the packages from online repository and then ...
6
votes
2answers
1k views

yum require an older version of a package as dependency

I have installed TexLive 2012 via the official site and want to install epydoc which depends on an older version. However, when I try to install epydoc which depends on texlive, I get the below ...
5
votes
3answers
3k views

apt-get equivalent of yum localinstall

When using Fedora I usually use yum localinstall as a way to install a rpm obtained outside the distribution repositories. I can't find an equivalent option in the apt-get man page. I'm running Ubuntu ...
5
votes
1answer
360 views

Why did removing iptables “break” my network access?

To remove iptables i used yum : # yum remove iptables -y But this removed a lot of packages : Remove 262 Package(s) Installed size: 710 M Downloading Packages: Running rpm_check_debug ...
5
votes
3answers
2k views

When importing a key during a yum installation, where is that key stored?

I'm installing a piece of software for which I had to use a third-party repository. After adding the repository with rpm -Uvh http://[site], I installed with yum install [package]. One of the ...
5
votes
1answer
547 views

How do I find package URLs with Yum?

I want to update my system (Fedora) with Yum, but I want to use aria2 to download the packages. There was something in pacman that you could use to get the update URLs (and put all links in a file.) ...
5
votes
1answer
5k views

How do I force yum to install without prompting the user, using bash?

I'm writing a bash script to install php5.4 and I'd like to automate this for a test VM. The rpm command I have is: rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm yum install php54w Now, in ...
5
votes
2answers
382 views

Is there an analog of apt-pinning in Fedora?

Apt pinning is a feature that allows to set install priority for a group of packages, determined by a number of attributes, such as package version, repository, distro version, etc. See man ...
5
votes
3answers
4k views

Will yum remove mysql-server delete my databases?

My MySQL server has broken down, and I can't figure out why. Trying to do a yum reinstall I get this: Error: mysql-server conflicts with mysql-server I figure that's because the server already had ...
5
votes
1answer
3k views

How to force 'yum search' to use local metadata/cache?

A lot of times when I run yum search, it tends first to download the metadata from a repository. How do I force it to only search the local cache? I prefer quick results to accurate data in this case, ...
5
votes
3answers
555 views

Yum and recommended/suggested packages

I'd like to install a software package on my Fedora System, but it has a lot of unreasonable dependencies (which I know for sure they are not actually required). I used to work on Debian, where ...
5
votes
2answers
4k views

Is it stable to use epel and rpmforge in the same time?

So after a fresh Scientific Linux 6.3 Desktop install, I: yum install rpmforge-release && yum update and yum install epel-release.noarch then: yum install wine gparted cups-pdf ...
5
votes
2answers
6k views

How does createrepo work. How does yum understand parse its files. A conceptual explanation

I am not looking for a how-to on creating a repo (createrepo) or using yum. I want to understand how they work together. I want to know what files yum looks at and why, what those files contain. I ...
5
votes
1answer
5k views

What is a Transaction Check Error ? (yum update)

I tried today to replace packages from atomiccorp's repositories with newer packages from the epel/remi repositories and received Transaction Check Errors. I cannot proceed with my update. Install ...
5
votes
3answers
6k views

yum Damaged repomd.xml file

I'm having trouble doing anything with yum on Fedora 16. Here is the output I'm getting: [user@mycomputer yum-3.4.3]$ sudo yum update [sudo] password for user: Loaded plugins: langpacks, presto, ...
5
votes
2answers
256 views

Any other distro offer like Ubuntu Software Centre?

I want to know does any other linux disto offer anything close to Ubuntu Software Centre? Some of the features I like about it is A) Sandboxing B) Ability to search any of the libs/apps with ...
5
votes
1answer
926 views

Fedora yum update error

When I run yum update, I receive the following error: [root@chandru chandru.math]# yum update Loaded plugins: presto, refresh-packagekit, remove-with-leaves Setting up Update Process Resolving ...
5
votes
1answer
1k views

GUI for adding Fedora software source

Is there a GUI for adding additional software sources in Fedora (FC 13). I have a software repository that works fine when added manually (as a .repo file in /etc/yum.repos.d/), but I'd like to have ...
5
votes
2answers
5k views

How to install packages to a custom location in centos6

I have a shared location, let me call it /tp I want to install all my libraries and packages in this location just like the default install. Reason to do this is: I want all the users in the network ...
4
votes
5answers
205 views

Correlating filename with package

Say, I'm given a filename like libasound.so.2. Is there a way to query the package manager to correlate the filename with its corresponding package? I'm interested to get answers for any package ...
4
votes
2answers
4k views

How to install git for CentOS?

I tried several suggestions from this answer but none of them worked. [root@308321 sugar-dev]# yum install git Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ...
4
votes
2answers
32k views

pdksh missing from RHEL 6 and CentOS 6?

The package pdksh does not exist on RHEL 6 or CentOS 6 when I try to install it through yum. So my questions: Why is it no longer available in the default repositories? It is available in version ...
4
votes
3answers
807 views

Linux distribution with 'yum' package manager

I hope that this question is appropriate for this site (if not, please accept my apologies). I am a professional statistician who uses the statistical programming language R. I'm currently building ...
4
votes
2answers
803 views

Is there a way to install and remove packages in a single yum command?

Is there a way to add and remove packages at the same time with a single yum command? For example, installing postfix and removing sendmail without running two separate commands/transactions.
4
votes
3answers
3k views

How to use SOCKS proxy with yum?

The man page to yum.conf describes several proxy related variables: proxy URL to the proxy server that yum should use. proxy_username username to use for proxy ...