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
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. Linux
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
3. Ubuntu
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
4. UNIX for Advanced & Expert Users
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
5. Linux
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
6. UNIX for Advanced & Expert Users
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
7. UNIX for Dummies Questions & Answers
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
8. Emergency UNIX and Linux Support
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
9. Red Hat
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
10. AIX
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
LEARN ABOUT HPUX
mk-build-deps
MK-BUILD-DEPS(1) MK-BUILD-DEPS(1)
NAME
mk-build-deps - build a package satisfying a package's build-dependencies
SYNOPSIS
mk-build-deps --help|--version
mk-build-deps [options] control file | package name ...
DESCRIPTION
Given a package name and/or control file, mk-build-deps will use equivs to generate a binary package which may be installed to satisfy all
the build dependencies of the given package.
If --build-dep and/or --build-indep are given, then the resulting binary package(s) will depend solely on the
Build-Depends/Build-Depends-Indep dependencies, respectively.
OPTIONS
-i, --install
Install the generated packages and its build-dependencies.
-t, --tool
When installing the generated package use the specified tool. (default: apt-get --no-install-recommends)
-r, --remove
Remove the package file after installing it. Ignored if used without the --install switch.
-a foo, --arch foo
If the source package has architecture-specific build dependencies, produce a package for architecture foo, not for the system
architecture. (If the source package does not have architecture-specific build dependencies, the package produced is always for the
pseudo-architecture all.)
-B, --build-dep
Generate a package which only depends on the source package's Build-Depends dependencies.
-A, --build-indep
Generate a package which only depends on the source package's Build-Depends-Indep dependencies.
-h, --help
Show a summary of options.
-v, --version
Show version and copyright information.
-s, --root-cmd
Use the specified tool to gain root privileges before installing. Ignored if used without the --install switch.
AUTHOR
mk-build-deps is copyright by Vincent Fourmond and was modified for the devscripts package by Adam D. Barratt <adam@adam-barratt.org.uk>.
This program comes with ABSOLUTELY NO WARRANTY. You are free to redistribute this code under the terms of the GNU General Public License,
version 2 or later.
Debian Utilities 2013-12-23 MK-BUILD-DEPS(1)