Linux安装相关问题
Linux安装相关问题
Linux安装相关问题
1. 使用apt-get install安装的文件放在哪里?
使用命令dpkg -L <package name> 如果包安装成功的话,会列出所有文件的位置
eg: www.2cto.com
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 www.2cto.com
/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 ,那么原始下载的包就找不到了。
作者 jay.windows
评论暂时关闭