Questions tagged [yum]

YUM is an open-source command-line package-management utility for RPM-compatible Linux operating systems.

The Yellowdog Updater, Modified (YUM) is an open-source command-line package-management utility for RPM-compatible Linux operating systems and has been released under the GNU General Public License. Though yum has a command-line interface, several other tools provide graphical user interfaces to yum functionality.

1465 questions
16
votes
4 answers

Where can I find an online list of CentOS packages and their versions?

I am looking for an online list of the standard packages available for CentOS Linux. I know that if I had a CentOs system running, I could use yum to list packages. However, I am trying to evaluate what roadblocks we will run into, when we switch…
bryan kennedy
  • 1,721
  • 3
  • 16
  • 31
15
votes
3 answers

How did installing this RPM create a file?

Running yum install https://extras.getpagespeed.com/redhat/7/noarch/RPMS/getpagespeed-extras-release-7-1.el7.gps.noarch.rpm creates /etc/cron.d/sysstat2 but RPM disavows the file: # rpm -ql…
Pascal
  • 493
  • 3
  • 11
15
votes
1 answer

What does the "1:" before the package name mean in yum.log

I would be very glad if someone could explain what the 1: before the package name signifies.
Nifle
  • 374
  • 1
  • 8
  • 22
15
votes
4 answers

yumdownloader vs repotrack

I'm working on CentOS 6.3. Recently I come across repotrack from yum-utils. yumdownloader --resolve and repotrack looks very similar, but it looks like yumdownloader download only part of dependencies, where repotrack all dependencies. Just try…
dimba
  • 293
  • 1
  • 2
  • 11
14
votes
4 answers

Installed software from source, how to say yum not to install it from package?

On a CentOS 7, I've installed foobar version 2, compiled from sources. How can I make yum aware of that install so it won't install foobar version 1 for dependency? Installation of foobar $ git clone https://example.com/foobar.git [...] $ cd…
YSC
  • 255
  • 2
  • 10
14
votes
2 answers

Update PHP with yum on Amazon Linux

I have Amazon Linux on EC2, AMI 2013.09. I followed the LAMP install tutorial, http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html, and ended up with PHP5.3 installed. In answer to this question here, Amazon Linux Version Details,…
DatsunBing
  • 459
  • 4
  • 8
  • 17
14
votes
3 answers

How do I remove a repository of yum

When I search for a package in yum(centos 6), it tries to search in a repro named 'c6-media' And it gives a bunch of errors as follows file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read…
sunil
  • 241
  • 1
  • 2
  • 3
14
votes
2 answers

How do I install automake and autoconf on RedHat Enterprise 5?

I am attempting to install "uploadprogress" for a PHP application, and have failed on dependencies. Firstly, on phpize, then php-devel, then on autoconf and automake. I have tried yum, and various repositories, with no luck. I think it's to do with…
Kevin Sedgley
  • 394
  • 1
  • 2
  • 11
13
votes
2 answers

How to remove a yum repo GPG key?

I have a custom RPM repo in Artifactory, and GPG signing keys were recently enabled. When I ran sudo yum check-updates I was prompted to add the key: Retrieving key from https://artifactory.example.com/myrepo/repodata/repomd.xml.key Importing GPG…
cherdt
  • 405
  • 2
  • 4
  • 13
13
votes
3 answers

Notified when a file controlled by puppet is going to be changed by yum

Is it possible to receive a notification on the console when a package containing a file that is controlled by puppet is about to change that file? Meaning, in yum when doing yum update, is it possible to inject a custom warning?
Engineer2021
  • 601
  • 8
  • 25
12
votes
1 answer

Accidentally deleted python and yum is not working in centos7

I am new to linux and was trying to delete python so I can install it from scratch. Instead of deleting only the python files in /usr/local/bin/ I also deleted…
jdhash
  • 121
  • 1
  • 1
  • 3
12
votes
2 answers

Yum: How to show "Command Line" column in "Yum history list all" output?

When I use yum history list command on my CentOS-7 remote server it shows a list of yum history in below format: ID | Command line | Date and time | Action(s) |…
Mojtaba Rezaeian
  • 451
  • 5
  • 14
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
2 answers

How to add language support on CentOS 7 (on Docker)?

I'm trying to set locale to Japanese, but CentOS image on docker doesn't include language support. bash-4.2# yum groupinstall -y "Japanese Support" Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.btte.net *…
DIGITALSQUAD
  • 249
  • 2
  • 3
  • 4
12
votes
2 answers

What is the yum equivalent of dpkg -L?

dpkg -L lists all the files provided by a package. How is this accomplished with yum? The operating system is Scientific Linux 6.
cat pants
  • 2,273
  • 10
  • 35
  • 46