Questions tagged [rpm]

RPM Package Manager (RPM) is a package management system for unix based operating systems.

RPM Package Manager (RPM) (originally Red Hat Package Manages) is a powerful and mature command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating primarily and nowadays also software packages. Each software package consists of an archive of files along with information about the package in "Binary RPMs" like its version, a description, and the like.

2353 questions
349
votes
7 answers

How to list the contents of a package using YUM?

I know how to use rpm to list the contents of a package (rpm -qpil package.rpm). However, this requires knowing the location of the .rpm file on the filesystem. A more elegant solution would be to use the package manager, which in my case is YUM.…
Lorin Hochstein
  • 57,372
  • 31
  • 105
  • 141
219
votes
7 answers

How do I find which rpm package supplies a file I'm looking for?

As an example, I am looking for a mod_files.sh file which presumably would come with the php-devel package. I guessed that yum would install the mod_files.sh file with the php-devel x86_64 5.1.6-23.2.el5_3 package, but the file appears to not to be…
wherestheph
  • 2,369
  • 2
  • 14
  • 6
194
votes
19 answers

How do I extract the contents of an rpm?

I have an rpm and I want to treat it like a tarball. I want to extract the contents into a directory so I can inspect the contents. I am familiar with the querying commands of an uninstalled package. I do not simply want a list of the contents of…
Jeff Sheffield
  • 5,768
  • 3
  • 25
  • 32
188
votes
3 answers

Determining the path that a yum package installed to

I've installed ffmpeg using yum under Redhat, and I'm having difficulty figuring out where (what path) it installed the package to. Is there an easy way of determining this without resorting to finding it myself manually?
brettbuddin
  • 1,899
  • 2
  • 12
  • 4
171
votes
12 answers

How to make rpm auto install dependencies

I have built two RPM packages proj1-1.0-1.x86_64.rpm libtest1-1.0-1.x86_64.rpm proj1 depends on the file libtest1.so being present and it is reflected correctly in the RPM packages as seen here: user@my-pc:~$ rpm -qp --requires…
HAL
  • 3,888
  • 3
  • 19
  • 28
154
votes
9 answers

What is the minimum I have to do to create an RPM file?

I just want to create an RPM file to distribute my Linux binary "foobar", with only a couple of dependencies. It has a config file, /etc/foobar.conf and should be installed in /usr/bin/foobar. Unfortunately the documentation for RPM is 27 chapters…
Steve Hanov
  • 11,316
  • 16
  • 62
  • 69
129
votes
25 answers

yum error "Cannot retrieve metalink for repository: epel. Please verify its path and try again" updating ContextBroker

I'm trying to update Orion ContextBroker using the command yum install contextBroker. Unfortunatelly I get the following error: Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Error: Cannot…
JosepB
  • 2,205
  • 4
  • 20
  • 40
112
votes
8 answers

setup.py examples?

After studying this page: http://docs.python.org/distutils/builtdist.html I am hoping to find some setup.py files to study so as to make my own (with the goal of making a fedora rpm file). Could the s.o. community point me towards some good…
jedierikb
  • 12,752
  • 22
  • 95
  • 166
97
votes
7 answers

Displaying information on non-installed RPM package?

I googled for this, but couldn't find how to query a non-installed RPM file for its information: # rpm -qa blackfin-jtag-tools-09r1.1-2.i386.rpm # # rpm -qi blackfin-jtag-tools-09r1.1-2.i386.rpm package blackfin-jtag-tools-09r1.1-2.i386.rpm is not…
Gulbahar
  • 5,343
  • 20
  • 70
  • 93
72
votes
5 answers

How to install packages in Linux (CentOS) without root user with automatic dependency handling?

Is it possible to use RPM or YUM or any other package manager in Linux, specifically CentOS, to install a package either already downloaded or from repo to a custom location without admin/root access? I tried building from sources, using cmake,…
user3330840
  • 6,143
  • 7
  • 26
  • 39
71
votes
4 answers

Rails + New Relic: What does RPM mean?

I just started using New Relic RPM with my rails app, and one of the metrics they provide is "Throughput RPM". I have googled everywhere and thoroughly combed the New Relic docs, and I cannot find ANY written explanation of the RPM throughput…
Andrew
  • 42,517
  • 51
  • 181
  • 281
52
votes
4 answers

How to ignore conflicts in rpm installs

I have a bunch of rpm files in a folder. I am trying to install them using: rpm -ivh *.rpm so rpm can take care of the correct installation order. On some of these rpms I have a newer version installed in my system so I get for example: package…
Cobra Kai Dojo
  • 1,018
  • 2
  • 12
  • 25
51
votes
4 answers

How to reinstall rpm package?

I have installed a package from .rpm file and it is stored in /opt. After some configuration I found that I need to reinstall the software. So I deleted the directory and attempted to reinstall the file with rpm -i XXX.rpm. But it tells me that…
Newbie
  • 2,775
  • 6
  • 33
  • 40
45
votes
7 answers

extract the spec file from rpm package

Is there any way to extract the spec file from rpm package ( I have only RPM file ) not by rpm --scripts -qp my-great-app-1.1.2.rpm ( this syntax not get the spec file only the scripts from the rpm)
jon
  • 903
  • 5
  • 14
  • 21
43
votes
4 answers

How can I build an RPM on my MacOS system?

I'm running Mac OS X 10.6.6. I have some data-only RPMs that I'd like to build. Until recently I've done most of my development on a VM running CentOS, but one by one I've been able to transition these tasks to the Mac proper. I've been using Fink…
John Trammell
  • 693
  • 1
  • 6
  • 10
1
2 3
99 100