RPM is a package management system intended primarily for Linux distributions.

learn more… | top users | synonyms

4
votes
1answer
1k views

How can I build a rpm for i386 target on a x86-64 machine?

I am building an rpm using rpmbuild command as: rpmbuild -bb --root <DIRECTORY> --target i386 --define "_topdir <DIRECTORY>" <specfile>.spec When I use my SLED 10 SP3 x86 machine, ...
1
vote
1answer
943 views

is there a “xdotool” rpm available for Centos Linux?

It seems to be extremely difficult to install xdotool on CentOS because of it's requirements. such as yum groupinstall 'Development Tools' -y yum install libXi-devel libXtst-devel libXinerama-devel ...
0
votes
2answers
120 views

Installer packages: .bin, -rpm.bin, tar, tar.z

Is it correct that most of Unix&Linux software supports x-copy deployment? If I download the installation package and uncompress the files into a particular directory - would that be enough to ...
2
votes
1answer
293 views

How do I create an RPM package that would fail a YUM transaction if certain creteria are met

I'm trying to package a product consisting of many packages. I'm successful with writing all the spec files, the dependencies between the packages and so on. They're all installed and work fine. The ...
1
vote
1answer
807 views

Installing developer libraries for Fedora 19 without internet connection

I am trying to use Fedora 19 on my Lenovo yoga 13. A common issue with this setup is that the laptop's wifi does not work out of the box on any linux distribution yet. This question and also this ...
2
votes
1answer
70 views

How to pass parameters from %prep to %build?

I have the following problem: In the %prep, I run a command that returns a value. I want to be able to use this value in the %build. I was not able to do it with macros, because %global gets its ...
4
votes
1answer
255 views

RPM fails to uninstall using sudo rpm -e

I have encountered a strange and annoying problem when trying to uninstall certain in-house generated rpm packages using sudo. When I do the following: sudo rpm -e mypackage rpm -qa | grep ...
4
votes
1answer
5k views

How do I force yum to install without prompting the user, using bash?

I'm writing a bash script to install php5.4 and I'd like to automate this for a test VM. The rpm command I have is: rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm yum install php54w Now, in ...
3
votes
1answer
314 views

How to override anaconda/kickstart package ordering?

I am building a bootable ISO to be used to install a Linux image (Oracle Linux, 5.8). This is using anaconda with a kickstart file to select the packages to be loaded. Some of these packages are ...
0
votes
1answer
38 views

How to upgrade Magic Box?

I'm running Magic Box on Virtualbox. Magic Box is a portuguese Linux System, based off of SuSE. At least, that's what it said on the Linux Family Tree. The version I have is V.12. There's the most ...
1
vote
1answer
100 views

How should I compile a dev package from source? [duplicate]

I need to use a package X. X depends on Y so I need the dev package of Y (Y-dev). I also have Y's source. How may I compile Y-dev from Y's source? If this question is incoherent please point me in ...
1
vote
2answers
90 views

Download the Complete Linux Kernel Collection

I am wanting to download EVERY version of the Linux kernel as source code, Debian files, and RPM files. Where can I find a single site where I can download them all at once? If that is not possible, I ...
2
votes
2answers
746 views

How to solve a file path as a failed dependancy when installing a RPM?

I have a RHEL 6 server without any internet access that is missing a cron installation. I am tyring to install crontabs like this but i get this error: [root@netsrvr01 cron.d]# rpm -ivh ...
3
votes
2answers
1k views

Where do installed RPMs go?

I download and install packages on my Red Hat Enterprise Linux Server 6 machine using YUM package manager in command-line mode. When I install apk files on my Android phone, they go to /data/app ...
1
vote
2answers
139 views

Benefits of rpm over deb in the context of a server? [closed]

This related question What are the pros/cons of deb vs. rpm? seems to be more focused on personal computers, but in the context of a server, why do most of the servers run either RedHat / CentOS or ...
2
votes
0answers
38 views

Best way to release an RPM that includes an independently version module

I work on a server software that is targeted for RHEL/CentOS and is currently distributed via a standard RPM file. What brings me here is that it includes a downloadable client engine that users can ...
2
votes
1answer
163 views

What is the debian equivalent to this repoquery command?

What is the debian equivalent to this repoquery command? repoquery --repofrompath="abc,http://path/to/repo" --repoid=abc -q mypkg --qf ...
9
votes
1answer
171 views

