hi everyone, today we going to share an infographic we created from the series Linux Basic tool, a short video series on our social media channels. In this, we would talk about using the apt tool in Linux. So, let’s start
The apt tool is short for Advanced Package Tool. Apt is a free software user interface that works with core libraries to handle the installation and removal of software on Debian, Ubuntu, and related Linux distributions. You can use apt to install any application, update, or remove.
We use the Apt tool for many things like :
- Installing a package in Linux
- Updating a package in Linux
- Checking for system updates
- Removing packages in Linux
to check for updates run the following command
sudo apt update
for installing any updates available, run the following command
sudo apt upgrade
To install any package, enter the following command
sudo apt install <packageName> sudo apt install vlc
For removing any package, enter the command followed by package name
sudo apt remove <PackageName> sudo apt remove vlc
Also, read | Top Linux Distros you need to know
Same as remove, but to remove packages which are not required now, enter the command
sudo apt autoremove
to clean the update cache( list of packages to be downloaded) run the following command
sudo apt clean
same as apt, but a little faster than apt, use apt-get in place of apt in previous commands.
sudo apt-get update sudo apt-get clean sudo apt-get upgrade sudo apt-get install <packageName> sudo apt-get remove <packageName>
For getting any help or commands usage, other than our listed commands(complex ones, not used regularly) enter the below command.
sudo apt -h
Note: sudo is required to run command in escalated mode ( as admin with more permissions)
Also, read | The Right way to code and syntax you need to follow.
So, I hope this content will help you learn something. Please share your views about infographics shared and content. Keep visiting back for more updates. Thanks for reading.
Originally published at https://tekraze.com/2020/12/using-apt-tool-linux-infographics/