How to Install and Remove Apps Through Terminal on Ubuntu

Table of contents:

How to Install and Remove Apps Through Terminal on Ubuntu
How to Install and Remove Apps Through Terminal on Ubuntu

Video: How to Install and Remove Apps Through Terminal on Ubuntu

Video: How to Install and Remove Apps Through Terminal on Ubuntu
Video: How do I sync my gmail with outlook 2024, November
Anonim

If you are new to Ubuntu and want to know how to install and remove software on the operating system, you need to read this article. You can install and remove software on Ubuntu in two ways: via the command line (Terminal) or the Ubuntu Software Center. In this article, you can find out how to install and remove software on Ubuntu via Terminal.

Step

Step 1. To open Terminal, press the shortcut Ctrl+Alt+T on the keyboard or go to menu “Applications” > “Accessories” > “Terminal”

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

For example, to install the desired program on Ubuntu, you need to use this command: sudo apt-get install 'application_name' (Replace 'app_name' with the application or program you want to install)

Method 1 of 2: Installing Programs Through Terminal

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 MPlayer, you need to type the following command in a Terminal window (press Ctrl+Alt+T on your keyboard to open Terminal) or copy and paste it:

“sudo apt-get install mplayer” (without quotes). After that, press 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. Don't get confused when you are asked to enter a password

The password that needs to be entered is the entry used on the login page. When typed, the password entry will not appear in the Terminal window. Just type in the password and press the “Enter” key. If the password entered is correct, the action will continue.

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

Step 3. Type “y” and press “Enter” key when Terminal asks if you want to continue the action

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

Step 4. Wait until the installation process is complete

After that, if you want to run MPlayer, type the following command into the Terminal window: “mplayer”. After that, press the “Enter” key.

Method 2 of 2: Uninstalling Programs Via Terminal

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

Step 1. To remove MPlayer, you need to type the following command in a Terminal window (press Ctrl+Alt+T on your keyboard first to open Terminal) or copy and paste it:

“sudo apt-get remove mplayer” (without quotes). After that, press 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 you are asked to enter a password

The password that needs to be entered is the entry used on the login page. When typed, the password entry will not appear in the Terminal window. Just type in the password and press the “Enter” key. If the password entered is correct, the action will continue.

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

Step 3. Type “y” and press “Enter” key when Terminal asks if you want to continue the action

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 deletion process to complete

After that, you can close the Terminal window. Now the program has been successfully removed.

Recommended: