The command line is a very powerful tool for any Ubuntu user. It allows for example to install in seconds a program that will take several minutes to find on the graphical interface. In this tutorial, we will therefore see how to install a command line program on Ubuntu.
Installation of a program on Ubuntu via the terminal
- To get started, open a terminal.
- Then enter the following command: sudo apt install NomDuLogiciel. For this tutorial, we will install Stellarium. The correct command is therefore sudo apt install stellarium. If in doubt about the writing, you can double-press the Tabulation key. If several software have a similar name, a list will display them. All you have to do is enter the command again with the correct software name, then validate.
- Enter your user password to continue, then press the Enter key on the keyboard. A list of packages to download is displayed. Ubuntu is waiting for your consent to continue. Press the key "o” for Yes and then Enter.
- Let the software install.
- After a few seconds, the terminal returns your hand. Enter the command exit or close it using the cross at the top right of the window.
- You can now access your new software from the applications menu.
If the first times with the command line can seem difficult, you will quickly see with practice that the results are much faster than with the graphical interface. This is one of the strengths of the Ubuntu system.
To download :
Find other tutorials on Ubuntu:
- How to program the automatic launch of software when Ubuntu starts up?
- How to disable the automatic launch of software when Ubuntu starts up?
- How to install Java on Ubuntu?
- How to uninstall software on Ubuntu?
- How to remove Amazon from Ubuntu?