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. 理解WebKit和Chromium(电子书)

    前言   基础篇 WebKit, WebKit2, Chromium和Chrome介绍 WebKit和Blink WebKit和Chromium代码目录结构介绍 WebKit和Chromium功能模块 ...

  2. 异常处理try-catch-finally笔记

    当程序发生异常时,我们期望:返回到一种安全状态,并能够让用户执行一些其他的命令:或者 允许用户保存所有操作的结果,并以适当的方式终止程序. 异常处理机制:程序的执行过程中如果出现异常,会自动生成一个异 ...

  3. ESPlatform 支持的三种群集模型 —— ESFramework通信框架 4.0 进阶(09)

    对于最多几千人同时在线的通信应用,通常使用单台服务器就可以支撑.但是,当同时在线的用户数达到几万.几十万.甚至百万的时候,我们就需要很多的服务器来分担负载.但是,依据什么规则和结构来组织这些服务器,并 ...

  4. 核心梳理——消息处理的骨架流程——ESFramework 4.0 进阶(02)

    在ESFramework 4.0 概述一文中,我们提到ESFramework.dll作为通信框架的核心,定义了消息处理的骨架流程,本文我们来详细剖析这个流程以及该骨架中所涉及的各个组件.ESFrame ...

  5. [ An Ac a Day ^_^ ] CodeForces 680A Bear and Five Cards

    这两天回家了 家里电脑太卡 调试不方便 就只能写写水题了…… #include<stdio.h> #include<iostream> #include<algorith ...

  6. js 获取页面可视区域宽高

    获取浏览器窗口的可视区域高度和宽度,滚动条高度有需要的朋友可参考一下. 1.IE中,浏览器显示窗口大小只能以下获取: 代码如下复制代码 代码如下 document.body.offsetWidth d ...

  7. python3 随机数

    random库 random.random()返回n,则 0 <= n < 1的小数. random.uniform(a,b)    返回n ,则 a <= n <= b的浮点 ...

  8. app.use(express.static)设置静态文件目录小解

    app.use(path, function, [, function]) 功能: 为path注册中间函数,即根据path使用不同函数进行处理,默认path是"/",也就是处理任何 ...

  9. HDU 5933/思维

    题目链接[http://acm.hdu.edu.cn/showproblem.php?pid=5933]; 题意: 给出n堆物品,问能不能分成K个数量相等的堆,如果能分,则最少次数是多少.分的规则为: ...

  10. Flask -- 使用数据库(Sqlite3)、用户注册、登录注销、修改密码

    # 使用sqlite数据库 import sqlite3from contextlib import closing app.config.update( DATABASE = 'my.db', #相 ...