lolaferrari
asked on
linux .src.rpm
Hello,
perhaps someone could enlighten me - how do you install an rpm that is .src.rpm on linux?
perhaps someone could enlighten me - how do you install an rpm that is .src.rpm on linux?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The build package is installed
[root@testbox ~]# rpm -qa | grep rpm-build
rpm-build-4.8.0-12.el6.i68
[root@testbox ~]# rpm -qi rpm-build-4.8.0-12.el6.i68
Name : rpm-build Relocations: (not relocatable)
Version : 4.8.0 Vendor: CentOS
Release : 12.el6 Build Date: Fri 12 Nov 2010 12:21:43 AM GMT
Install Date: Mon 08 Aug 2011 07:40:30 PM BST Build Host: c5b2.bsys.dev.centos.org
Group : Development/Tools Source RPM: rpm-4.8.0-12.el6.src.rpm
Size : 311998 License: GPLv2+
Signature : RSA/8, Sun 03 Jul 2011 05:45:31 AM BST, Key ID 0946fca2c105b9de
Packager : CentOS BuildSystem <http://bugs.centos.org>
URL : http://www.rpm.org/
Summary : Scripts and executable programs used to build packages
Description :
The rpm-build package contains the scripts and executable programs
that are used to build packages using the RPM Package Manager.
what is the error you get when you try to do rpm-build --rebuild .src.rpm
Regards,
Krishna
Regards,
Krishna
ASKER
[root@testbox tmp]# rpm -ql rpm-build
/usr/bin/gendiff
/usr/bin/rpmbuild
/usr/lib/rpm/brp-compress
/usr/lib/rpm/brp-java-gcjc ompile
/usr/lib/rpm/brp-python-by tecompile
/usr/lib/rpm/brp-strip
/usr/lib/rpm/brp-strip-com ment-note
/usr/lib/rpm/brp-strip-sha red
/usr/lib/rpm/brp-strip-sta tic-archiv e
/usr/lib/rpm/check-buildro ot
/usr/lib/rpm/check-files
/usr/lib/rpm/check-prereqs
/usr/lib/rpm/check-rpaths
/usr/lib/rpm/check-rpaths- worker
/usr/lib/rpm/config.guess
/usr/lib/rpm/config.sub
/usr/lib/rpm/debugedit
/usr/lib/rpm/desktop-file. prov
/usr/lib/rpm/find-debuginf o.sh
/usr/lib/rpm/find-lang.sh
/usr/lib/rpm/find-provides
/usr/lib/rpm/find-requires
/usr/lib/rpm/fontconfig.pr ov
/usr/lib/rpm/javadeps
/usr/lib/rpm/libtooldeps.s h
/usr/lib/rpm/macros.perl
/usr/lib/rpm/macros.php
/usr/lib/rpm/macros.python
/usr/lib/rpm/mkinstalldirs
/usr/lib/rpm/mono-find-pro vides
/usr/lib/rpm/mono-find-req uires
/usr/lib/rpm/ocaml-find-pr ovides.sh
/usr/lib/rpm/ocaml-find-re quires.sh
/usr/lib/rpm/osgideps.pl
/usr/lib/rpm/perl.prov
/usr/lib/rpm/perl.req
/usr/lib/rpm/perldeps.pl
/usr/lib/rpm/pkgconfigdeps .sh
/usr/lib/rpm/pythondeps.sh
/usr/lib/rpm/rpmdeps
/usr/lib/rpm/rpmdiff
/usr/lib/rpm/rpmdiff.cgi
/usr/lib/rpm/tcl.req
/usr/share/man/man1/gendif f.1.gz
/usr/share/man/man8/rpmbui ld.8.gz
/usr/share/man/man8/rpmdep s.8.gz
/usr/bin/gendiff
/usr/bin/rpmbuild
/usr/lib/rpm/brp-compress
/usr/lib/rpm/brp-java-gcjc
/usr/lib/rpm/brp-python-by
/usr/lib/rpm/brp-strip
/usr/lib/rpm/brp-strip-com
/usr/lib/rpm/brp-strip-sha
/usr/lib/rpm/brp-strip-sta
/usr/lib/rpm/check-buildro
/usr/lib/rpm/check-files
/usr/lib/rpm/check-prereqs
/usr/lib/rpm/check-rpaths
/usr/lib/rpm/check-rpaths-
/usr/lib/rpm/config.guess
/usr/lib/rpm/config.sub
/usr/lib/rpm/debugedit
/usr/lib/rpm/desktop-file.
/usr/lib/rpm/find-debuginf
/usr/lib/rpm/find-lang.sh
/usr/lib/rpm/find-provides
/usr/lib/rpm/find-requires
/usr/lib/rpm/fontconfig.pr
/usr/lib/rpm/javadeps
/usr/lib/rpm/libtooldeps.s
/usr/lib/rpm/macros.perl
/usr/lib/rpm/macros.php
/usr/lib/rpm/macros.python
/usr/lib/rpm/mkinstalldirs
/usr/lib/rpm/mono-find-pro
/usr/lib/rpm/mono-find-req
/usr/lib/rpm/ocaml-find-pr
/usr/lib/rpm/ocaml-find-re
/usr/lib/rpm/osgideps.pl
/usr/lib/rpm/perl.prov
/usr/lib/rpm/perl.req
/usr/lib/rpm/perldeps.pl
/usr/lib/rpm/pkgconfigdeps
/usr/lib/rpm/pythondeps.sh
/usr/lib/rpm/rpmdeps
/usr/lib/rpm/rpmdiff
/usr/lib/rpm/rpmdiff.cgi
/usr/lib/rpm/tcl.req
/usr/share/man/man1/gendif
/usr/share/man/man8/rpmbui
/usr/share/man/man8/rpmdep
ASKER
Installing tcpdump-4.0.0-3.20090921gi tdf3cb4.1. el6.src.rp m
error: tcpdump-4.0.0-3.20090921gi tdf3cb4.1. el6.src.rp m cannot be installed
error: tcpdump-4.0.0-3.20090921gi
ASKER
[root@machine kernels]# rpm --rebuild tcpdump-4.0.0-3.20090921gi
--rebuild: unknown option
wget http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/tcpdump-4.0.0-3.20090921gitdf3cb4.1.el6.src.rpm
[root@testbox tmp]# rpm -ivh tcpdump-4.0.0-3.20090921gi