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
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
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.
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.
Step 3. When prompted to confirm your willingness to proceed with the installation, type the "y" key on your keyboard and press "Enter"
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
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.
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.
Step 3. When prompted to confirm that you wish to proceed with the uninstall, type the "y" key on your keyboard and press "Enter"
Step 4. Wait for the uninstall to complete
At the end of this step, you will be able to close the "Terminal" window.