以前のリビジョンの文書です


Linux

Linode VPS

ソースからインストールしたプログラムのアンインストール

まずインストール前のファイルリストを作成する。

sudo find / | grep -v -e ^/proc -e ^/tmp/ -e ^/dev/ > preinstall.list
 
#macなら
sudo find / | grep -v -e ^/Applications/ -e ^/Developer/ -e ^/Network/ -e ^/opt/ -e ^/Volumes/ -e ^/automount/ -e ^/sw/ -e ^/tmp/ > preinstall.list

コンパイルしてインストールした後、インストール後のファイルリストを作成する

sudo find / | grep -v -e ^/proc -e ^/tmp/ -e ^/dev/ -e ^/opt/ > postinstall.list
 
#mac
sudo find / | grep -v -e ^/Applications/ -e ^/Developer/ -e ^/Network/ -e ^/opt/ -e ^/Volumes/ -e ^/automount/ -e ^/sw/ -e ^/tmp/ > postinstall.list

2つのファイルをdiffで比較したファイルを作成する

diff preinstall.list postinstall.list > installed.list

CheckInstall

linux.1251104535.txt.gz · 最終更新: 2009/09/19 05:44 (外部編集)