Questions tagged [rpm]

RPM is a package management system intended primarily for Linux distributions.

The Red Hat Package Manager, or RPM, is a low-level package manager developed by Red Hat for its Red Hat Enterprise Linux distribution. RPM is primarily used on distributions belonging to the Red Hat family (notable examples being Fedora, RHEL and CentOS) and distributions belonging to the SUSE family (notable examples being OpenSUSE and SUSE Enterprise Linux).

RPM is rarely directly used. Instead, it is generally used with a high-level package manager which provides things like dependency management and automatic fetching of binary packages from the internet. yum is one such high-level package manager - it is typically used with Red Hat-family distributions. zypper is another RPM-based high-level package manager - it is usually used under the distribution family it was developed for: SUSE.

FURTHER READING:

1057 questions
189
votes
12 answers

What are the pros/cons of deb vs. rpm?

For whatever reasons, I've always used RPM based distributions (Fedora, Centos and currently openSUSE). I have often heard it stated that deb is better than rpm, but when asked why, have never been able to get a coherent answer (usually get some…
Evan
  • 2,041
  • 2
  • 13
  • 8
108
votes
1 answer

How do I force yum to install without prompting the user, using bash?

I'm writing a bash script to install php5.4 and I'd like to automate this for a test VM. The rpm command I have is: rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm yum install php54w Now, in the middle of this running, there is a user prompt…
Bradley
  • 1,489
  • 3
  • 10
  • 15
102
votes
3 answers

Install PostgreSQL client (psql) only on CentOS

Simple question, but no resources found about this. Is there any way to install only a PostgreSQL client, the terminal-based one, psql, on a CentOS7 system, without installing the complete PostgreSQL server? There is no dedicated postgresql-client…
97
votes
5 answers

How to check available package versions in rpm systems?

If I want to check available versions of a package in Debian, I run apt-cache policy pkgname which in the case of wajig gives: wajig: Installed: 2.01 Candidate: 2.01 Version table: *** 2.01 0 100 /var/lib/dpkg/status 2.0.47 0 …
tshepang
  • 64,472
  • 86
  • 223
  • 290
82
votes
8 answers

List all RPM packages installed from repo "X"

How can I get a list of all of the RPM packages that have been installed on my system from a particular repo (e.g., "epel")?
Lorin Hochstein
  • 8,077
  • 17
  • 50
  • 56
81
votes
5 answers

Remove unused packages

I have installed some rpm package on my Fedora 17. Some packages had a lot of dependencies. I have removed some packages but I forgot remove unused dependencies with yum remove. How can I do that now?
mudlee
80
votes
1 answer

Do I need to do something about "Delta RPMs disabled"?

While updating packages on our CentOS server I got the following message: Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. Do I need to do something about that? Should I just ignore this?
user166758
  • 803
  • 1
  • 6
  • 6
74
votes
3 answers

yum install in user home for non-admins

I am a non-admin user on a large computer system. I need some up to date packages that are not installed on the system. I want to use yum to install them. As a user without sudo, admin, or root access, can I use package management to install…
highBandWidth
  • 873
  • 1
  • 7
  • 7
60
votes
7 answers

Open a RPM on a Mac?

I am on a MacBook Pro running Apple Leopard (Mac OS X 10.5.8). I would like to unpackage a RPM and view the files contained within the wget-1.11.4-2.el5_4.1.src.rpm . I don't need to install the files to a particular location or run any %postinstall…
Stefan Lasiewski
  • 19,264
  • 24
  • 70
  • 85
56
votes
2 answers

Local installation of .rpms using YUM

I'm asking this question cautiously because I don't want to get this wrong. I have a program_name.rpm file saved locally on my server (CentOS 6.5). I have installed it previously just by navigating to it and using yum install program_name.rpm which…
TheLovelySausage
  • 4,183
  • 9
  • 30
  • 49
54
votes
3 answers

CentOS: List the installed RPMs by date of installation/update?

I'm on a CentOS machine. I updated and installed some packages a few weeks back, but I don't remember the name of every package or the names of every dependency. I used yum. Can I list the packages on my system by the date they were last installed…
Stefan Lasiewski
  • 19,264
  • 24
  • 70
  • 85
52
votes
6 answers

What are .deb and .rpm and how are they different from .msi?

What are these file formats and how do they differ from the .msi format in Windows? Also what are the pros and cons of these package management schemes?
deathholes
  • 807
  • 1
  • 6
  • 11
45
votes
3 answers

How to use yum to get all RPMs required, for offline use?

I have one server with net connectivity, where I can use "yum install $PACKAGE". I want some yum command, like yum cache-rpms $PACKAGE $DIRECTORY such that all required RPM files will be downloaded to $DIRECTORY, which will also have a file…
Prem
  • 3,282
  • 3
  • 21
  • 34
35
votes
5 answers

Install RPM file on Arch Linux?

I want to install sqldeveloper from Oracle on Arch Linux. The only Linux download option is RPM. I am not interested in using arch repositories to install sqldeveloper. I can only use what the vendor provides.
Zombies
  • 645
  • 1
  • 7
  • 11
33
votes
4 answers

How do I tell which GPG key an RPM package was signed with?

The cryptographic signature of an RPM can be verified with the rpm -K command. This returns a string containing gpg (or pgp) and ending in OK if the signature is in RPM's database and is valid. If the package is not signed but the checksums are…
mattdm
  • 39,535
  • 18
  • 99
  • 133
1
2 3
70 71