What happens to RPM transaction when it is interrupted in the middle?

Let's imagine that I'm installing with RPM packages A, B and C. They are installed in the same order. And suddenly in the middle of installing B there is a power cut. 1) regarding state after turning ...
0
votes
2answers
877 views

How to install MySql on Red Hat 6.1?

I am trying to install MySQL-server-5.6.12-1.el6.i686.rpm on a Red Hat Enterprise 6.1 server. I receive the following error: rpm -Uvh MySQL-server-5.6.12-1.el6.i686.rpm error: Failed dependencies: ...
4
votes
2answers
110 views

Where can I find updated TAR.rpm for Oracle VM Server?

I'm using tar for my incremental backup script on Oracle VM Server 3.2.2 and it comes with tar 1.15.1 I need this command: tar -cf drive-C.full.tar --no-check-device \ ...
2
votes
1answer
68 views

Get Install File for Already Installed RPM

I would like to install this custom package, packageA, onto another Linux box. $yum list installed | grep packageA packageA.x86_64 But, I don't have access to the installation file, i.e. packageA ...
1
vote
2answers
275 views

How to make an application run automatically?

I am trying to run my application when a user logs in. So I've added a script in ~/.bash_profile as follows: # for Buluttdepo /usr/bin/myapp > /dev/null 2>&1 & export ...
0
votes
2answers
1k views

How to run a script when install a rpm package?

I try to build rpm package. I follow here. I want to run a script (bash or python) when run command as "rpm -Uvh mytest-1.0-1.el6.noarch.rpm" . Could run a script when install a rpm package? How?
4
votes
3answers
2k views

How to programmatically determine the highest version kernel RPM installed?

What I want to script is something along the lines of: if [ uname -r is not == highest version of kernel RPM installed ] then echo "You need to reboot to use the latest kernel" fi The problem is, ...
2
votes
2answers
463 views

How can a version of a package conflict with itself?

I want to install fillup and get: rpm -i fillup-1.42-268.1.x86_64.rpm file /usr/bin/fillup conflicts between attempted installs of \ fillup-1.42-268.1.x86_64 and fillup-1.42-268.1.x86_64 ...
3
votes
2answers
271 views

rpmbuild: Is there a way to specify recommended packages

So, search as I might, I can't find anything about specifying recommended packages in a spec file. I wouldn't even consider it possible if I hadn't seen it in the spec file for Mono 2.10.9. It reads ...
2
votes
2answers
130 views

rpmbuild: How can I 'Require' one package *or* another

So, I'm trying to fix a spec file right now for rpmbuild. On Suse, it looks like the X11 library development package is named "xorg-x11-libX11-devel" while on CentOS it seems to be named ...
7
votes
2answers
2k views

Installing a package locally to a user - best practices?

