歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu dpkg 安裝軟件 常用參數

Ubuntu dpkg 安裝軟件 常用參數

日期:2017/2/28 15:29:50   编辑:Linux教程

1、dpkg --info wine-thunder_0.5-5_all.deb (列出軟件包解壓後的包名稱、詳細信息)如下:

new debian package, version 2.0.
size 8503002 bytes: control archive= 315 bytes.
236 bytes, 8 lines control
Package: wine-thunder
Version: 0.5
Section: non-free/net
Priority: optional
Maintainer: none
Architecture: all
Depends: wine,ttf-wqy-microhei,gzip
Description: The wicked p2sp download software Thunder, version 5.8.14.706, run in wine.

2、dpkg -l (列出系統中所有的包)

3、dpkg -L (查詢系統中已經安裝軟件包的安裝位置)

4、dpkg -l | grep -i wine-thunder_0.5-5_all.deb (查看系統中與wine-thunder_0.5-5_all.deb相關連的包)

5、dpkg -s (查看已經安裝的包的詳細信息)

6、dpkg -S (察看某個文件屬於哪個軟件包)

7、dpkg -i wine-thunder_0.5-5_all.deb (手動安裝xxx.deb)

8、dpkg -I(察看xxx.deb的詳細信息,跟dpkg --info等同)

9、dpkg-r (卸載軟件包.不是完全的卸載,它的配置文件還存在)

10、dpkg-P (全部卸載,但是還是不能解決軟件包的依賴性的問題)

11、dpkg-reconfigure (重新配置)

Copyright © Linux教程網 All Rights Reserved