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.

1679 questions
50
votes
2 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
  • 511
  • 1
  • 4
  • 3
50
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,731
  • 7
  • 34
  • 54
48
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
  • 5,527
  • 3
  • 27
  • 35
46
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,434
  • 4
  • 22
  • 40
44
votes
7 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
  • 457
  • 1
  • 4
  • 4
42
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
  • 34,956
  • 68
  • 168
  • 266
41
votes
5 answers

How to install packages in Linux (CentOS) without root user with automatic dependency handling?

Is it possible to use RPM or YUM or any other package manager in Linux, specifically CentOS, to install a package either already downloaded or from repo to a custom location without admin/root access? I tried building from sources, using cmake,…
user3330840
  • 3,021
  • 5
  • 18
  • 30
40
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
  • 19,494
  • 12
  • 36
  • 40
35
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
  • 5,103
  • 9
  • 37
  • 67
35
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
  • 361
  • 1
  • 3
  • 6
34
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
  • 349
  • 1
  • 3
  • 6
32
votes
17 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
  • 321
  • 1
  • 3
  • 3
31
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,206
  • 2
  • 28
  • 62
30
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
  • 319
  • 1
  • 5
  • 8
29
votes
5 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
  • 9,829
  • 5
  • 33
  • 56