Questions tagged [yum]

yum is a software package manager that installs, updates, and removes packages on RPM-based systems.

yum is a software package manager that installs, updates, and removes packages on RPM-based systems. It automatically computes dependencies and figures out what things should occur to install packages. yum makes it easier to maintain groups of machines without having to manually update each one using rpm.

1853 questions
22
votes
2 answers

Bash Centos7 "which" command

I realize this might be a dumb question but I have a Centos-7 minimal server install and the "which" command does not exist or is missing. I have a script that needs it and I cannot find out what the yum package is that installs it. The code is…
asgard
  • 223
  • 1
  • 2
  • 4
21
votes
1 answer

Installing tshark on RHEL

Is there a way to install tshark on RHEL machines using yum install? when i did: yum install tshark I got back: Setting up Install Process No package tshark available. Nothing to do When i did: yum list tshark I got back: Loaded plugins:…
Chander Shivdasani
  • 9,878
  • 20
  • 76
  • 107
21
votes
4 answers

PostgreSQL on Elastic Beanstalk (Amazon Linux 2)

With former generation of Amazon Linux, all I needed to do is add the following in .ebextensions in order to use PostgreSQL: packages: yum: postgresql93-devel: [] Now when I deploy on EB with the following platform: Python 3.7 running…
21
votes
6 answers

docker-runc not installed on system

I recently updated my Centos 7 based machine. And since, i fail to start any of my dockers. Does someone have some experience with this issue and if yes how did you fix it ? Thanks for your valuable help. Below the error log docker run -it…
Nabil
  • 1,175
  • 2
  • 13
  • 29
21
votes
3 answers

CentOS 7 and Puppet unable to install nc

I am having a weird issue with having puppet enforce the package nc. I installed it manually in the end via: yum install nc I see puppet does it via: /usr/bin/yum -d 0 -e 0 -y list nc Returns: Error: No matching Packages to list I have tested this…
Werner
  • 791
  • 1
  • 6
  • 23
21
votes
4 answers

How can I install xclip on an EC2 instance?

I'm following Github's instructions for adding an SSH key. I've generated the id_rsa.pub file from my AWS EC2 instance, but I cannot complete the step that has me copy the contents of the file using xclip because I cannot install xclip onto the EC2…
Jeromy French
  • 11,812
  • 19
  • 76
  • 129
20
votes
1 answer

Trouble Installing Git on CentOS

I'm having trouble installing Git on CentOS 5.5 x86_64. I'm not an expert at this type of thing, what's the problem? root@server [/]# yum install git Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel:…
Alasdair
  • 13,348
  • 18
  • 82
  • 138
20
votes
6 answers

RHEL8/Fedora - yum/dns causes cannot download repodata/repomd.xml for docker-ce

Question How to fix the Cannot download repodata/repomd.xml: All mirrors were tried for docker-ce. Problem Get the error Cannot download repodata/repomd.xml: All mirrors were tried with yum install docker-ce by following the current (as of…
mon
  • 18,789
  • 22
  • 112
  • 205
20
votes
4 answers

How to install Maven into Red Hat Enterprise Linux 6?

I'm working on a Scientific Linux box and am trying to install Maven using the yum command. Scientific Linux for those of you who do not know is based off of Red Hat Linux Enterprise Edition 6. I'd prefer to install Maven in a way that lent itself…
Jacob
  • 203
  • 1
  • 2
  • 5
20
votes
2 answers

How to install software in CentOS

apt-get install devscripts What is the equivalent in centOS?
TIMEX
  • 259,804
  • 351
  • 777
  • 1,080
20
votes
4 answers

How does one easily add posix support to PHP using yum?

I am running CentOS 5.2 and using yum to manage packages. I have had little luck installing php-posix but know with almost 100% certitude that it is a real and available package...somewhere. Has anyone had luck installing it? FWIW, I am using the…
Kyle
  • 1,054
  • 2
  • 14
  • 27
19
votes
6 answers

Azure RedHat vm yum update fails with "SSL peer rejected your certificate as expired."

I just started a Standard RedHat 7 VM on Azure. I login and type: sudo yum update and get: Loaded plugins: langpacks, product-id,…
Robin Owens
  • 191
  • 1
  • 1
  • 4
19
votes
3 answers

install sqlite3 dev and other packages in centos

I am trying to install sqlite dev and other libraries in a centos machine with cpanel, to be able to compile an application. I am more acquainted with debian than centos, and I know the libraries I need…
Miguel Mesquita Alfaiate
  • 2,851
  • 5
  • 30
  • 56
19
votes
1 answer

What is the exact command to install yum through brew?

I tried installing yum through brew install command. but it is not working with the message below. What is the problem? I can not find any good materials. $ brew install "yum" Error: No available formula with the name "yum" ==> Searching for…
verystrongjoe
  • 3,831
  • 9
  • 35
  • 66
18
votes
2 answers

How to instruct yum to install a specific package (rpm) from a specific repo

If the rpm package is available in multiple repos (configured in /etc/yum.repos.d/ directory), yum is scanning all the repo files and installing it from the one which has the latest version of that package. I want the package to be downloaded from a…
Vivek
  • 11,938
  • 19
  • 92
  • 127