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
61
votes
3 answers

Completely remove MariaDB or MySQL from CentOS 7 or RHEL 7

I installed MariaDB on CentOS 7 but I had some problems with some configuration, now it is completely misconfigured. Thus, I wanted to remove the MariaDB with “yum remove mariadb mariadb-server”, after that I reinstalled it with “yum install…
Stack Over
  • 751
  • 2
  • 6
  • 7
61
votes
10 answers

Upgrade python without breaking yum

I recently installed Python 2.7.3 on a CentOS machine by compiling from source. Python 2.7.3 is installed at /opt/python2.7 and when I installed it I just changed /usr/bin/python to point to the new version. This apparently is wrong though because…
tbeauvais
  • 1,698
  • 4
  • 18
  • 22
57
votes
9 answers

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

When I exectued command to install application following error accured: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory I was not aware of how to fix this problem, to find out resolution I searched for solotutions on net and…
vijay
  • 587
  • 1
  • 4
  • 4
55
votes
1 answer

Can't use yum inside Docker container running on CentOS

I am unable to run any yum commands inside my Docker container without getting the following error: ovl: Error while doing RPMdb copy-up: [Errno 13] Permission denied: '/var/lib/rpm/Group' You need to be root to perform this command. I'm confused…
NateW
  • 2,856
  • 5
  • 26
  • 46
54
votes
5 answers

How to install maven on redhat linux

Note: When originally posted I was trying to install maven2. Since the main answer is for maven3 I have updated the title. The rest of the question remains as it was originally posted. I'm trying to install maven2 on a redhat linux box using the…
OrwellHindenberg
  • 4,988
  • 8
  • 38
  • 58
52
votes
3 answers

Can't install python-dev on centos 6.5

Can't install python-dev on centos 6.5. Yum says "No package python-dev available.". No graphical solutions please.
user3616331
  • 531
  • 1
  • 4
  • 3
52
votes
19 answers

YumRepo Error: All mirror URLs are not using ftp, http[s] or file

I have set up a centOS 6.5 server using VMWare Workstation 9 on a Windows 8.1 host laptop. When trying to use yum to install packages I get the following error: [root@localhost ~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from…
TheJimmer
  • 521
  • 1
  • 4
  • 3
49
votes
6 answers

How to enable mysqlnd for php?

I have PHP installed and running (version: 5.3.17) and I want to switch to mysqlnd (in the phpinfo mysqlnd does not exist at all). I read that in order to set it, you need to update the ./configure command: ./configure --with-mysql=mysqlnd…
SimonW
  • 6,175
  • 4
  • 33
  • 39
45
votes
9 answers

Duplicate Package - update / upgrade - Centos

When I try running yum update on a CentOS 6.3 box, I am getting errors, and says to run yum check. The output of yum check is: ➜ ~ yum check Loaded plugins: fastestmirror glibc-2.12-1.107.el6_4.5.x86_64 is a duplicate with…
Justin
  • 42,716
  • 77
  • 201
  • 296
43
votes
7 answers

Can yum tell me which of my repositories provide a particular package?

Hopefully short version of the question: If I'm on a machine that has a particular package installed, is there a yum command that will tell me which of it's configured repositories provided that package? (Or alternately, what repository would…
Brian Deacon
  • 21,384
  • 13
  • 39
  • 41
41
votes
1 answer

Ansible: How can I update the system CentOS with Ansible

I am trying to update the CentOS systems with ansible. Unfortunately I am not able to do that. I already tried: - name: install updates yum: update_cache=yes when: ansible_os_family == "RedHat Isn't working. - name: install updates yum:…
tuCsen
  • 419
  • 1
  • 4
  • 6
40
votes
9 answers

Install R packages using docker file

I have installed R using below line in my docker file. Please suggest how do I specify now packages to be installed in my docker file. RUN yum -y install R-core R-devel I'm doing something like this: RUN R -e…
Ashag
  • 837
  • 2
  • 15
  • 24
38
votes
4 answers

Python cannot find dateutil.relativedelta

I am trying to run a program using paster serve, but I keep getting the error: ImportError: No module named dateutil.relativedelta I am running Python version 2.6.7 and dateutil version 1.5, so it should be installed. Has anyone got any ideas as…
RonnyKnoxville
  • 6,166
  • 10
  • 46
  • 75
37
votes
6 answers

Linux - Yum Install GCC - Missing Kernel-headers

When ever i try to install GCC on my linux (centos) It comes back with missing glibc-headers-2.5-58.el5_6.4.x86_64 from updates has depsolving problems --> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5- …
Stewart Dick
  • 381
  • 1
  • 3
  • 6
36
votes
4 answers

Is there any way to retrieve a dependency tree from yum?

To reduce the chance of the XY problem, I'm trying to install PostGIS on a clean, virtual RHEL5 installation with heavy restrictions. I do not know if we (as a company) have a RH subscription. # yum install postgis Loaded plugins: product-id,…
Sean Allred
  • 3,558
  • 3
  • 32
  • 71