manage .deb package in linux (ubuntu) dpkg
2016-01-12 13:02
671 查看
manage .deb package in ubuntu
install a source package :
点击(此处)折叠或打开
warrior@warrior:~/Downloads$ sudo dpkg -i xpdf_3.03-16+experimental2_amd64.deb
[sudo] password for warrior:
Selecting previously unselected package xpdf.
(Reading database ... 285114 files and directories currently installed.)
Preparing to unpack xpdf_3.03-16+experimental2_amd64.deb ...
Unpacking xpdf (3.03-16+experimental2) ...
Setting up xpdf (3.03-16+experimental2) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
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):
点击(此处)折叠或打开
sudo dpkg -r packagename
To
Reconfigure/Repair an installed Debian (Ubuntu) package (.deb):
点击(此处)折叠或打开
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
install a source package :
点击(此处)折叠或打开
warrior@warrior:~/Downloads$ sudo dpkg -i xpdf_3.03-16+experimental2_amd64.deb
[sudo] password for warrior:
Selecting previously unselected package xpdf.
(Reading database ... 285114 files and directories currently installed.)
Preparing to unpack xpdf_3.03-16+experimental2_amd64.deb ...
Unpacking xpdf (3.03-16+experimental2) ...
Setting up xpdf (3.03-16+experimental2) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
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):
点击(此处)折叠或打开
sudo dpkg -r packagename
To
Reconfigure/Repair an installed Debian (Ubuntu) package (.deb):
点击(此处)折叠或打开
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
相关文章推荐
- Ubuntu 默认壁纸历代记
- Ubuntu Remix Cinnamon 20.04 评测:Ubuntu 与 Cinnamon 的完美融合
- Linux socket 初步
- android wifi 无线调试
- 关于Ubuntu 11.10启动提示waiting for the network configuration的问题
- 在 Ubuntu 桌面中使用文件和文件夹
- Linux Kernel 4.0 RC5 发布!
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- ubuntu下chrome无法同步问题解决
- 运维入门
- 运维提升