“UbuntuHelp:Forum/software/CheckInstall”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/forum/software/CheckInstall}} {{Languages|UbuntuHelp:forum/software/CheckInstall}} CheckInstall keeps track of all files installed by a "make inst...) |
小 |
||
第2行: | 第2行: | ||
{{Languages|UbuntuHelp:forum/software/CheckInstall}} | {{Languages|UbuntuHelp:forum/software/CheckInstall}} | ||
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. | 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. | ||
− | |||
Install CheckInstall:- | Install CheckInstall:- | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install checkinstall | sudo apt-get install checkinstall | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
Usage: | Usage: | ||
Instead of <code><nowiki>sudo make install</nowiki></code> you will use <code><nowiki>sudo checkinstall</nowiki></code> | Instead of <code><nowiki>sudo make install</nowiki></code> you will use <code><nowiki>sudo checkinstall</nowiki></code> | ||
− | |||
The installed package can then also easily be removed via <code><nowiki>synaptic</nowiki></code> | The installed package can then also easily be removed via <code><nowiki>synaptic</nowiki></code> | ||
or | or |
2007年11月30日 (五) 17:20的版本
点击翻译: |
English |
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. Install CheckInstall:-
sudo apt-get install checkinstall
Usage:
Instead of sudo make install
you will use sudo checkinstall
The installed package can then also easily be removed via synaptic
or
sudo dpkg -r packagename