I want to install Git locally to a user on a RHEL server (I don't have root access) What would be your cleanest/ most organized way of installing software to a local user account? Installing ...
3
votes
1answer
46 views

RPM subpackage name

Is it possible to make a subpackage without the inherited prefix from the master package? I have a project that has a single install and need to split this into multiple packages, but the subpackages ...
0
votes
1answer
255 views

Does yum use package buildtime to decide if a package is newer?

Say I have installed mypkg-1.2.3-4567.noarch.rpm from some yum repo. Is it valid for the rpm publisher to re-publish mypkg with the same version and release and just run createrepo --update? Is it ...
0
votes
0answers
249 views

How to install cpp in RHEL 6.3?

I want to install gcc in RHEL 6.3, but it has cpp dependencies. So I go to cpp rpm download page, but it has no rpm for 6.3 version: Is there any other way to install cpp in RHEL 6.3?
1
vote
1answer
154 views

Why doesn't build of net-snmp 5.7.2. provide /etc/rc.d/init.d/snmptrapd?

I am packaging an RPM for RHEL6, built from net-snmp-5.7.2.tar.gz. I see that the file /etc/rc.d/init.d/snmpd gets created and packaged but I do not see the init file for /etc/rc.d/init.d/snmptrapd. ...
2
votes
2answers
376 views

How to list RPM packages installed in order of installation date

I'd like to see a list of software installed in the order of the date they were installed. The order doesn't matter (newest to oldest & vice-versa) as long as they're arranged by date. I'm mainly ...
0
votes
1answer
847 views

How to install RPM based Packages on OpenFiler

We bought One SuperMicro Server that will be used for Storage purposes and then we install the openfiler on it. The thing is that we need to install RAID controller and Im not familiar with OpenFiler ...
-1
votes
1answer
266 views

unrar for centos 5.7 needs unrar-4.20-2.mga3.nonfree.x86_64.rpm which causes an error

I'm trying to install unrar package for my cpanel. as some people suggested that I need this package unrar-4.20-2.mga3.nonfree.x86_64.rpm . So when I run rpm -ivh unrar-4.20-2.mga3.nonfree.x86_64.rpm ...
2
votes
2answers
241 views

AIX apache rpm dependencies

I am evaluating the Crowd SSO by Atlassian. Now to get apache to use CROWD for authentication, there is a connector available by the vendor. Problem Unfortunately they do not provide anything for ...
2
votes
1answer
111 views

What is the corresponding freebsd command of these rpm commands?

I know about rpm, but I am newbie about freebsd packaging system. I learnt about how to create package and know I want learn how to get some information about packages or files. Can somebody give me ...
3
votes
2answers
205 views

reposync exclude subdirs from mirror

Is there a way to make the reposync command ignore a subdir of a public repo when mirroring it ? It seems to only want to sync on the url that has the /repodata/ & /repoview/ dirs, but i'm ...
2
votes
2answers
1k views

Requires: perl(Compress::Raw::Zlib) = 2.052

Im trying to run a yum update but getting stopped by dependencies. I have installed rpmforge el6 which i need for other packages. Error: Package: perl-IO-Compress-2.052-1.el6.rfx.noarch ...
1
vote
1answer
4k views

What is the easiest way to install Meld on RedHat Linux RHEL 5.4?

My company has RedHat RHEL 5.4 on the Linux box, and I need to install Meld on it. How can it be done? $ sudo yum install meld No package meld available. Nothing to do $ sudo yum search meld No ...
5
votes
2answers
5k views

yum install in user home for non-admins

I am a non-admin user on a large computer system. I need some up to date packages that are not installed on the system. I want to use yum to install them. As a user without sudo, admin, or root ...
0
votes
1answer
5k views

Public key not found for RPM

I am trying to install package on Redhat 5.5 using YUM but it always give me this error [root@redhat64 Desktop]# yum install perl-Net-Server-0.97-1.el5.rf.noarch.rpm Loaded plugins: rhnplugin, ...
1
vote
1answer
100 views

Files in RPM packages

There is something strange with RPM packages. The listed contents, enumerated by rpm -ql differ from the actually presented files. For instance, I downloaded a openldap-servers-2.4.26-8.fc16.i686.rpm ...
2
votes
2answers
9k views

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

When I executed a command to install an application, the following error occurred /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory I was not aware on how to fix this problem. I ...
3
votes
0answers
519 views

recommended procedure to create a user/group during RPM install

after trying hard to search for RPM best practices guides and finding virtually none, to my surprise, I resort to the community - I need to ensure that some users and groups exist after the ...
1
vote
1answer
117 views

Where can I find mailfromd RPM's for CentOS 6?

I have been trying to locate an RPM for GNU Mailfromd and it's dependencies and have been quite surprised to find it absolutely nowhere on the 'net. Only place I could find any RPM's were for ...
1
vote
1answer
58 views

What to include in an RPM created from python packages

I'm looking to create a rpm for this tarball and couldn't figure out which files needed to be included in the package after the install. I am used to compiling some code and including the binary ...
1
vote
0answers
86 views

How do I install additional modules when building an Apache RPM?

We've been compiling and installing Apache under /usr/local/apache2 and in turn would tar the folder up to distribute to our other servers. I would like to convert this into an RPM package for easier ...
2
votes
1answer
245 views

Obtaining/Packaging RPM dependencies for Fedora/RHEL linux application — no network access

I currently have an RPM file with 2-3 dependencies specified in the 'Requires' section. When this application is installed using yum, it works fine and the dependencies are installed if they are ...
4
votes
1answer
385 views

How to make an rpm package that installs a Java environment if needed

I'm very new to RPM packaging and I'm curious if, during the installation of one RPM it is possible to conditionally install another RPM if needed. In a nutshell. My RPM requires a particular JRE. ...