My most used command options of the command APT

apt install -y <program name>        	# install a program
apt remove  -y <program name>			# uninstall a program but leave config files
apt purge -y <program name>				# uninstall a program and remove all config files   
apt update -y							# update package information
apt upgrade -y				# upgrade all packages but will not remove any packages to upgrade
apt full-upgrade -y			# upgrade all packages and remove any packages to upgrade  
apt autoremove -y			# remove any dependencies not needed 

Share this content: