installation:
aptitude install apt-get install yum install pacman -S
searching..
aptitude search apt-cache search yum search pacman -S
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 install yum install pacman -S
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 -Rs
remove pkg without removing the pkg dependent on it..
~ ~ ~ pacman -Rdd
search db for certain file..
aptitude search ‘re‘ apt-file search ‘re‘ yum whatprovides ‘re‘ pacman -Fysx ‘re‘
时间: 2024-10-06 21:40:05