How to Install and Uninstall an App Using the Ubuntu Terminal Window

Table of contents:

How to Install and Uninstall an App Using the Ubuntu Terminal Window
How to Install and Uninstall an App Using the Ubuntu Terminal Window
Anonim

If you are taking the first steps in using the Ubuntu operating system and want to know how to install or uninstall programs, then you should read this article. You can install and uninstall programs on Ubuntu in two ways: using the "Terminal" window (the Linux command prompt) or the Ubuntu Software Center. This article explains how to install and uninstall applications on a computer running Ubuntu using the "Terminal" window.

Steps

Step 1. To open a "Terminal" window, press the key combination "Ctrl + Alt + T" or access the "Applications" menu, choose the "Accessories" item and finally click on the "Terminal" option

Install and Uninstall Applications from Terminal in Ubuntu Step 1
Install and Uninstall Applications from Terminal in Ubuntu Step 1

For example, to install a certain application on an Ubuntu system, you will need to use the following command: "sudo apt-get install [app_name]" (replacing the "[app_name]" parameter with the application you wish to install)

Part 1 of 2: Install a Program Using the Terminal Window

MPlayer

Install and Uninstall Applications from Terminal in Ubuntu Step 2
Install and Uninstall Applications from Terminal in Ubuntu Step 2

Step 1. To install the "Mplayer" program, you will need to execute the following command inside the "Terminal" window (which you can open by pressing the key combination "Ctrl + Alt + T"), typing it manually or copying and pasting it:

"sudo apt-get install mplayer", then hit the "Enter" key.

Install and Uninstall Applications from Terminal in Ubuntu Step 3
Install and Uninstall Applications from Terminal in Ubuntu Step 3

Step 2. When prompted for your password, don't be confused

The password required is the one you use to log into the system. In Linux, when you enter any password in the "Terminal" window, the typed characters are not displayed on the screen. After entering the password, press the "Enter" key. If the latter is correct, the command will be executed.

Install and Uninstall Applications from Terminal in Ubuntu Step 4
Install and Uninstall Applications from Terminal in Ubuntu Step 4

Step 3. When prompted to confirm your willingness to proceed with the installation, type the "y" key on your keyboard and press "Enter"

Install and Uninstall Applications from Terminal in Ubuntu Step 5
Install and Uninstall Applications from Terminal in Ubuntu Step 5

Step 4. Wait for the installation of the indicated program to complete

At the end of this step, to start the "Mplayer" app, you will have to type the following command in the "Terminal" window and press the "Enter" key: "mplayer".

Part 2 of 2: Uninstalling a Program Using the Terminal Window

Install and Uninstall Applications from Terminal in Ubuntu Step 6
Install and Uninstall Applications from Terminal in Ubuntu Step 6

Step 1. To uninstall the "Mplayer" program, you will need to execute the following command inside the "Terminal" window (which you can open by pressing the key combination "Ctrl + Alt + T"), typing it manually or by copying and pasting it:

"sudo apt-get remove mplayer", then hit the "Enter" key.

Install and Uninstall Applications from Terminal in Ubuntu Step 7
Install and Uninstall Applications from Terminal in Ubuntu Step 7

Step 2. Don't get confused when prompted for your password

The password required is the one you use to log into the system. In Linux, when you enter any password in the "Terminal" window, the typed characters are not displayed on the screen. After entering the password, press the "Enter" key. If the latter is correct, the command will be executed.

Install and Uninstall Applications from Terminal in Ubuntu Step 8
Install and Uninstall Applications from Terminal in Ubuntu Step 8

Step 3. When prompted to confirm that you wish to proceed with the uninstall, type the "y" key on your keyboard and press "Enter"

Install and Uninstall Applications from Terminal in Ubuntu Step 9
Install and Uninstall Applications from Terminal in Ubuntu Step 9

Step 4. Wait for the uninstall to complete

At the end of this step, you will be able to close the "Terminal" window.

Recommended: