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: support@docker.com 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