Questions tagged [rpm]

RPM Package Manager is a package management system used primarily for GNU/Linux operating systems. It used the .rpm file format.

RPM Package Manager is a package management system. "RPM" refers to the .rpm file format, files in this format, software packaged in such files, and the package manager itself. RPM was intended primarily for GNU/Linux distributions. The file format is the baseline package format of the Linux Standard Base.

718 questions
13
votes
5 answers

Install recent ImageMagick on CentOS 6.3

I'm having a terrible time trying to get a recent version of ImageMagick installed on a CentOS 6.3 x86_64 server. First, I [downloaded] 1 the RPM from the ImageMagick site and tried to install it. That failed due to missing dependencies: error:…
organicveggie
  • 1,071
  • 3
  • 15
  • 27
13
votes
1 answer

RPM Spec How to specify in package so that previous RPM is removed

Question: What do I put in the foo.spec file so that the RPMs will remove the previous RPM before installing? Description: I have created a spec file that creates rpm's for a few packages that use the same source and provide the same service, each…
fatehks
  • 141
  • 1
  • 1
  • 7
13
votes
1 answer

How can I find what options an rpm was compiled with

I need to find the compile options for exim, as packaged by fedora 11. More generally, is there an easy way to find what options a particular rpm was compiled with?
Cian
  • 5,838
  • 1
  • 28
  • 40
13
votes
6 answers

Python 3.0 RPMs for CentOS 5 (RHEL 5)

Where is the best repository you use to obtain RPMs for Python 3.0 which are well maintained?
Jonathan Prior
  • 257
  • 1
  • 5
  • 12
12
votes
2 answers

Installing Postgres server 9.6 on Amazon Linux

What's the best way to install postgres-server 9.6 on Amazon Linux without building from source? I tried running rpm -i https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-ami201503-96-9.6-2.noarch.rpm to install the version…
shroud
  • 223
  • 1
  • 2
  • 4
12
votes
5 answers

Incremental RPM package version "numbers" for x.y.z > x.y.z-beta (or alpha, rc, etc)

In order to publish RPM packages of several different versions of some software, I'm looking for a way to specify version "numbers" that are considered "upgrades", and include the differentiation of several pre-release versions, such as (in order):…
Jonathan Clarke
  • 1,667
  • 2
  • 11
  • 25
12
votes
3 answers

Do .rpm files have metadata

I have a .rpm file on my windows machine. Is there a way to inspect this file (either on windows or centos) without installing it, to find out where it was compiled from? something like metadata?
sameold
  • 993
  • 3
  • 11
  • 20
12
votes
4 answers

Why is it bad to build RPMs as root?

This page contains a prominent warning: Important Never build RPMS as root. Why is it bad to build RPMs as root? Is it the possibility of overwriting some files? Are there file permissions problems?
readonly
  • 3,359
  • 4
  • 26
  • 23
12
votes
10 answers

rpm without root

Is is possible to use rpm without root access?
David Nehme
  • 2,016
  • 4
  • 16
  • 13
11
votes
1 answer

Getting diffs for file changes detected by rpm -V

I have an installation that has been tampered with, and I want to find out what exactly has been changed. I can run rpm -V MY_PACKAGES which gives me a list of modified files. Now I am looking for a convenient way to see the diffs (assuming that…
Alex Krauss
  • 211
  • 2
  • 4
11
votes
5 answers

How to install mcrypt for PHP 5.3.3 on CentOS 5.7 64 bit?

I installed php 5.3 and some modules using yum install php53-{module-name} But mcrypt did not work. I searched like this: yum list php* | grep mcry The only package that came up was php-mcrypt.x86-64 5.1.6-15.e15.centos.1 extras I…
Buttle Butkus
  • 1,741
  • 8
  • 33
  • 45
11
votes
6 answers

rpm that provides a file

What is the command to list what rpms could provide a particular file: the rpm that provide files already installed or rpms that could provide files that are not installed?
David Nehme
  • 2,016
  • 4
  • 16
  • 13
10
votes
2 answers

Can't uninstall RPM package

I was trying to install and uninstall postgres 9.3. After performing a variety of steps, I found that I have deleted something manually and now I am not been able to proceed further. What I am trying to achieve here is to remove all the traces of…
Vivekanand Joshi
  • 103
  • 1
  • 1
  • 4
10
votes
1 answer

Why does yum index get corrupted?

Occasionally yum's cache gets corrupted and we see errors like this: error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30974) error: cannot open…
TomOnTime
  • 7,945
  • 6
  • 32
  • 52
10
votes
1 answer

where does RPM install custom GPG keys?

Where does CentOS/RHEL 6 store custom GPG keys? I thought /etc/pki/rpm-gpg but I installed nginx's key but unable to find it. I see it was imported properly but where is it? wget http://nginx.org/keys/nginx_signing.key rpm --import…
user1973314
  • 131
  • 2
  • 3
  • 8
1 2
3
47 48