yum

Can yum be used to list the contents of a package?

I know how to use rpm to list the contents of a package (rpm -qpil package.rpm). Is there any way to do this with yum? ...

Why won't my package upgrade with yum?

I'm trying to upgrade a package using yum on Fedora 8. The package is "elfutils". Here's what I have installed locally: $ yum info elfutils Installed Packages Name : elfutils Arch : x86_64 Version: 0.130 Release: 3.fc8 Size : 436 k Repo : installed Summary: A collection of utilities and DSOs to handle compiled objects There's ...

Installing a specific package version with yum

I have a Fedora system with Postgres version 8.3 and I want to downgrade to 8.2 because of a compatibility issue. I've been using yum for everything, but it's my first time with this package manager, and I don't know how to downgrade things. So how do I tell it to give me a specific version of a package? EDIT: I managed to get this wo...

Given an rpm package name, query the yum database for updates

I was imagining a 3-line Python script to do this but the yum Python API is impenetrable. Is this even possible? Is writing a wrapper for 'yum list package-name' the only way to do this? ...

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 provide a yet-to-be-installed package.) Background in case some context is needed: We have a m...

Overriding yum dependency checks when newer versions of the dependent software exist

I'm using yum on CentOS 5.1 - I hand-compiled PHP 5.2.8 from source, but have other packages installed using yum. I need to install a PHP extension via pecl, and it requires phpize to be installed as well. However, doing the following yields a dependency error: sudo yum install php-devel Error: Missing Dependency: php = 5.1.6-20.el...

Django on CentOS

I'm looking to use Django on a shared host that's running an unknown version of CentOS. My main problem is trying to interface with a database. The server has MySQL installed, but not MySQL-python. I initially thought of suggesting running "yum install MySQL-python", but apparently the version of MySQL-python that's in the default reposi...

Using CentOS repository on a Redhat Installation

Does a Redhat installation support CentOS repository e.g I install Redhat and in the yum repositories I define it to use CentOS's repository? ...

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 following: sudo yum install -y php-posix Update: I've realized that this may be an issue ...

how do I find which rpm package supplies a file I'm looking for?

As an example, I am looking for a mod_files.sh file which presumably would come with the php-devel package. I guessed that yum would install the mod_files.sh file with the php-devel x86_64 5.1.6-23.2.el5_3 package , but the file appears to not to be installed on my filesystem. How do I find out which package installs the specific file ...

how to use a private yum repo on amazon-s3 to provision amazon-ec2 instances?

My fantasy is to be able to spin up a standard AMI, load a tiny script and end up with a properly configured server instance. Part of this is that I would like to have a PRIVATE yum repo in S3 that would contain some proprietary code. It seems that S3 wants you to either be public or use AMZN's own special flavor of authentication. Is...

Resolving missing dependency libexif.so.9 while trying to Yum install Mono on CentOS 5.3.3

Hey guys, I'm trying to install Mono on CentOS 5.3.3 through Yum. According to the instructions I found elsewhere I grabbed a copy of mono.repo from the Mono site and placed it in the /etc/yum.repos.d directory. The file looks like this: [mono] name=Mono for rhel-4-i386 (stable) baseurl=http://ftp.novell.com/pub/mono/download-sta...

What is the centOS equivalent?

apt-get install devscripts What is the equivalent in centOS? ...

Determining the path that a yum package installed to

I've installed ffmpeg using yum under Redhat, and I'm having difficulty figuring out where (what path) it installed the package to. Is there an easy way of determining this without resorting to finding it myself manually? ...

PCI Compliance + Magento + PHP version

I'm trying to get PCI Compliance for my dedicated server (Red Hat Enterprise Linux), which is running Magento. When I first installed Magento on the server, I realized that RHEL comes with a PHP version which is too old for Magento (5.1.6). So, I found a separate repo with PHP version 5.2.11, which got everything running fine, but now I'...

yum install php-pear* on centos

Hi, I'm trying to install pear on my centos. I've used "yum install php-pear*" to install pear and it seemed to install with success. No errors. I restart my server. However when I check out phpinfo(). I see that my php is still built using "--without-pear". Isn't yum supposed to rebuild my php with pear? What would be possibly going...

How to use an RPM option in a yum upgrade?

I need to upgrade an RPM installed via YUM, which has an fatal bug in its postun section. This will get run (and delete the program's user, which is what I want to not happen) when I run "yum upgrade". I know that if I were using rpm directly, I could just use the "-nopostun" option to skip this section, but I don't see a way of access...

Development packages for X11 for CentOS

Hello, Some one know what are development packages for X11 for CentOS 3? Thank you for ahead ...

Can this package be recompiled

Hello I asked this question to superuser but I did not get a good question there and i really need the answer. I know some of you here can answer this question. I have installed nginx via yum. Now I want to add a module, but I have to compile the source again and include the the new module. But i can't find the source. Does someone kno...

Problem with glaux.h locating

Hello, I try to compile code, that beggins with: #include<stdlib.h> #include<GL/gl.h> #include<glaux.h> with command: cc -o test test.c -I/usr/local/include -L/usr/local/lib -lMesaaux -lMesatk -lMesaGL -lXext -lX11 -lm But one of errors I got is: test.c:3:18: error: glaux.h: No such file or directory Then I try: yum provides ...