.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

51
votes
2answers
37k 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 ...
39
votes
8answers
60k 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.
27
votes
3answers
35k 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?
10
votes
2answers
20k 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
5answers
16k 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. ...
6
votes
2answers
3k 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 ...
6
votes
1answer
6k 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 ...
5
votes
5answers
22k 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 ...
5
votes
3answers
12k 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 ...
5
votes
2answers
6k 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.
5
votes
1answer
13k 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.
5
votes
1answer
8k 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 ...
5
votes
2answers
4k 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?
4
votes
3answers
4k 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, ...
4
votes
5answers
5k 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 ...
4
votes
2answers
5k 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
4answers
2k 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.
4
votes
1answer
12k 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
770 views

rpm - 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
3answers
26k 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 ...
3
votes
2answers
277 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
2k views

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

Want package provides gnome-sound-recorder in Fedora?
3
votes
1answer
444 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
218 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
123 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
195 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
35 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 ...
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
1answer
728 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
7k 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
348 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
698 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
341 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
2answers
8k views

WD “My Book Studio” 2TB - rpm? [closed]

The rpm rating of this drive doesn't seem to be listed anywhere. Not on the box, not in the manual, not online, not even on Western Digital's website. I even called them but they were evasive, ...
2
votes
3answers
1k 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
2k 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
538 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?
2
votes
2answers
9k 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: ...
2
votes
2answers
6k 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.
2
votes
1answer
25 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

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?
2
votes
2answers
2k 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
7k views

how to install a chrome on my RHEL 5.3 box

I'm trying to install latest chrome on my RHEL 5.3. [foo@bar Downloads]# rpm -ivh "google-chrome-stable_current_x86_64(4).rpm" warning: google-chrome-stable_current_x86_64(4).rpm: Header V4 DSA ...
2
votes
2answers
572 views

What are the advantages of a group package in yum over an rpm that depends on everything else?

On our local repository, we'd like to create a "product" install that includes all of our packages. The two ways that seem possible to do this is do create a "blank" package called 'product' that ...
2
votes
1answer
914 views

How can I set up Retrospect on Ubuntu 12.10 64 bit?

Problem Retrospect is a backup system that my organization uses, but I can not find support for my Ubuntu 12.10 64bit desktop. What I have tried (but did not work) download the Redhat version and ...
2
votes
1answer
272 views

Is there any way to restore/recover my file that a rpm package overwrite?

I had some files on a server. Then I installed a rpm package that have same files in it. As a result, rpm package overwrite these files and I lost my newly edited files. I wonder if there is a way to ...
2
votes
1answer
331 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
1k views

View Configuration File Changes With RPM or Yum

How do I view the changes made to package configuration files (installed using rpm/yum)? I created a FreeRadius server that does MAC Authentication, and I just want to get the lines that I have ...
2
votes
2answers
4k views

MacBook Pro - 7200 vs 5400 rpm drives - Heat and Noise

I am looking at a new 15" MacBook Pro for development purposes. I am planning to run a Virtual Machine for about 50% of my work (Windows 7 x64, IIS, SQL Server, and VS 2010). The upgrade from a 5400 ...
2
votes
2answers
824 views

Converting .rpm file into .deb file using alien in Ubuntu

I have converted an i336 .rpm file into a .deb file in Ubuntu using alien successfully, but I am getting the following error while converting an i586.rpm file of the same application into a .deb file: ...