Sunday 15 June 2014

Installing various applications in Ubuntu [via terminal]


There are various application software which a user sometimes need urgently.They can be installed via terminal in any version of ubuntu. Here are some of them-

VLC media player:-

Open the terminal by ctrl+alt+T and type the following commands
sudo add-apt-repository ppa:videolan/stable-daily
sudo apt-get update
sudo apt-get install vlc
and Done!

Flashplayer:- 

It is very easy,open the terminal and type the following command
sudo apt-get install flashplugin-installer
and then restart your browser to see the effect.

Adobe Reader:-

Though there is a 'Document Viwer' built in every Ubuntu distro to rad pdf files but nothing equals adobe reader.To install  it type the following commands in the terminal
sudo add-apt-repository "deb http://archive.canonical.com/[distro]partner"
sudo apt-get update
sudo apt-get install acroread
and Done!

LAMP server:-

This is very useful and I think necessary for web developer in Linux.To install it via terminal follow the following processes-
sudo apt-get install tasksel
sudo tasksel install lamp-server 
Now a window will come with various questions and mysql username and password.To begin with,give username 'root'.
Done!
Check the stuffs are correctly installed or not from the following steps.
Enter http://localhost in your browser and if the installation was correct then it will show
"It Works!" and other stuffs.
Now write a php file,namely test.php and type the code
<?php phpinfo() ?>
Save it in /var/www folder
Now type the url http://localhost/test.php and you will see a list of stuffs there.
For details see http://in1.php.net/manual/en/install.php

Thank you! more stuffs will be updated soon.

No comments:

Post a Comment