found this page.. already done by precedents..

installation:

aptitude install
apt-get install
yum install
pacman -S

searching..

aptitude search
apt-cache search
yum search
pacman -Ss

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 build-dep
yum-builddep
pacman -S

getting source code:

aptitude source
apt-get source
yumdownloader --source
yaourt -G

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 -Rss

remove pkg without removing the pkg dependent on it..

~
~
~
pacman -Rdd

search db for certain file..

aptitude search 're'
apt-file search 're' || dpkg-query -S /path/to/file
yum whatprovides 're'
pacman -Fysx 're'

check for optional pkg-cooperation for certain pkg:

~
~
~
pacman -Qi

check pktmgmt history cmds:

~ || apt-history from ~/.bashrc
~ || apt-history from ~/.bashrc
yum history
ls /var/cache/pacman/pkg || cat /var/log/pacman.log

undo changes using pktmgmt tools..

~
~
yum history undo idx
cd /var/cache/pacman/pkg; pacman -U "the undo pkg"

clean all installation package caches:

aptitude clean
apt-get clean
yum clean all
pacman -Scc

clean installation package caches that cannot be downloaded from repo anymore, which likely these caches are the most useless.

aptitude autoclean
apt-get autoclean
~
~

install cross build toolchains:

TBD
dpkg --add-architecture amd64/i386/armhf; apt-get update; apt-get install crossbuild-essential-armhf.. [ also sources.list file should be modified like deb [arch=i386] ]
TBD
TBD

View package changelog:

aptitude
apt-get changelog pkg
rpm -q --changelog pkg
pacman -Qc pkg

pkgmgmt: Comparison between different Linux Systems..的更多相关文章

  1. How do I use screen on the Linux systems?

    Scope The screen utility provides a way to run a command on a Linux system, detach from it, and then ...

  2. Virtualization solutions on Linux systems - KVM and VirtualBox

    Introduction Virtualization packages are means for users to run various operating systems without &q ...

  3. Install MongoDB on Linux Systems 速记

    下载mongodb最新版本: 下载链接:http://pan.baidu.com/s/1kTDnkyz curl -O http://downloads.mongodb.org/linux/mongo ...

  4. 交叉编译工具链介绍《Building Embedded Linux Systems》

    1.前言 配置和编译一个合适的GNU工具链是相对复杂的并且需要很精细的操作,包括你需要对不同软件库之间的依赖关系.它们的各自的任务,不同软件库版本情况都有比较好的了解,编译工具链是一个乏味的工作. 2 ...

  5. 网站行为跟踪 Website Activity Tracking Log Aggregation 日志聚合 In comparison to log-centric systems like Scribe or Flume

    网站行为跟踪 Website Activity Tracking 访客信息处理 Log Aggregation   日志聚合 Apache Kafka http://kafka.apache.org/ ...

  6. Linux 2.6 内核实时性分析 (完善中...)

      经过一个月的学习,目前对linux 下驱动程序的编写有了入门的认识,现在需要着手实践,编写相关的驱动程序. 因为飞控系统对实时性有一定的要求,所以先打算学习linux 2.6 内核的实时性与任务调 ...

  7. Linux command line exercises for NGS data processing

    by Umer Zeeshan Ijaz The purpose of this tutorial is to introduce students to the frequently used to ...

  8. linux tcp调优

    Linux TCP Performance Tuning News Linux Performance Tuning Recommended Books Recommended Links Linux ...

  9. Linux和Windows兼容

    1. 介绍 我们知道Linux上的应用程序是ELF格式的,而Windows则是PE格式 所以要解决这个问题首先二进制加载问题:其次,就是API问题,两者的API完全不同要实现兼容,就需要构建一个虚拟层 ...

随机推荐

  1. 《Intel汇编第5版》 汇编减法程序

    第一步: 安装虚拟机32位XP系统 + RadAsm软件 第二步:    下载<Intel汇编语言程序设计第5版>中相关的源代码以及库文件           http://kipirvi ...

  2. 如何使用自定义消息?--ESFramework 4.0 快速上手(04)

    在ESFramework 4.0 快速上手一文中,我们讲述了如何使用Rapid引擎可以快速地上手ESFramework开发,文中介绍了使用ESPlus.Application.CustomizeInf ...

  3. LeetCode OJ combine 3

    public class Solution { public List<List<Integer>> combinationSum3(int k, int n) { retur ...

  4. Telnet服务器和域名系统的端口号 Mac OS X

    找到Telnet服务器和域名系统的端口号: lapommedeMacBook-Pro:~ lapomme$ grep telnet /etc/services telnet /udp # Telnet ...

  5. PowerDesigner 的mysql PDM 的COMMENT注释

    PowerDesigner 的mysql PDM 的COMMENT注释 2012-11-01 15:38 4447人阅读 评论(0) 举报 分类: 数据库相关(7) PowerDesigner 的my ...

  6. Tomcat 启动报错:javax.naming.NamingException: No naming context bound to this class loader

    分析原因:在类中使用了Log .只是在项目lib路径下添加了slf4 的jar包,在Tomcat\lib下未添加 解决方案:将slf4的jar包放到tomcat\lib下.

  7. Oracle 正则 一行转多行

    , LEVEL, 'i') AS STR,bjdm FROM valueWeekInfo CONNECT ; 可以将 bjdm 换成 '01,02,03,04' , valueWeekInfo 换成d ...

  8. wcf中的使用全双工通信

    wcf中的契约通信默认是请求恢复的方式,当客户端发出请求后,一直到服务端回复时,才可以继续执行下面的代码. 除了使用请求应答方式的通信外,还可以使用全双工.下面给出例子: 1.添加一个wcf类库 2. ...

  9. 多态性Polymorphism

    一.多态性的概念:   1.多态:在面向对象方法中一般是这样表述多态性的: 向不同的对象发送同一个消息,不同的对象在接收时会产生不同的行为(即方法).也可以说,多态性是“一个接口,多种方法”. 2.从 ...

  10. 初试LIBSVM

    在做Kinect手势识别项目的时候用到了SVM这个东西.原理上不甚了解,但是用起来感觉还是很神奇的. 度娘百科:支持向量机SVM(Support Vector Machine)作为一种可训练的机器学习 ...