个人工具

“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的版本

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