Linux

How to install Applications using Terminal in Ubuntu?

0 282

Whenever we install a new operating system we would at first be puzzled at the strangeness of the new desktop environment. We don’t know what to do and what not to do. But when it comes to linux things get easy than a user can imagine and the problem that pops up can be rectified easily.

Users who are new to linux often find it difficult in installing new softwares. Well, installing softwares is quite easy in linux. There are basically two methods for installing an Application in Ubuntu.

  • Installation using the software center which is a GUI tool and comes pre-installed with linux which is used to install, remove and update the softwares.
  • Installation through terminal (like command prompt in Windows OS).

First, I’ll guide through installation of software using Ubuntu Software Center which most would prefer as its easier.

Installation Using Ubuntu Software Center

Users who are using Ubuntu 9.04 and later will have Ubuntu Software center pre-installed. But some who were using “Synaptic Package Manager” don’t be alarmed as it can be downloaded using Ubuntu Software Center.

Step 1:

On your Ubuntu desktop sidebar (on the left) you can find the icon “dash home” (marked in red), click it.

Step 2:

After you have clicked the “dash home” you will see the dash menu appear.

Step 3:

Next, in the search bar(marked red in previous image) type “Ubuntu software center” and you should see the “Ubuntu software center” icon the “dash home” menu, click it. Ubuntu Software center loads as shown in the image below,

Step 4:

  • Once you are at the Ubuntu software center you can search for the software you need in “search” bar which is in the top right corner.
  • For example. If you need to install vlc media player, type as “vlc” in the search bar.

Step 5:

Select “VLC media player” from the search results and click on install (marked in black).

Step 6:

After you have clicked the install button, you will be prompted to enter your administrator password for installing the software. Enter the password and click on “Authenticate” button (marked in red) to begin the installation.

Step 7:

The completion of the installation is indicated by the “green tick”. You can also remove an application by using the “remove” button (marked in black).

These are the few simple steps with which you can install and remove any software you need via “Ubuntu Software Center”.

Installation from Terminal

Now let’s see how to do the installation like a pro using the terminal.

Step 1:

You can open the terminal either from the sidebar panel or click on the “dash home” as you did previously and type in the “search” bar as “terminal” and click on the terminal icon (marked in red).

Step 2:

  • After you get the terminal window, type in the following command and press “enter”.
sudo apt-get install vlc
for example: vms20591@vms20591:~$ sudo apt-get install vlc 

here the ‘~’ symbol denotes that you are in your ubuntu’s home directory, if you don’t see the ‘~’ type in the command “cd ~” without the quotes.

  • Once you have pressed enter, the system asks you for the root/administrator password [Note: While you start typing the password you will notice that nothing is displayed in the screen and don’t be alarmed, whatever you enter is being registered. So, focus on typing the password correctly and press enter. You won’t be able to see the password while you type, so don’t be panic just type the write password.
  • Note: While the installation begins if you are freshly installing the software you will be prompted in the terminal that a certain amount of files should be downloaded , to continue press [y/n]. Type “y” to continue with the installation and “n” for canceling the installation.
  • Then you will prompted on the completion of vlc.
  • To run vlc just type “vlc” in terminal and press enter.

Feedbacks

Hope you enjoyed this tutorial. We would love to explore more on Ubuntu in our future posts. Please feel free to share your views on the tutorial and also please suggest as topics which you would like us to discuss in smashingtips.

About the author / 

Related Posts

Popular

Editor’s Pick

  • Read More hack for Blogger with automatic Thumbnail creator script

    You might have noticed that since few weeks I have been using a strange script which enables us to summarize content and show only the summary with a thumbnail in Home Page , Archives page and Labels page. Since some of my readers requested this hack in gtalk , so I am going to explain…

  • 9gag Clone Blogger Theme

    Yo Fellas! Hope you are having a great time.I have been busy with server migration and web design works lately. At last i have got some time to write a quick post. In this post, I am looking to distribute my another Blogger template called “9Gag Clone”. Yes, as the name suggests its a 9gag.com…

  • 45+ surreal Long Exposure Photography Inspirations

    Long exposure photography is one of the coolest ways of taking pictures. It requires a longer shutter speed, anywhere from 1/2 sec up to several minutes or even a hour. The ability to take long exposures requires a user to use a tripod for optimum results (of course, some people prefer the hand shake look)….

  • 85+ BreathTaking Tilt-Shift Photography and Resources

    Tilt-Shift photography is the technique of using selective focus. This is used to reduce the magnitude of large size photos to make it into miniature models. One moves the lens adjacent to the plane of the image in the shift phase while moving the lens through an angle to that of the image plane is…

  • Show Recent Posts With Thumbnail from Particular Label/Category in Blogger

    Hey Blogger friends, Today i have come up with another cool blogger hack. It’s about showing recent posts with/without thumbnail from any particular label/category in blogger. As you can see in my sidebar, I have listed recent posts from each category, but i have done this in wordpress. So if you want to do same…