I use pacman in Arch Linux for installing packages.
The command for installing is
pacman -S,The command for a full system upgrade is
pacman -SyuandThe command for repository update is
pacman -Syy.
I want to know what is the equivalent for pacman in Ubuntu and its corresponding command.
2 Answers
I have to refer you to this link from Arch Wiki which compares pacman commands with other package managers:
Arch Debian/Ubuntupacman -[S|Q]i apt show / apt-cache policy
pacman -Qi dpkg -s / aptitude show
pacman -Si apt-cache show / aptitude show
pacman -Ql dpkg -L
pacman -Fl apt-file list $pattern
pacman -Qo dpkg -S / dlocate
pacman -Ql dpkg-query -L
pacman -Fo apt-file search
pacman -Fs apt-file search
pacman -Qc apt-get changelog
pacman -Ss apt search
pacman -Qu apt-get upgrade -> n
pacman -Sl apt-cache dumpavail
...
...A shot from page:
0Ubuntu is Debian based Linux distro. It uses the APT for package management.
Command for updating the repositories
sudo apt-get updateCommand for updating the system packages
sudo apt-get upgradeCommand for installation of package
sudo apt-get install <package_name> 3