apt-get 命令html
sudo apt-get update sudo apt-get install tree sudo apt-get -y install tree //跳過系統提示,直接安裝。 sudo apt-get remove tree sudo apt-get autoremove tree
apt-get 安裝路徑通常就下面幾個spa
/usr/bin /usr/lib /usr/share /usr/share/man
查看方法.net
dpkg -L 軟件包名
例如:htm
sudo dpkg -L tree /. /usr /usr/bin /usr/bin/tree /usr/share /usr/share/man /usr/share/man/man1 /usr/share/man/man1/tree.1.gz /usr/share/doc /usr/share/doc/tree /usr/share/doc/tree/TODO /usr/share/doc/tree/copyright /usr/share/doc/tree/README.gz /usr/share/doc/tree/changelog.Debian.gz
在/var/cache/apt/archives能夠找到你安裝程序的包blog
悠閒居C博客:http://blog.csdn.net/zzxian/article/details/7233622rem