Wednesday, November 17, 2010

How to install VLC media player?

Type the following Commands in the file of extension .sh
sudo add-apt-repository ppa:gnome-media-player-development:development
sudo apt-get update
sudo apt-get install vlc mozilla-plugin-vlc
Now run the file in terminal using command :
   ./file_name.sh
Adopt this procedure if the command sudo apt-get install vlc media player is not working.

How to install Chromium(Google chrome) in ubuntu?

Follow the following steps:
  • Click in the Applications>>Ubuntu Software Centre.
  • "Ubuntu Software Centre"dialog box is displayed.
  • Click on the Edit>>Software Sources.
  • Click on the "Other Software" tab and then click on the Add Button.
  • Type:
ppa:chromium-daily/ppa
  • Then click on the Add Source button.
  • Now Click Applications>>Ubuntu Software Center.
  • In the Search For : Type   Chromium and press enter.
  • Chromium will display in the result section.
  • Click on the Install button.

How to Install C++ in ubuntu?

C++ in Ubuntu is called G++. To Install this:
  1. Right click on the desktop and choose create a document , then choose empty file.
  2. Give it any name with the extension .sh .For Example- priya.sh
  3. Open the file and write the following command:
sudo apt-get install g++
  • Now save the file by choosing file>>save.
  • Now right click on the file and choose Permission Tab.
  • Change to Read and Write File and click in the checkbox "Allow Executing Files as program"
  • Now open the terminal by choosing Applications>>Accessories>>Terminal
  • Now type the following:
cd Desktop  (to go to desktop in terminal)
./priya.sh      (to run the file to install g++ in terminal mode)

Press "y" for continue.
Your g++ has been installed now.
To run the programs in g++:
  • First write the program in the file with the extension .cpp. e.g rr.cpp
  • To run the program, go to the terminal and write the command:
cd Desktop
g++ rr.cpp 

  • With this a blue colour file will automatically be created on the desktop i.e a.out
  • Also in the terminal you will remain on the prompt sign even after gining the above command
  • now write;
./a.out          (to run the program in terminal)

Tuesday, November 16, 2010

Different Names used in Ubuntu

The words that are used in Window are a bit different in Ubuntu. Some of the words are given below:
Window                        Ubuntu
Restart .................................. Reboot
Delete .................................... Move to Trash
Google Chrome...................... Chromium

How to install updates?

After the installation of ubuntu, it is necessary to install its updates.
To do this, follow the following steps:

  1. Click on the System.
  2. Choose Administration and then choose Update Manager.
  3. Then click on the Install Updates.

How to install ubuntu outside window?

Know About The Computer First

Firstly, You should have sufficient information about your computer like the capacity of RAM. Space occupied by the differant drives e.g. C:,D:,E:,F:.Sp for this do the following:
  • Click in the start menu and choose control panel. 
  • Click on the link "About your computer".
  • Under the Properties Tab, you will be able to see the type of processor used in your CPU and the Capacity of RAM.                                                                                                               To see the space occupied by the different drives:
  • Right click on My Computer, Choose manage option.
  • Then choose Disk Management in the left side of the dialog box.
You will be able to see the space occupied by the different drives .
Now vacant one of your drive either D: or E: or F:, e.g. move the folders and files contined in drive D: to other drive if you want to vacant the D: drive.


Follow the following steps to install ubuntu outside window: 
  1.  Insert the ubuntu CD in the CD driver and restart your computer.
  2.  Press F8 and choose "Boot from CD".
  3. A install dialog box is displayed .
  4. Choose Region "India" from drop downlist of Region.
  5. The time zone will by default display i.e India Time.
  6. Click on the Forward Button.
  7. Choose Keyboard Layout as USA.
  8. Click Forward Button.
  9. Click in the checkbox "Choose specify partitions manually".
  10. A" Create a Partition" dialog box is displayed.
  11. It will display your all drives along with the capacity and used space.
  12. Here the drive names are not written. these are written as:                                                  
dev/sda1
dev/sda5
dev/sda6
dev/sda7
*   If you can recognise your drive names by the space used. If the space of the two drive are equal then you treat your drives in the serial order as drive C: for sda 1 or drive D: for sda5 or drive E: for sda6 or drive F: for sda7.


13. Now delete the drive D: (which you have already vacanted in window)i.e. sda5.For this, right clich on sda5 and choose delete option.
14. The space used in sda5 will now become a free space.
15. Now right click in the free space and choose Add option.
16. Give the partition(swap area) in the "New Partition" Dialog box displayed.
i.e 2*Ram Capacity in MB.
17. Give it the name swap area from the drop down list. By doing this, mount pointoption becomes deactivated.
18. Now you will see that some space of free space is allocated as the swap area and the rest of the space remains the free space.
19. Right click on the Free space and choose Add option.
20. iIn the "New Partition" dialog box, give it the name as "ext4filesystem" from the drop down list. With this, Mount point option gets activated.
21. Choose "/" from the dropdown list of mount point.
22. Click on th forward option.
23. Now give your name and Password for opening the ubuntu mode.
24. Click on the forward button.
25. click on the install button.
After the installation process is completed, remove the CD fron the CD driver and restart your computer...