While it is true that Ubuntu has an App Store that makes installing compatible apps a breeze, sometimes you come across an app that you must install from the command line.
The command line is the way you can use the O/S by completely bypassing the GUI.
Even though this how to focuses on Ubuntu, this should work with other flavors of Linux as well.
- Open Terminal (CTRL + ALT + T).
- Navigate to the directory where you’ve downloaded the file (usually cd/username/download).
- To install any software on Linux, you must have administration rights (also known as a Super user or Root).
- At the prompt, type: su –
- When prompted, enter the root password.
- If all goes well, you’ll see another prompt that should look like: #root@username >
- To find the name of the package that you’ve downloaded, issue the command ls
- When you find the file, then it’s time to unpack it and install the included installer.
- Type: sudo dpkg -I filename.deb
- The above command will unpack the necessary files from the .deb file and put them in the same directory.
- Then (if it finds an install package) will go ahead and install the app for you.
- You’ll see each file being unpacked and installed in their correct locations.
- That’s it.
Again, this should work with all flavors of Linux (and possibly Unix as well).
About Post Author
(Visited 16 times, 1 visits today)