found this .. already done by precedents..
installation:
aptitude installapt-get installyum installpacman -S
searching..
aptitude searchapt-cache searchyum searchpacman -Ss
update db & upgrade..
aptitude update && aptitude upgrade && aptitude dist-upgradeapt-get update && apt-get upgrade && apt-get dist-upgradeyum update && yum upgradepacman -Syu
install dependencies..
aptitude build-depapt-get build-depyum-builddeppacman -S
getting source code:
aptitude sourceapt-get source yumdownloader --source yaourt -G
remove single pkg..
aptitude removeapt-get removeyum removepacman -R
remove pkg and its deps..
aptitude remove " seems cannot deal with depsapt-get autoremoveyum autoremovepacman -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/fileyum 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 ~/.bashrcyum historyls /var/cache/pacman/pkg || cat /var/log/pacman.log
undo changes using pktmgmt tools..
~~yum history undo idxcd /var/cache/pacman/pkg; pacman -U "the undo pkg"
clean all installation package caches:
aptitude cleanapt-get cleanyum clean allpacman -Scc
clean installation package caches that cannot be downloaded from repo anymore, which likely these caches are the most useless.
aptitude autocleanapt-get autoclean~~
install cross build toolchains:
TBDdpkg --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] ]TBDTBD
View package changelog:
aptitudeapt-get changelog pkgrpm -q --changelog pkgpacman -Qc pkg