Installing software

12 1 0
                                        

As you learned about the sudo, now you have the opportunity to use it:

The terminal is designed to do advances things that you can't in the GUI (graphical interface). But, there are also plenty of commands that are easy to use and handy to do. For example installing packages and apps from the command line.

Using apt:

"apt" Is a command in Debian distributions that is made to manage and install software. Here is how to use it:

apt [action] [package]

The problem with apt, is that you always have to be logged in with the administrator user. So to install something, run:

sudo apt ...

There are multiple possible "commands" that apt can do. Here are listed the most important of them:

1. install

You will definitively use this command the most. This installs an package for you. The usage is: apt install [package]

2. remove

To uninstall and remove a package, use remove. Usage: apt remove [package]

3. "update" and "upgrade"

To update your computer, run these two commands without arguments:

sudo apt update

sudo apt upgrade


That were all subcommands of apt you should know. Don't forget to add the sudo command, because otherwise, the installation fails.

This was quite a chunk of text for only 1 command, but this is one of the most important ones. Until next time!

Linux for dummiesWhere stories live. Discover now