pkgmgmt: Comparison between different Linux Systems..
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..的更多相关文章
- 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 ...
- Virtualization solutions on Linux systems - KVM and VirtualBox
Introduction Virtualization packages are means for users to run various operating systems without &q ...
- Install MongoDB on Linux Systems 速记
下载mongodb最新版本: 下载链接:http://pan.baidu.com/s/1kTDnkyz curl -O http://downloads.mongodb.org/linux/mongo ...
- 交叉编译工具链介绍《Building Embedded Linux Systems》
1.前言 配置和编译一个合适的GNU工具链是相对复杂的并且需要很精细的操作,包括你需要对不同软件库之间的依赖关系.它们的各自的任务,不同软件库版本情况都有比较好的了解,编译工具链是一个乏味的工作. 2 ...
- 网站行为跟踪 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/ ...
- Linux 2.6 内核实时性分析 (完善中...)
经过一个月的学习,目前对linux 下驱动程序的编写有了入门的认识,现在需要着手实践,编写相关的驱动程序. 因为飞控系统对实时性有一定的要求,所以先打算学习linux 2.6 内核的实时性与任务调 ...
- 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 ...
- linux tcp调优
Linux TCP Performance Tuning News Linux Performance Tuning Recommended Books Recommended Links Linux ...
- Linux和Windows兼容
1. 介绍 我们知道Linux上的应用程序是ELF格式的,而Windows则是PE格式 所以要解决这个问题首先二进制加载问题:其次,就是API问题,两者的API完全不同要实现兼容,就需要构建一个虚拟层 ...
随机推荐
- HDU 1009 FatMouse' Trade(贪心)
FatMouse' Trade Problem Description FatMouse prepared M pounds of cat food, ready to trade with the ...
- asp.net接收发送的xml字符串数据
最近研究为新的接口,发现发送的消息的格式为xml类型.之前接口接触的多是接收json类型的数据,可以直接通过Request["Key"]/Request.QueryString[& ...
- [ An Ac a Day ^_^ ] CodeForces 691F Couple Cover 花式暴力
Couple Cover Time Limit: 3000MS Memory Limit: 524288KB 64bit IO Format: %I64d & %I64u Descri ...
- 解决MOSS列表匿名访问问题
//匿名 http://blog.csdn.net/yang_5/article/details/5214293 这是发布以后MOSS网站,如果你一开始在内部都没有启用匿名访问,你设置这个是不启作用 ...
- Swift-HELP
//获取网页地址对应的字符串 var urlString = url.absoluteURL.absoluteString
- ajax的项目实操(只用于记录部分文件未引入)
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content ...
- oc 是否允许远程通知
UIUserNotificationSettings *setting = [[UIApplication sharedApplication] currentUserNotificationSett ...
- 关于oracle数据库(6)约束
约束类型 1.主键primary key(一般是一个表的标志,所以一个表只能有一个主键:主键不能为空,不能重复) 2.唯一键unique(不能重复) 3.外键foreign key 4.检查约束che ...
- html5实现滚动文字
<div class="custom-notice"> <i class="icon-notice"></i> <ma ...
- php 生成json格式的数据
放到引入的公共函数里边 if (!function_exists('format_json')) { /** * 格式化API输出的json * @param $return_code string ...