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完全不同要实现兼容,就需要构建一个虚拟层 ...
随机推荐
- jquery实现页面内部的内容切换
html页面 .box-body-1-3 li{ margin: 20px; cursor: pointer; //实现鼠标放在上面是小手状态 } 点击列表 <div class=" ...
- vs2012常用快捷键总结
ctrl+k+c 注释 ctrl+k+u 取消注释 ctrl+m+t 折叠代码 ctrl+t 取消折叠 ctrl+k+d 调节代码 ctrl+f 查找 ctrl+g 跳转行(一般调试的时候显示哪行 ...
- 单尺度二维离散小波重构(逆变换)idwt2
clc,clear all,close all; load woman; %单尺度二维离散小波分解.分解小波函数haar [cA,cH,cV,cD]=dwt2(X,'haar'); %单尺度二维离散小 ...
- Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
在mac上面安装mysql之后,输入mysql一直报错,可以通过下面的方法解决. mysqld stop mysql.server start http://stackoverflow.com/q ...
- linux上发布网站遇到的问题
在linux上部署mono之后,就自己使用vs写了个简单的网站上传到linux下的apache目录下的htdocs下,就使用主机的浏览器访问地址,但是很残酷的报错了!百思不得其解.搞了半天才想到是因为 ...
- JavaScript(9)——call与apply
call与apply call和apply方法可以通过函数名称来调用函数.有两个参数 call()方法与apply()方法的作用相同,他们的区别仅在于接收参数的方式不同. [call] 调用一个对象的 ...
- Python logging模块使用记录
1.简单的将日志打印到屏幕 import logging logging.debug('This is debug message') logging.info('This is info messa ...
- Chapter 1 First Sight——33
At that moment, the bell rang loudly, making me jump, and Edward Cullen was out of his seat. 在这个时候,铃 ...
- 如何将excel导入到数据库中并在gridview中显示
在页面上导入个excel文件,将该excel中的数据导入到数据库中,并且在页面的gridview中把数据显示出来. .在Asp.net中怎样将Excel文件中的数据导入到GridView中呢? 首先我 ...
- 第三十五节,json数据类型转换字符串模块
在使用json模块时需要先 import json 引入模块 json.dumps()模块函数 功能:将Python数据类型转换成字符串[有参] 使用方法:json.dumps(要转换的数据类型变量) ...