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

learn more… | top users | synonyms

21
votes
7answers
2k 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, ...
15
votes
7answers
14k 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?
12
votes
8answers
32k 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 ...
10
votes
2answers
2k 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 ...
10
votes
4answers
381 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 ...
9
votes
5answers
47k 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 ...
9
votes
2answers
9k 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 ...
8
votes
4answers
1k views

Duplicating a Linux installation (Yum-based)

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 ...
7
votes
2answers
4k 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 ...
6
votes
2answers
750 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 ...
6
votes
2answers
430 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 ...
5
votes
3answers
1k 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
3answers
3k 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 ...
5
votes
2answers
7k 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: ...
5
votes
1answer
682 views

List installed 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 ...
5
votes
2answers
247 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
1answer
666 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 ...
5
votes
1answer
1k 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
2k 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
118 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
942 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 ...
5
votes
2answers
318 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
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 ...
4
votes
3answers
410 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
3answers
631 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 ...
4
votes
2answers
206 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 ...
4
votes
1answer
165 views

How to make an rpm package that installs a Java environment if needed

I'm very new to RPM packaging and I'm curious if, during the installation of one RPM it is possible to conditionally install another RPM if needed. In a nutshell. My RPM requires a particular JRE. ...
4
votes
3answers
2k 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 ...
4
votes
1answer
749 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 ...
4
votes
3answers
256 views

Differentiating between Hard and Soft Dependencies

I will ask this with an example - I have installed gnash-plugin on fedora 64 bit with Yum. It pulled in following packages - Installing : agg-2.5-9.fc13.x86_64 ...
3
votes
3answers
496 views

For what purpose would perl* be excluded in yum.conf?

I am not an Unix/Linux admin. I was attempting to install git on our server, and after much googling and trial and error, I discovered that perl* is excluded in our yum.conf file, preventing perl-Git ...
3
votes
4answers
3k views

Problem installing packages on my Redhat machine

This is what I get $ sudo yum install git-core file://localhost/tmp/common1/x86_64/redhat/50/base/ga/Server/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: ...
3
votes
2answers
4k views

Remove unused packages - Fedora

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 ...
3
votes
2answers
1k views

yum groupinstall “Development Tools” fails

Running yum groupinstall "Development Tools" on my CentOS machine fails. I get errors such as: ...
3
votes
2answers
966 views

yum - list configure flags/options used to compile package

How can I see a list of flags/options used to configure and compile a certain package in yum, without having to install it first? Say apache, for example. $ yum list available httpd Available ...
3
votes
2answers
565 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?
3
votes
3answers
3k views

Install Git on CentOS 5.5

I have added EPEL repo and here goes... # yum install git-core Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.team-cymru.org * base: yum.singlehop.com * ...
3
votes
2answers
371 views

Is it normal that Fedora's yum list kernel-* shows two versions of kernel being used?

Is it true that the following shows that two versions of the kernel are being used? (Is the bold face -- the one enclosed in ** showing what is currently loaded / used). Basically, I just created a ...
3
votes
2answers
117 views

Installing yum packages by pattern

I want to install all openoffice packages. Passing openoffice* obviously wouldn't work, because it'd look at file system. How can I do that?
3
votes
1answer
1k 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 ...
3
votes
2answers
452 views

CentOS: Install packages listed in a text file?

I have an existing CentOS installation which I'd like to install extra packages to. The packages to be installed were supplied to me in a list, one package per line, which looks like: .... ...
3
votes
2answers
2k views

Yum update/install to any package is giving me the following error. What actions do I need to take to overcome this?

Yum update/install to any package is giving me the following error. What actions do I need to take to overcome this? Traceback (most recent call last): File "/usr/bin/yum", line 29, in ...
3
votes
3answers
263 views

What package managers do popular Unix Distributions Use?

I am creating a Script and I need to know what package manager each Popular Unix Distribution Uses (especially those distros that are commonly-used for Servers)... I mean: Debian uses apt-get Fedora ...
3
votes
1answer
2k views

“database disk image is malformed”

Running yum search something I get: Error: database disk image is malformed How to fix?
3
votes
1answer
24 views

Yum Check Available Package Updates

Red Hat docs say: To see which installed packages on your system have updates available, use the following command: yum check-update What command must I run to view all available versions for ...
3
votes
3answers
151 views

make reposync ignore /etc/yum.conf?

Is there a way to make reposync ignore /etc/yum.conf ? When i use reposync --config=/my/path/to/alternative/inputrepo.conf it's still picking up repositories for consideration inside /etc/yum.repos.d ...
3
votes
1answer
1k views

Command for yum to install all packages without dependency

Is there any way for yum to install only that packages, that doesn't have any dependencies? I'm trying to install all python2 libraries. The code: su -c 'yum install python-\*' And I've get (ignore ...
3
votes
3answers
2k views

Are the boost headers separately packaged under Fedora?

The boost C++ library consists of several components. Some components do include shared libraries, other don't. Under a Fedora 14 system I've looked a bit around with yum search boost and rpm -qR and ...
3
votes
2answers
2k 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 ...
3
votes
1answer
1k views

How come I don't have package updates in Fedora?

I last updated my Fedora 14 install weeks ago, so I expected a slew of new packages waiting for me, but after I run yum update, I instead get: ... Setting up Update Process No Packages marked for ...

1 2 3 4 5