Action
Apt command
Pacman command
Refresh the package database: apt-get update pacman-g2 -Sy
Upgrade currently installed packages: apt-get upgrade pacman-g2 -Su
Install a new package: apt-get install foo pacman-g2 -S foo
Remove a package: apt-get remove foo pacman-g2 -Rc foo
Search in the full package database: apt-cache search foo pacman-g2 -Ss foo
Install a package from a file: dpkg -i foo.deb pacman-g2 -A foo.fpm
Clean the package cache: apt-get clean pacman-g2 -Sc