Introduction
CheckInstall keeps track of all files installed by a "make install" or equivalent, creates a Slackware, RPM, or Debian package with those files, and adds it to the installed packages database, allowing for easy package removal or distribution.
(In fact, checkinstall can keep track of files modified by any command line, not just a "make install", so you can use it for any type of installation task outside of apt, and it will keep track of the installation in the package manager.)
Installation
Install the package checkinstall from the Repositories.
For help on installing software in Ubuntu, see InstallingSoftware.
A quick method via the terminal for those who like to copy and paste:
sudo aptitude install checkinstall
Usage
Instead of
sudo make install
you will use
sudo checkinstall
When called with no arguments, checkinstall will call "make install". If you need other arguments, they can be supplied:
sudo checkinstall make install_package
The installed package can then also easily be removed via Synaptic or via the terminal:
sudo dpkg -r packagename
Example:
sudo dpkg -r pidgin
Use CheckInstall with auto-apt
You can use auto-apt when you want to build a simple package from source with checkinstall. You need to have auto-apt installed!
Instead of
./configure
you use:
auto-apt run ./configure
If the dependencies are available, a dialog box opens and ask you to install them.
The rest remains the same
make sudo checkinstall
No comments:
Post a Comment