How to use apt-get (Ubuntu)

apt-get (apt stands for advanced packaging tool) is used to install the packages on your system.

To install a package use (in terminal):
root@penreturns:~$ sudo apt-get install
To remove:


root@penreturns:~$ sudo apt-get remove
where is the name of the package you need to install.

Once I install the new Ubuntu, I usually do:

root@penreturns:~$ sudo apt-get update
and
root@penreturns:~$ sudo apt-get upgrade
which updates the local package list and upgrades to the latest versions from Ubuntu repositories.

You can also upgrade the entire distribution of your Ubuntu by typing:
root@penreturns:~$ sudo apt-get dist-upgrade
if you need more information, type
root@penreturns:~$ sudo apt-get help

Enjoy.

*copy code without root@penreturns:~$ 

Reply to this post

Post a Comment