manage .deb package in linux (ubuntu) dpkg

manage .deb package in ubuntu 
    install a source package :

點擊(此處)摺疊或打開

  1. warrior@warrior:~/Downloads$ sudo dpkg -i xpdf_3.03-16+experimental2_amd64.deb 
  2. [sudo] password for warrior: 
  3. Selecting previously unselected package xpdf.
  4. (Reading database ... 285114 files and directories currently installed.)
  5. Preparing to unpack xpdf_3.03-16+experimental2_amd64.deb ...
  6. Unpacking xpdf (3.03-16+experimental2) ...
  7. Setting up xpdf (3.03-16+experimental2) ...
  8. Processing triggers for mime-support (3.54ubuntu1.1) ...
  9. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  10. Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
  11. Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
  12. Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
  13. Rebuilding /usr/share/applications/bamf-2.index...
If dpkg reports an error due to dependency problems, you can run sudo apt-get install -f to download the missing dependencies and configure everything.
    
    To remove a Debian (Ubuntu) package (.deb):

點擊(此處)摺疊或打開

  1. sudo dpkg -r packagename
    To Reconfigure/Repair an installed Debian (Ubuntu) package (.deb):

點擊(此處)摺疊或打開

  1. sudo dpkg-reconfigure packagename
for detial U can visit:  http://askubuntu.com/questions/40779/how-do-i-install-a-deb-file-via-the-command-line
發佈了68 篇原創文章 · 獲贊 10 · 訪問量 13萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章