码迷,mamicode.com
首页 > 系统相关 > 详细

Comparison of pkgmgmt between different Linux Systems..

时间:2016-07-31 12:53:33      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:

installation:

aptitude install
apt-get install
yum install
pacman -S

searching..

aptitude search
apt-cache search
yum search
pacman -S

update db & upgrade..

aptitude update && aptitude upgrade && aptitude dist-upgrade
apt-get update && apt-get upgrade && apt-get dist-upgrade
yum update && yum upgrade
pacman -Syu

install dependencies..

aptitude build-dep
apt-get install
yum install
pacman -S

remove single pkg..

aptitude remove
apt-get remove
yum remove
pacman -R

remove pkg and its deps..

aptitude remove " seems cannot deal with deps
apt-get autoremove
yum autoremove
pacman -Rs

remove pkg without removing the pkg dependent on it..

~
~
~
pacman -Rdd

search db for certain file..

aptitude search re
apt-file search re
yum whatprovides re
pacman -Fysx re

 

Comparison of pkgmgmt between different Linux Systems..

标签:

原文地址:http://www.cnblogs.com/sansna/p/5722627.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!