Questions tagged [rpm]
.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.
325
questions
144
votes
2
answers
150k
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 [...
92
votes
5
answers
187k
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?
92
votes
8
answers
212k
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.
75
votes
5
answers
113k
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 ...
31
votes
4
answers
78k
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....
31
votes
3
answers
44k
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.
27
votes
3
answers
154k
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.
26
votes
3
answers
170k
views
How to install rpm file along with its all dependencies?
I'm trying to install HPCC on RHEL based machine.
I have one .rpm file and to install this rpm, I'm using following command:
sudo rpm -Uvh hpccsystems-platform_community-4.0.0-9.el6.x86_64.rpm
I'm ...
24
votes
5
answers
87k
views
Where does yum save the RPM files 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 ...
21
votes
5
answers
80k
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....
20
votes
5
answers
17k
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.
18
votes
3
answers
22k
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 ...
13
votes
2
answers
34k
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 ...
11
votes
1
answer
35k
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 ...
10
votes
2
answers
37k
views
Determining Yum repo URL
If I add a new repo file under /etc/yum.repo.d/ folder. How can I gather all the URL which yum update will go out to fetch updates.
I am asking this because I have a server behind a firewall, which ...
10
votes
2
answers
19k
views
How to extract RPM from RPM database on Red Hat Enterprise Linux
Is there a way to extract an installed RPM from an RPM database on Red Hat Enterprise Linux to reproduce the original .rpm file?
9
votes
1
answer
21k
views
Installing a systemd service from an RPM?
I've been creating RPMS (using CMake's CPack) which install everything into /opt, and then the postinstall script copies the service definition files to /etc/systemd/system.
I've toyed around with ...
8
votes
7
answers
29k
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-...
8
votes
5
answers
36k
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 ...
8
votes
3
answers
12k
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 ...
8
votes
1
answer
17k
views
How to show all versions of a library from specified repo?
I thought I've uploaded a rpm with version myserv-2-7.rpm to a custom repo myrepo1, but when I use:
yum --enablerepo myrepo1 install myserv
It installed a different version of myserv from another ...
8
votes
4
answers
12k
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 ...
7
votes
2
answers
19k
views
Is it possible to download rpm files in Fedora for offline usage? (See description)
I have a Fedora-installed PC which is disconnected from internet (and there's nothing I can do about it). So I want to download rpm files for various softwares on another PC and then install them ...
7
votes
2
answers
43k
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: read
...
7
votes
1
answer
7k
views
Why do I get Files Listed Twice when building my RPM?
My understanding is that if I specify the %dir directive under the %files list, RPM will not list any files under that directory. Doing this can allow you to set specific permissions for the directory ...
6
votes
3
answers
14k
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, ...
6
votes
3
answers
38k
views
Install src.rpm package on Red hat Linux
How can i install src.rpm package on Red hat Linux ?
6
votes
1
answer
34k
views
Find where packages have been installed using rpm
CentOS 5.3
I have been installing some packages using
rpm -ivh package
However, I am just wondering what command I can use to find the path of where the packages are installed.
Many thanks,
6
votes
3
answers
10k
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 ...
6
votes
1
answer
3k
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?
6
votes
2
answers
11k
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 ...
6
votes
4
answers
34k
views
How do I deal with "unpacking of archive failed ... cpio: symlink"?
I've gotten stuck on a problem. I'm packaging an existing project into an RPM. It builds fine but when I run
sudo yum localinstal --nogpgcheck <path to rpm>
I get the following error message:
...
5
votes
2
answers
2k
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?
5
votes
1
answer
41k
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 ...
4
votes
2
answers
59k
views
RPM should not be used directly install RPM packages (2)
At https://superuser.com/questions/607493/rpm-should-not-be-used-directly-install-rpm-packages, this problem seems to have been solved. Problem is, that working with Linux Mint, this answer shouldn't ...
4
votes
1
answer
3k
views
parallel install ncurses-6 & ncurses-5 on fedora 24
I just upgraded from fedora 23 to 24, and it broke some binaries I have on my system that were not installed from fedora's repositories, due to the ncurses upgrade from version 5 to version 6:
error ...
4
votes
1
answer
2k
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 ...
4
votes
1
answer
1k
views
No module named yum when working on RHEL 8
Since our application works with python2, we needed to move to RHEL 8
After we installed python2 on RHEL 8 machine, we see the following:
rpm -qa | grep python2
python2-pip-9.0.3-19.module+el8.6.0+...
4
votes
1
answer
3k
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 ...
4
votes
1
answer
1k
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 ...
4
votes
1
answer
5k
views
RPM installation returning exit code 1
I'm working on an embedded system and have created a bunch of RPMs. The following problem is present in some of the RPMs.
When I install/upgrade version 2 of the RPM on top of version 1 or install ...
4
votes
1
answer
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
2
answers
2k
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
2
answers
341
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
1
answer
5k
views
What does the "w" in "yum install -y php56w" stand for?
Following instruction on this page I installed PHP using command:
yum install -y php56w
My question is: what does the 'w' stand for in php56w?
3
votes
2
answers
3k
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, ...
3
votes
1
answer
6k
views
How do I find what RPM package provides a system executable with Fedora?
Want package provides gnome-sound-recorder in Fedora?
3
votes
1
answer
9k
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
2
answers
3k
views
Install FFMPEG in Redhat Linux via rpm for a non root user
How can i install ffmpeg rpm for a non root user on linux server. I tried installing the package using
rpm -ivh ffmpeg-devel-0.10.15-1.el6.i686.rpm
The above package shows number of dependency ...
3
votes
5
answers
23k
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. ...