Linux 使用常见问题

1. 如何查看软件安装到什么位置 【Ubuntu】

今天安装了Lxc-docker,想看一下文件都安装到哪里了,首先找到这个包的ersion

zhouh1@uhome:~$ dpkg -s lxc-docker
Package: lxc-docker
Status: install ok installed
Priority: extra
Section: default
Installed-Size: 0
Maintainer: [email protected]
Architecture: amd64
Version: 1.1.2
Depends: lxc-docker-1.1.2
Description: Linux container runtime
 Docker complements LXC with a high-level API which operates at the process
 level. It runs unix processes with strong guarantees of isolation and
 repeatability across servers.
 Docker is a great building block for automating distributed systems:
 large-scale web deployments, database clusters, continuous deployment systems,
 private PaaS, service-oriented architectures, etc.
License: Apache-2.0
Vendor: none
Homepage: http://www.docker.com/

然后,列出它涉及的文件

zhouh1@uhome:~$ dpkg -L lxc-docker-1.1.2 
/.
/usr
/usr/share
/usr/share/zsh
/usr/share/zsh/vendor-completions
/usr/share/zsh/vendor-completions/_docker
/usr/share/man
/usr/share/man/man5
/usr/share/man/man5/Dockerfile.5.gz
/usr/share/man/man1

 

Linux 使用常见问题,古老的榕树,5-wow.com

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。