Sunday, September 25, 2016

Linux command to install software for various Distro

Ubuntu (*buntu, Mint linux)
Apt-get install
apt-get update
apt-get remove
apt-get dist-upgrade
apt-get purge

Fedora/RHEL/CentOS
yum install
yum update
yum remove

Opensuse
yast2 --install
yast2 --remove

Freebsd 
pkg_add
pkg_delete


Gentoo

emerge package    # Install
emerge -C package # Remove a package
emerge -s keyword # Search for packages (package names only)
emerge -u package # update the package 


Arch
pacman -U package.pkg.tar.xz # Local package install
pacman -Syy                  # Refresh package databases
pacman -Syu                  # Update installed packages
pacman -S package            # Install package
pacman -R package            # Remove package

No comments:

Post a Comment