rpm

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 ...

Packages in Fedora 11

I'm trying to find a list of the packages that Fedora 11 installs. I guess this is either on the .iso for the install DVD or part of the anaconda package. In particular I'd like a minimal list. I understand that this might not be the right question; it's possible that at install time a minimal Fedora does not install any packages, but j...

Requires GLIBCXX_3.4.9 if I've already installed GLIBCXX_4.1.2?

I'm installing the last version of MediainfoDLL on Fedora 8/9 64bits (http://mediainfo.sourceforge.net/es/Download/Fedora). I downloaded libmediainfo-0.7.20 and libzen0-0.4.3 files. When I tried to install libzen0 I get this output: # rpm -i libzen0-0.4.3-1.x86_64.Fedora_9.rpm warning: libzen0-0.4.3-1.x86_64.Fedora_9.rpm: Header V3 DSA...

using setuptools with post-install and python dependencies

This is somewhat related to this question. Let's say I have a package that I want to deploy via rpm because I need to do some file copying on post-install and I have some non-python dependencies I want to declare. But let's also say I have some python dependencies that are easily available in PyPI. It seems like if I just package as a...

C Programming How to find the time interval between events

Im using a handyboard and interactive c software and the task is to find the rpm of a lego motor in real time using an Infrared "Break Beam" Sensor on the wheel. I was thinking about finding the time interval between the beam being broken and then from there calculating the rpm but i cant figure out exactly how to do that. Any help would...

Fix permissions for rpm/setuptools packaging

I have a project that requires post-install hooks for deployment. My method is to use setuptools to generate the skeleton rpm spec file and tar the source files. The problem is that I don't know how to control permissions with this method. The spec file looks like: %install python setup.py install --single-version-externally-managed ...

distutils setup.py and %post %postun

Hi, I am newbie. I am buidling rpm package for my own app and decided to use distutils to do achieve it. I managed to create some substitue of %post by using advice from this website, which i really am thankfull for, but i am having problems with %postun. Let me describe what i have done. In setup.py i run command that creates symbolic ...

How should I handle software packages?

I am trying to install pysqlite and have troubles with that. I found out that the most probable reason of that is missing sqlite headers and I have to install them. My platform: CentOS release 5.3 (Final). I have Python-2.6.2. I also found out that I need .rpm files. As far as I have them I execute: rpm -i sqlite3-devel-3.n.n.n.rpm a...

Installing java on linux using ssh

Hi I want to install java on many computers using ssh so I want to write a bash script that will do (roughly): for c in computers do scp jre--.rpm $c ssh $c 'sudu -s; chmod a+x jre--.rpm ; ./jre--.rpm; echo "success!"' done The problem is that during the java installation I need to "read" the notice and type "yes" at the en...

RPM build error

I needed some help debugging my rpm build. Any time it encounters a %files or %build or %install directive it gives me an error and I am not able to figure out what "[rpm] + $'\r'" means [rpm] Building the RPM based on the LBR.spec file [rpm] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2932 [rpm] + umask 022 [rpm] + cd /home...

What is the proper way to package a single jar file as rpm?

Hi I have created my jar file now i want to package my jar file as rpm(redhat package manager). I want to make my jar file as installable for linux. so What is the proper way to package a single jar file as rpm? Thanks Sunil Kumar Sahoo ...

Linux packaging abstraction layer written in Python?

I'm looking for a way to generate .deb and .rpm packages from my build scripts, containing the resulting products. Since everything is written in Python, I'm wondering if anyone knows of an abstraction layer that would allow me to drive both RPM and Deb construction from the same code? ...

RPM technique for handling cumulative updates?

RPM seems to be pretty good at checking dependencies and handling individual file updates, but what is the best practice for handling cumulative updates to, say, a relational database across multiple versions? For instance, say you have product Foo with versions 1.2.1, 1.2.2, 1.2.3, and 1.3.0. In each of these, there were database sche...

can any one please explain how to build rpm for fedora10 linux

I have created an application in java. I have tried to create rpm file for that application. But I did not found what is the error. When I am creating rpm file i received an error No file or directory found. http://javaworkshop.wordpress.com/ can any one please explain how to build rpm for fedora10 linux My application (which is a sim...

Test installation of RPM packages

We are using rpm to deploy our web applications internally. The rpm installs the files, configures apache, cron, logging and so on. I would like to build a test version of the rpm that installs in a different location with a different configuration for apache, cron and logging. It should be possible to install both the production and te...

Creating Menu Entries for User Applications, Linux

Hi I have created an rpm file. My application is completely java application. When I install my rpm I have to double click on Install.sh (its a shell script file which start java application) my program starts. Now I want when i will install my rpm file an icon will be seen in desktop. and by clicking on that icon my application must st...

Does the RPM Epoch header have any limitations?

RPM supports an Epoch header to provide version ordering in cases where its version comparison isn't sufficient, for example with 2.0a3 > 2.0. A package without Epoch specified is considered to have an Epoch of either 0 or -1, depending on some obscure factors. The documentation suggests that Epoch start at 1 and be incremented with ea...

How to copy a file to the home directory of the user in .spec file

Hi I am using Fedora 10 linux. I have created a .spec file now I want to write something which will make me able to to copy a file and store in Desktop of the user. So how to do this. Thanks Sunil Kumar Sahoo ...

how to unpacks and rebuild rpm package on fedora?

Hi how to unpacks and rebuild rpm package on fedora? Could any one help me on this! ...

How to delete some extra folder using rpm

I am using Fedora 10, I have created an rpm file for my software. It removes all the files from the installed directory. If i use yum remove command or rpm -e command. but after installation my application automatically creates some extra folders in home directory. If I uninstall my application then file from home directories do not get ...