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
35
votes
6 answers

How do I install PHP intl extension on CentOS?

I know virtually nothing about installing packages. I managed to install Zend Framework 1 with yum a while back by following a very specific tutorial. Now I need the PHP intl extension and I can't figure out how to install it. I did yum list…
toxalot
  • 11,260
  • 6
  • 35
  • 58
34
votes
1 answer

Yum fails with - There are no enabled repos.

I'm trying to install "libstdc++.i686" with yum install libstdc++.i686 but it failes beacuse of this error: qa@qa-teamcity01:/usr/local/nsis/nsis-2.46-src$ sudo yum install libstdc++.i686 [sudo] password for qa: There are no enabled repos. …
Shahar Hamuzim Rajuan
  • 5,610
  • 9
  • 53
  • 91
31
votes
1 answer

How to install "make" in ubuntu?

I'm trying to install "yum" or "apt-get" into my system "ubuntu centOS". I did download the binary files for these two programs from the internet using the command wget. but after decompressing the files using the command "tar -zxvf "filename" ,then…
kadora
  • 325
  • 1
  • 5
  • 8
29
votes
10 answers

CentOS 8 - yum/dnf error: Failed to download metadata for repo

On my CentOS 8 server, many dnf and yum commands fail with this error: Failed to download metadata for repo This seems to apply only to repositories involving https connections, e.g.: /etc/yum.repos.d $ cat…
CODE-REaD
  • 2,819
  • 3
  • 33
  • 60
29
votes
2 answers

Official Fedora package for 'xxd' command?

I need to use a script based upon xxd, but it's not installed on my Fedora 21: $ xxd bash: xxd: command not found So I tried without success to search and install it: $ yum install xxd (fails) $ yum search xxd (fails) $ yum search all xxd (fails -…
Bludzee
  • 2,733
  • 5
  • 38
  • 46
29
votes
4 answers

Disable yum transaction check for file conflict

How do I disable yum transaction check for a file ? Transaction check error: file /usr/local/xenco/backend/current from install of xenco-rr-1.9.6-104.x86_64 conflicts with file from package xenco-server-1.9.6-104.x86_64
Chucks
  • 899
  • 3
  • 13
  • 29
29
votes
8 answers

Why does configure say no C compiler found when GCC is installed?

I am trying to make Sphinx from source on a 32-bit CentOS 6 VPS. When I run this command: ./configure --prefix=/usr/local/sphinx I get this error output: checking build environment -------------------------- checking for a BSD-compatible…
Garry Pettet
  • 8,096
  • 22
  • 65
  • 103
28
votes
2 answers

Listing yum group

When I run yum grouplist in a Red Hat environment and I received the following groups under the Available Groups list. How do I find out that which packages are contain in a specific group (e.g 'Development Tools')? I would like to install specific…
WhereIsTheBubble
  • 325
  • 1
  • 7
  • 9
26
votes
2 answers

Install single package from Rawhide

How can one install a single Rawhide package, without upgrading the entire operating system?
Zombo
  • 1
  • 62
  • 391
  • 407
25
votes
2 answers

What's the difference between rpm and yum?

Is there any difference between rpm and yum? I know the recent system prefer yum, but want to know if there is need for rpm also.
user705414
  • 20,472
  • 39
  • 112
  • 155
24
votes
3 answers

What is the difference between two "state" option values, "present" and "installed", available in Ansible's yum module?

I have the following task in my ansible playbook: - name: Install EPEL repo. yum: name: "{{ epel_repo_url }}" state: present register: result until: '"failed" not in result' retries: 5 delay: 10 Another value I can pass to…
kevmo
  • 677
  • 1
  • 8
  • 20
24
votes
4 answers

RHEL 6 - how to install 'GLIBC_2.14' or 'GLIBC_2.15'?

I need these 2 packages installed on RHEL 6 linux system. They are required by several other programs. When I do: sudo yum install glibc-devel this is output: Loaded plugins: product-id, security Setting up Install Process Package…
Joe
  • 11,983
  • 31
  • 109
  • 183
24
votes
4 answers

Checking for installed packages and if not found install

I need to check for installed packages and if not installed install them. Example for RHEL, CentOS, Fedora: rpm -qa | grep glibc-static glibc-static-2.12-1.80.el6_3.5.i686 How do I do a check in BASH? Do I do something like? if [ "$(rpm -qa | grep…
amanada.williams
  • 467
  • 2
  • 4
  • 9
23
votes
4 answers

How to install nginx 1.9.15 on amazon linux disto

I try to install the latest version of nginx (>= 1.9.5) on a fresh amazon linux to make use of http2. I followed the instructions that are described here -> http://nginx.org/en/linux_packages.html I created a repo file…
wiesson
  • 6,544
  • 5
  • 40
  • 68
23
votes
3 answers

yum on Centos stuck at "loaded plugins: fastestmirror"

When trying to install a package using yum on Centos, the command is getting stuck at the first part: loaded plugins: fastestmirror I've tried: removing /var/cache/yum/timedhosts.txt See suggestion yum update yum making sure there are no other…
Drew
  • 6,311
  • 4
  • 44
  • 44