Developer Guide

Using apt tool infographics Linux basic tool series part 1

Using apt tool infographics Linux basic tool series part 1

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

Using apt tool infographics

What is the Apt tool?

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.

Why we use the Apt tool?

we use Apt tool for many things like :

  1. Installing a package in Linux
  2. Updating a package in Linux
  3. Checking for system updates
  4. Removing packages in Linux

Common Commands for using Apt tool

1. Apt Update

to check for updates run following command

sudo apt update

2. Apt Upgrade

for installing any updates available, run following command

sudo apt upgrade

3. Apt Install <PackageName>

To install any package, enter the following command,

sudo apt install <packageName>
sudo apt install vlc

4. Apt Remove <PackageName>

For removing any package, enter the command followed by package name

sudo apt remove <PackageName>
sudo apt remove vlc

[su_note color=”#deb5a2″]Also read | Top Linux Distros you need to know[/su_note]

5. Apt AutoRemove

Same as remove, but to remove packages which are not required now, enter the command

sudo apt autoremove

6. Apt clean

to clean the update cache( list of packages to be downloaded) run following command

sudo apt clean

7. Apt-get in place of apt

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>

8. Apt help command

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)


[su_note color=”#deb5a2″]Also read | The Right way to code and syntax you need to follow.[/su_note]

Final words

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.

This post was last modified on March 23, 2021 10:47 pm

Balvinder Singh

Founder And Editor at Tekraze.com. Loves to write about technology, gaming, business, tips and tricks. Working as a Senior Software Engineer in Infosys India. Exploring different blockchains as well.

Leave a Comment

View Comments

  • The Board of Secondary Education of Andhra Pradesh is also known as the Directorate of Government Examinations. This SSC Board was formed in 1953 and its functions as an autonomous body under the Department of AP SSC Textbook 2023 Education, Andhra Pradesh. The Directorate of Government Examinations DOE’s is an independent department functioning under ministry of secondary education, Govt. of Andhra Pradesh.

Share
Published by
Balvinder Singh

Recent Posts

Unlocking Freedom: Remove KG Lock – Your Trusted Partner for Samsung Device Unlocking

Struggling with a locked Samsung Galaxy or Note smartphone? Remove KG Lock, a U.S.-based company,…

4 days ago

How to Use Photoshop Online Free Editor Photopea

When you open Adobe Photoshop for the first time, it's easy to click around in…

4 days ago

8 Social Media Apps for Influencers need to know

Social Media Influencer apps for mobile With the increasing number of social media platforms and…

6 days ago

Microsoft Dynamics 365 you need to know

Microsoft Dynamics 365 is a suite of Business Applications from Microsoft that covers the traditional…

1 week ago

Safe Downloading in South Korea: Alternatives to Torrents on pa2010.com

While torrents and peer-to-peer (P2P) file sharing have long been popular for data transfer, concerns…

1 week ago

Remote Satellite Systems International: Securing Your Communications in Any Situation

In today's increasingly interconnected world, reliable communication is paramount. But what happens when emergencies strike…

2 weeks ago