Build Rpm package

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Build Rpm package
# 1  
Old 02-18-2013
Build Rpm package

Hi Everybody,

I would like to know how to build an RPM package. Could you please let me know how to do it with the procedure.

Regards,
Mastan
# 2  
Old 02-18-2013
This is the best guide I've found

It would be next to impossible to give you a step-by-step guide, since much will depend on the requirements of the software you want to package.

Everything revolves around the .spec file - I've always based work I've done on a .spec file from a distribution's package that is similar to mine.

The guide from the Fedora project covers pretty much everything you'll need to know - google "package building with rpm" and it's top of the list
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Does not appear to be a RPM package

Hi Guys I got this error when I try to install perl-5.24.0-1.aix6.1.ppc.rpm package rpm -ivh perl-5.24.0-1.aix6.1.ppc.rpm error: perl-5.24.0-1.aix6.1.ppc.rpm does not appear to be a RPM package (4 Replies)
Discussion started by: khaled_ly84
4 Replies

2. Red Hat

I can't remove rpm package

Hello!, I can't remove a rpm package with rpm -e net-snmp Nothing happened, and the process returns D status when i see with ps aux | grep rpm. When i say "Nothing Happened", the terminal don't return any message, and not remove the package. What can I do to remove? Ps: I work with Red... (1 Reply)
Discussion started by: Douglas Ramalho
1 Replies

3. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies

4. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies

5. UNIX for Advanced & Expert Users

How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

Friends, Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ? For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies

6. Linux

rpm build errors pls help

i am trying to create rpm pacakage from hello world source code. after running rpmbuild -bs test.spec file i am successfully getting test-1-1.src.rpm package inside the /usr/src/redhat/SRPMS But after running rpmbuild -ba test.spec i am not getting test-1-1.i386.rpm binary package ... (1 Reply)
Discussion started by: anand121
1 Replies

7. UNIX for Advanced & Expert Users

Recompile openssh and build an rpm

I am needing to recompile openssh to hide the ssh banner which I found I can do in the version.h. I know.. I know, but its a requirement of some dumb security company so the company I work for can get their blessing. Anyway. I am going to upgrade in the process and have downloaded the source... (2 Replies)
Discussion started by: creedog
2 Replies

8. Ubuntu

Rpm package

Hi All, I just recently installed UBUNTU 2.6.24-16 and i installed my phone software which is a RPM package (it's a similiar package with MSN). The software called MXIE. I managed to install it successfully but i can't run the software. When i try to run it, i received... (8 Replies)
Discussion started by: c00kie88
8 Replies

9. Linux

how to restore original package after uninstalling the upgraded package using rpm

have following package installed rpm -qa |grep ADMIN It will give the following package installed: ADMIN-4.0.0.1 Now I will upgrade the ADMIN package using the following command. rpm --upgrade ADMIN-4.1.0.1 It will upgrade the ADMIN packagge to ADMIN-4.1.0.1 Now I want that... (0 Replies)
Discussion started by: amitpansuria
0 Replies

10. UNIX for Advanced & Expert Users

Help needed to build an RPM?

I use Fedora Core 6. ->Our application has a Binary file and few .SO files. So i would like to build an RPM FILE for this with .SPEC file. ->Even i need to set some Envirnoment variables. Can any one give me the steps to Build an RPM?(A bit more clearly please as I am very new to... (1 Reply)
Discussion started by: platso
1 Replies
Login or Register to Ask a Question