src.rpm

Steve Stavropoulos steve at math.upatras.gr
Mon Sep 24 16:58:00 EEST 2001


On Mon, 24 Sep 2001, Vikentios wrote:

> En tahi an mporei kapoios na mou perigraopsei ta vimata gia na kanoume
> install ena src.rpm
> Episis an hreiazetai kati sygekrimeno gia na kanoume upgrade ena palio rpm
> me auto to src.rpm
>
>

 rpm -i kati.src.rpm
8a paei kai 8a balei to .spec arxeio sto /usr/src/redhat/SPECS kai to tar
sto /usr/src/redhat/SOURCES

rpm -bb kati.spec
8a ftia3ei to binary rpm bash tou spec file.

rpm -ba kati.spec
8a ftia3ei to binary rpm bash tou spec file kai 8a ftia3ei kai ena src.rpm
me ayto to spec mesa.

ta arxeia 8a ta breis sta: /usr/src/redhat/RPMS/i386,
/usr/src/redhat/SRPMS, /usr/src/redhat/RPMS/noarch.

rpm -tb kati.tar.gz
8a kanei compile kai 8a ftia3ei binary rpm an tyxainei to tar file na exei
mesa to katallhlo spec file.

rpm -ta kati.tar.gz
katalabainei ti 8a kanei.

rpm --rebuild kati.src.rpm
8a kanei compile to to source kai 8a ftia3ei binary rpm pou 8a to balei
ekei pou 8a sou pei (kapou sto /usr/src/redhat/RPMS/)

ayta.

Kai sorry gia thn ka8ysterhsh, thn epomenh fora pou 8a steileis email sthn
lgu kane mou kai ena thlefwno na to dw kai na apanthsw grhgora.





More information about the Linux-greek-users mailing list