Linux安装相关

1. 使用apt-get install安装的文件放在哪里?

使用命令dpkg -L <package name> 如果包安装成功的话,会列出所有文件的位置

eg:

 

ubuntu@ubuntu1:/var/cache/apt/archives$  dpkg -L chkconfig
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/chkconfig
/usr/share/doc/chkconfig/copyright
/usr/share/doc/chkconfig/changelog.Debian.gz
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/chkconfig.8.gz
/sbin
/sbin/chkconfig
ubuntu@ubuntu1:/var/cache/apt/archives$ 

 

2. 安装完成的软件的软件包放在哪里?

/var/cache/apt/archives

中。如果执行过 apt-get clean ,那么原始下载的包就找不到了。

posted on 2012-07-17 16:09  jay.windows  阅读(285)  评论(0编辑  收藏  举报

导航