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”
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
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.
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.
Step 3. Type “y” and press “Enter” key when Terminal asks if you want to continue the action
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
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.
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.
Step 3. Type “y” and press “Enter” key when Terminal asks if you want to continue the action
Step 4. Wait for the deletion process to complete
After that, you can close the Terminal window. Now the program has been successfully removed.