Installing and removing packages of software is the first step of any operating system. Linux is a very powerful operating system but the main problem with Linux is that the installation of software is not as easy as the Windows operating system and if we are working with the command line it seems very difficult. So in the topic, we will cover the basic installation command in Linux operating system with a command line.
Install
sudo apt-get install package_name # Install a package
Remove
sudo apt-get remove package_name # Uninstall package
sudo apt-get purge package_name # Remove a package and its config files.
Search
apt-cache search package_name # Search for a package.
Describe
apt-cache show package_name # Describe package.
apt-get showpkg package_name # Show a package's dependencies.
List Installed
dpkg -l # List all installed packages
Update All Installed Software
sudo apt-get update # Update all software (It'll ask to confirm)
sudo apt-get upgrade
sudo apt-get distupgrade
If you want to learn more about linux then you can check Linux playlist.