Learn About Apt commands for linux machine.
List of APT commands
----------------------------------------------------------------------------------------
In this lecture, we are looking at the APT command for Linux machine.without wasting more time in intro and theory stuff.
let's get started.
APT Commands:
1)update your packages
>apt-get update
2)upgrade your all packages
>apt-get upgrade
3)upgrade your Debian version to the last version
>apt-get dist-upgrade
4)install the package
>apt-get install package_name
5)install multiple packages
>apt-get install package1 package2 package3 etc.
6)Remove package with dependency
>sudo apt-get purge package_name
7)remove the package
>apt-get remove packagename
8)Remove old packages
>apt-get autoremove
9) it tries to repair faulty packages
>apt-get -f install
10) install package.deb
>install package.deb
11) Give information of about package
>sudo apt-cache show package_name
12) get information about help
>apt-get help
Note: If you find this blog a little bit informational then do follow the blog and share the blog.
Comments
Post a Comment