If you’re having trouble adjusting to the Ubuntu terminal and issuing Linux commands with confidence start using a basic command that you’ll use often. This tutorial focuses on issuing the ‘sudo apt-get install’ and ‘sudo apt-get remove’ commands to install and remove packages quickly from the command line.
Open The Terminal Window
The Terminal window is located in the menu at Applications — Accessories — Terminal.
In the screenshot below you can see what the terminal window looks like.

Install A Software Package
Once you have the terminal window open type in the following command.
Replace the word packagename with the name of the package you want to install.
Remove A Software Package
You can also remove packages using a similar command seen below.
Replace the word packagename with the name of the package you want to remove.