LoginSignup
1
2

More than 5 years have passed since last update.

[CentOS6] checkinstallでrpmを作る

Last updated at Posted at 2015-04-20
x86_64の場合
git clone http://checkinstall.izto.org/checkinstall.git
cd checkinstall
yum install gettext which
make -s
make install
ln -s /usr/local/lib{,64}/installwatch.so
checkinstall -y -R
  • ~/rpmbuild/RPMS/x86_64/checkinstall-20150420-1.x86_64.rpm

が生成される。

packageの名前を指定する場合

rpmの場合
checkinstall -y -R --pkgname=opt-mysql4
debの場合
checkinstall -y -D --pkgname=opt-mysql4

特定のファイルをパッケージから除外

checkinstall -y -R --pkgname=local-php --exclude=/etc/httpd/conf/
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2