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 ,那么原始下载的包就找不到了。

相关文章:

  • 2021-09-04
  • 2022-03-07
  • 2021-08-22
  • 2021-09-07
  • 2022-02-07
  • 2022-02-07
猜你喜欢
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2021-08-16
  • 2021-09-26
  • 2021-11-05
相关资源
相似解决方案