.rpm is the file-format used by the RPM Package Manager (originally the Red Hat Package Manager), found primarily in Red Hat Linux and its derivatives.

learn more… | top users | synonyms

78
votes
2answers
72k views

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 [...
67
votes
8answers
125k views

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.
44
votes
3answers
67k 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?
14
votes
3answers
25k views

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....
13
votes
5answers
32k 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. 12345....
11
votes
2answers
10k views

Zypper: How do I display all packages from a certain repository?

Please tell me, how to let zypper display all installed packages of a certain repository.
10
votes
2answers
23k 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 ...
10
votes
3answers
23k views

How can I install an RPM without being root?

How can I install an RPM on a machine where I don't have root permissions? I want to install a package for my use only in a personal work directory. I'm running SuSe SLES10. Please don't flame me ...
9
votes
1answer
10k views

Managing service accounts in an RPM spec

I've been given a partially-complete RPM spec for a service we're writing. It gets as far as making the required directories, copying files, setting permissions, etc., but it doesn't make the ...
8
votes
1answer
30k 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.
7
votes
5answers
32k views

install sun java 6 and sun java 7 side-by-side on linux (fedora 16) using rpm

This is what I would like to achieve, but I'm failing (I'm a newbie in Linux). I have a Fedora 16 box (64 bit) and would like to install multiple versions of oracle java (java 6 and java 7 for the ...
7
votes
3answers
54k views

How to install rpm file along with its all dependencies?

I am trying to install HPCC on RHEL based machine. I have one .rpm file and to install this rpm, I am using following command : sudo rpm -Uvh hpccsystems-platform_community-4.0.0-9.el6.x86_64.rpm I ...
7
votes
2answers
6k views

How to extract RPM from RPM database in RedHat

Is there a way to extract an installed RPM from an RPM database on RedHat Linux to reproduce the original .rpm file?
6
votes
2answers
4k views

Override RPM install path

I've downloaded an RPM from Oracle that wants to install in /usr, and due to the way our SysAdmins set up our workstations, I don't have enough disk space in /usr. Most of the space on the root ...
5
votes
3answers
6k views

Is 7200rpm thru sata 2 worth it?

I am aware that this is probably a common question, yet I did not find the right search terms to use. I have to buy a new hard drive. I figured out that the equation consists of: connector standard, ...
5
votes
4answers
3k views

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.
5
votes
2answers
14k views

Where does yum save the rpm's 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 ...
4
votes
5answers
8k views

Output from rpm -qa, how to extract only the name of the package?

The output format from the command rpm -qa looks like the following: abrt-1.1.14-1.fc14.x86_64 abrt-addon-ccpp-1.1.14-1.fc14.x86_64 abrt-addon-kerneloops-1.1.14-1.fc14.x86_64 abrt-addon-python-1.1.14-...
4
votes
2answers
6k views

Why does Puppet keep installing a package even if it is already installed?

I use the package install attribute to ensure that given package X is installed. However, even though the package is installed, puppet tries to install it over again and of course exits with an ...
4
votes
1answer
13k views

How to install Sun's JDK on CentOS?

I having difficult time installing Sun's JDK on CentOS. The default installing with "yum" is "openJDK", but I need to install Sun's JDK. Is there easy instruction out there I can use or any ...
4
votes
2answers
1k views

overriding installed file / directory permissions & owners?

Every time I update certain packages with rpm/yum, they reset certain permissions on their files / directories which I have intentionally changed for various reasons. Is there a way I can override the ...
3
votes
2answers
295 views

Why is it that 10 000 RPM hard disks never picked up? [closed]

I just got a brand new Lenovo x230 with 7200 RPM hard drive. Now I understand SSD would've been better, but why hasn't 10k RPM become the standard by now?
3
votes
1answer
10k views

Is it possible to modify/rebuild an rpm without the srpm?

I have an rpm for which I need to change the preinstal scriptlet for testing. However, I do not have the SRPM from which is was built. Is it possible to change the scriptlet and/or rebuild the rpm ...
3
votes
1answer
7k views

How can I tell the speed of my MacBook hard drive?

I recently got a new MacBook. How can I determine the hard drive speed (RPM)? I am using Mac OS X Version 10.5.8.
3
votes
2answers
1k 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?
3
votes
1answer
994 views

How do I list all the files not owned by any package in a RPM-based system?

I want to look for files polluting an old CentOS system in my company. Is there an easy way to do that?
3
votes
1answer
3k views

How do I find what RPM package provides a system executable with Fedora?

Want package provides gnome-sound-recorder in Fedora?
3
votes
2answers
16k views

What can I do about “cpio: read error while unpacking archive”?

I get the following error when I attempt to install a .rpm file: error: unpacking of archive failed on file /usr/local/jive/opt/openoffice.org/basis3.2/program/libicudata.so.40;4d805c75: cpio: ...
3
votes
1answer
700 views

What's the rpm/yum equivalent of `aptitude why`?

On .deb managed systems one can use $ aptitude why <package> to find out what installed package required the installation of <package> for example: $ aptitude why python i xdiagnose ...
3
votes
1answer
142 views

Why do RPM packages have different names to the programs they install?

It seems to me that when I download RPM packages that the names they use are sometimes different from the programs they install. For example: yum install httpd apache -v I install the RPM package ...
3
votes
1answer
304 views

Is it possible to have two package management systems (.deb and .rpm) on one system?

Is it possible to have more than one package management system on one system? Example: RPM, deb and .txz on the same partition of Ubuntu. If it isn't possible, why not?
3
votes
1answer
270 views

Install rpm packages using file globbing with errors

I found a rpm feature. If you rpm install * and one of the packages fails to install then none of the remaining packages will be installed. Does anyone know how to use rpm to install packages with ...
3
votes
1answer
117 views

Yum: I don't see any files installed

I tend to ask the most stupid questions here, but here goes again: I installed postgresql92, as proven here: [vagrant@localhost ~]$ yum info postgresql92.x86_64 Loaded plugins: presto, security ...
3
votes
1answer
508 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
3answers
2k views

Do CentOS RPMs work with RedHat?

I am having trouble finding certain Redhat EL5 RPMs but there are a lot of CentOS versions out there. Would they work or are they completely incompatible with RedHat even though they have "el5" in the ...
2
votes
2answers
1k 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, ...
2
votes
1answer
972 views

RPM thinks something is removed: can't remove, yet thinks something is installed: can't installed

When I attempt to install a package, rpm tells me that it's already installed. When I try to remove that same package, it tells me that it's not installed. Forcing installation fails (presumably ...
2
votes
5answers
10k views

Uninstall / remove RPM

I've installed CentOS 5 on an old IBM ThinkPad. Everything went fine until I had to make the wireless network connection work. After searching Google I realise that I need to install RPM. ...
2
votes
2answers
362 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
2answers
1k views

Accidentally erased rpm package, how to recover?

Yesterday I planned to erase all wine related package, first I queried with: rpm -qa | grep wine and it showed 6 or 7 packages, then I typed: rpm -qa | rpm -e After one or two minutes waiting, I ...
2
votes
2answers
571 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
3k views

Is it possible to get user's input during installation of rpm?

Is it possible to get input from a user during an rpm installation? I have a script that works by itself (taking input from a user and doing actions) but when run as part of the post install of an rpm ...
2
votes
2answers
2k views

How to keep Virtualbox from being uninstalled by kernel update in yum

I use fedora, and installed virtualbox-ose from rpmfusion. It seems that the virtualbox-ose is compiled against certain kernel versions. If I update kernel with yum update, virtualbox-ose will be ...
2
votes
3answers
2k views

Smallest rpm based linux possible?

Considering Linux distributions that are based on RPM. How can we have the smallest possible of these Linuxes in size with minimum number of packages?
2
votes
1answer
12k views

How to resolve rpm dependencies

I am trying to install libtirpc on RHEL 6.5 but it fails and asks for dependencies. Why here it is showing three GLIBC versions 2.14, 2.15 and 2.16. ?? Does it mean that any of these three versions ...
2
votes
1answer
3k views

Why can't yum find inconsolata-fonts package available for install?

On CentOS v6.3 when I type: yum update followed by: yum search inconsolata-fonts or: yum search inconsolata I get no results. However a Google search indicates that a package called ...
2
votes
1answer
326 views

rpm signing error rpmMkTemp failed

I'm running into this error when signing an rpm file. I've not got a whole lot to go on as you can see, and google seems to have come up empty. I'm stumped ! Does anyone know what causes it ? I'm ...
2
votes
1answer
32 views

Why do guides always say to download the RPM to disk?

Every installation guide I've ever seen which requires an RPM install starts with the instruction "download the repo", usually accompanied by a wget, and then, separately, says to rpm -i or rpm -U the ...
2
votes
1answer
2k views

RPM: Example Basics of RPM Building

I have a basic RPM question. I don't know very much about RPM building, besides the basic .rpmmacros file, the build directory etc. I work at a company where there is a continuous build server (...
2
votes
1answer
3k views

Wrong RPMforge Installed

I am running CentOS 6.2 and I installed RPMforge EL5 by mistake and I need to uninstall it and install RPMforge for EL6. How can I do that?