首页 > 代码库 > 安装rpmbuild的过程

安装rpmbuild的过程

root@localhost Packages]# ls |grep rpmbuild 居然没有这个包,奇怪了!!!

[root@localhost Packages]# ls |grep build  秘密~

libreoffice-report-builder-4.0.4.2-9.el6.x86_64.rpm

rpm-build-4.8.0-37.el6.x86_64.rpm

[root@localhost Packages]# rpm -ivh rpm-build-4.8.0-37.el6.x86_64.rpm 

warning: rpm-build-4.8.0-37.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

error: Failed dependencies:

elfutils >= 0.128 is needed by rpm-build-4.8.0-37.el6.x86_64

patch >= 2.5 is needed by rpm-build-4.8.0-37.el6.x86_64

[root@localhost Packages]# ls |grep elfutils-

elfutils-0.152-1.el6.x86_64.rpm

elfutils-devel-0.152-1.el6.i686.rpm

elfutils-devel-0.152-1.el6.x86_64.rpm

elfutils-libelf-0.152-1.el6.i686.rpm

elfutils-libelf-0.152-1.el6.x86_64.rpm

elfutils-libelf-devel-0.152-1.el6.i686.rpm

elfutils-libelf-devel-0.152-1.el6.x86_64.rpm

elfutils-libs-0.152-1.el6.i686.rpm

elfutils-libs-0.152-1.el6.x86_64.rpm

[root@localhost Packages]# rpm -ivh elfutils-devel-0.152-1.el6.x86_64.rpm 

warning: elfutils-devel-0.152-1.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

error: Failed dependencies:

elfutils-libelf-devel(x86-64) = 0.152-1.el6 is needed by elfutils-devel-0.152-1.el6.x86_64

[root@localhost Packages]# rpm -ivh elfutils-libelf-devel-0.152-1.el6.x86_64.rpm 

warning: elfutils-libelf-devel-0.152-1.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

Preparing...                ########################################### [100%]

   1:elfutils-libelf-devel  ########################################### [100%]

[root@localhost Packages]# rpm -ivh elfutils-devel-0.152-1.el6.x86_64.rpm warning: elfutils-devel-0.152-1.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

Preparing...                ########################################### [100%]

   1:elfutils-devel         ########################################### [100%]

[root@localhost Packages]# rpm -ivh rpm-build-4.8.0-37.el6.x86_64.rpm warning: rpm-build-4.8.0-37.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

error: Failed dependencies:

elfutils >= 0.128 is needed by rpm-build-4.8.0-37.el6.x86_64

patch >= 2.5 is needed by rpm-build-4.8.0-37.el6.x86_64

[root@localhost Packages]# ls |grep elfutils-elfutils-0.152-1.el6.x86_64.rpm

elfutils-devel-0.152-1.el6.i686.rpm

elfutils-devel-0.152-1.el6.x86_64.rpm

elfutils-libelf-0.152-1.el6.i686.rpm

elfutils-libelf-0.152-1.el6.x86_64.rpm

elfutils-libelf-devel-0.152-1.el6.i686.rpm

elfutils-libelf-devel-0.152-1.el6.x86_64.rpm

elfutils-libs-0.152-1.el6.i686.rpm

elfutils-libs-0.152-1.el6.x86_64.rpm

[root@localhost Packages]# rpm -ivh elfutils-0.152-1.el6.x86_64.rpm 

warning: elfutils-0.152-1.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

Preparing...                ########################################### [100%]

   1:elfutils               ########################################### [100%]

[root@localhost Packages]# rpm -ivh rpm-build-4.8.0-37.el6.x86_64.rpm 

warning: rpm-build-4.8.0-37.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

error: Failed dependencies:

patch >= 2.5 is needed by rpm-build-4.8.0-37.el6.x86_64

[root@localhost Packages]# ls |grep patch

patch-2.6-6.el6.x86_64.rpm

patchutils-0.3.1-3.1.el6.x86_64.rpm

[root@localhost Packages]# rpm -ivh patch-2.6-6.el6.x86_64.rpm 

warning: patch-2.6-6.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY

Preparing...                ########################################### [100%]

   1:patch                  ########################################### [100%]

[root@localhost Packages]# rpm -ivh rpm-build-4.8.0-37.el6.x86_64.rpm 

warning: rpm-build-4.8.0-37.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

Preparing...                ########################################### [100%]

   1:rpm-build              ########################################### [100%]