2008年8月7日 星期四

linux

that is my new subject to learn linux

rpm -e --allmatches gpg -pubkey
rpm --import RPM-GPG-KEY-Centos-5
rpm -ivh x3270* #resolve dependency but uninstall need one by one
rpm -e x3270 * will error
rpm -qa | grep 'x3270' will tell not erase


use yum
need to wrap it one file
createrepo /var/ftp/download #to build a package to save the dependence file ,that be usec by yum
so createrepo is a program to creat a repom from a set of rpm


yum -y install 'x3270*'
rpm -qa | grep 'x3270'
yum list | grep 'x3270'
yum -y remove 'x3270*'

rpmbuild --rebuild vsftpd-2.0.5-10.e15.src.rpm
rpm -ivh vsftpd-2.0.5-10.e15.src.rpm

沒有留言: