Friday, April 10, 2009

Creating Packages with CheckInstall

Usually when we build source, we will usually use the familiar
# ./configure
# ./make
#./make install

However, you may want use CheckInstall as it first build a package (*.rpm or *.deb) and then install them. It thus also has the benefit of uninstalling later. If you are using Redhat derivative, you should find the package build in /usr/src/redhat/RPMS/

So with Checkinstall, the install procedure will be
#./configure
#./make
#./check install
OR
# ./configure && make && checkinstall

Notes:

No comments: