When it comes to programming(C/C++ or other ),Ubuntu 10.04 or any distribution of Linux is far better than Windows NT based Operating system(windows XP or Vista or 7).In general people uses TurboC++ on windows but in Ubuntu 10.04 advanced and much efficient compiler are available for compiling C or C++ programs.Some people or students think that programing in Linux is very tough(Actually they feel scary due to the shell Commands) but I assure you that it is nothing but a misconception.But now,I think the misconceptions are decreasing and they are becoming familiar with Ubuntu/linux environment.
Text Editor in Ubuntu 10.04
Since Ubuntu 10.04 uses GNOME as their default desktop so there is no need to worry about text editor because Gedit text editor is installed by default.It has many advanced features like Syntax coloring so it is well suited for programming.Another KDE based version is also available Kwrite,similar to gedit with lot of features.
C Compiler for Ubuntu 10.04
For C program there is a modern compiler GCC(GNU Compiler Collection) which you can use to compile C programs.To install gcc type following command at command line.(It may be installed already)
sudo apt-get install gcc
Compiling C program in Ubuntu 10.04
user1004@user1004-desktop:~/Desktop$ gcc abc.c
*********Hello! Mr.X it’s working Enjoy!!******
C++ Compiler for Ubuntu
For C++ programs you can use G++ compiler an advanced compiler with lot of features.To install G++ type following command at command line.
sudo apt-get install g++
Compiling C++ program in Ubuntu 10.04
user1004@user1004-desktop:~/Desktop$ g++ decbin2.cpp
Enter the decimal number to be converted
The Equivalent binary number is 010111
IDE(Integrated Developement Environment) for programming in C and C++
For programming in c++ these are the most widely used IDE’s
- Frama C
More details on available IDE on Ubuntu-Linux
If you are one of the users who just migrated from the window7 or vista then probably you are searching some softwares which will act as a substitute for corresponding windows application and Media Center is surely on of them.In fact there is good substitutes available for almost all the windows application in Ubuntu 10.04 and of course for media center.XBMC is a great application which is just equivalent to the windows media center.So you can install XBMC on your ubuntu 10.04 in few steps.XBMC is an open source and free media player with excellent design and interface.XBMC is a cross platform application i.e available for all the major operating system like Linux,MacOS and windows.It supports all the popular video and audio format.It can also play CD,DVD or Image files or even compressed file(ZIP and RAR formats are well supported).It is very simple to use and allow you to organize the media collections and library in efficient way.
Install XBMC from Synaptic Package Manager
To install xbmc from Synaptic package manager first you have to add some repository related to xbmc.Then you can install it in normal ways.Follow these steps to install it from Synaptic Manager :
step1: Open Synaptic Package Manager(System->Administration->Synaptic Package Manager).
step2: Click on settings and then on repository.Now click on other software,next on +add(Left Bottom) to add extra repository i.e software package source.
step3: A small window will come then in address place put ppa:team-xbmc .
step4: Now click on reload to refresh the package information.Next,search for xbmc.
step5: Check the xbmc box to install and click on apply changes to begin the installation process.
step6: XBMC installation will complete within few minutes.Run XBMC from Application->Sound & Video->XBMC.
Install XBMC from Command Line
Actually it is just similar to the above method.We will do the same work from linux shell.Open terminal(Type CTRL+ALT+T in Ubuntu 10.04).Then type the following commands –
1. sudo add-apt-repository ppa:team-xbmc to add the repository.
2. sudo apt-get update to update the package information and softwares list.
3. sudo apt-get install xbmc to install the xbmc media center on your computer.
4. That’s All..
I think you have successfully installed XBMC on your Ubuntu 10.04 LTS(Lucid Lynx)…if any problem occurs let me know through comments.
A Nice Ubuntu 10.04 wallpaper!!
Download It. (Use save as)
After installing Ubuntu 10.04 LTS(Lucid Lynx),Are you wondering for the drivers or software for your webcam?Don’t worry! I will tell you about an excellent software for your webcam and then you can record photos and videos along with a lot of fun effects.Not only this,you can also share your photos very easily by using an excellent photo manager,”F-Spot” which came as default application in Ubuntu 10.04 release.
Cheese : For your webcam
The software that you can use very easily for taking photos and videos is “cheese”.Actually it was written in 2007 as a part of Google Summer of code.Cheese can also create some fancy effect in photos and videos by using Gstreamer.
Requirements for Using Cheese :
How to install Cheese in Ubuntu 10.04?
It is very simple ..it will take two steps and few minutes to install.
step1: Go to Ubuntu Software Center or Synaptic Package Manager and search for cheese.
step2: Click to install.
You can also install it manually after downloading its latest stable version fr0m its official site.
Ubuntu 10.04 uses GNOME desktop as their default desktop.If you want to use only KDE desktop then there is special KDE version of Ubuntu known as Kubuntu(KDE+Ubuntu).But you may like to test all the desktop of ubuntu as each has its own taste and significance then you can do that in few steps.Actually all different versions of ubuntu like Kubuntu,Xubuntu,edubuntu,Mythubuntu,Ubuntu Studio or others differs only in their default desktop and the basic applications installed by default.So if you want to use other desktops then use synaptic manager to install them and you will be able to use all desktop in single installation(e.g in ubuntu 10.04 you can enjoy kde,xfce,edubuntu,UbuntuStudio etc.).
Simple Steps for Installing KDE desktop in Ubuntu 10.04 :
step1: Open Synaptic Package Manager(System->Administration) and search for “kde desktop”.Now you should decide whether you want to use kde as a primary desktop or secondary or just for changing taste.In first case you can choose full kde from Synaptic Package Manager but in the second case minimal kde or base kde is fine.
step2: Check the box of the selected package for installation.
step3: Now click on apply changes.It may ask you to ask for other dependent softwares.Click ok(yes) and proceed to installation.Installation will begin and finish within few minutes depending on your connection bandwidth.
step4: You have installed KDE successfully…Now this is the time to enjoy KDE.Next logout fr0m the current session and go to the login prompt.Enter your username and password as usual but select the Desktop as KDE fr0m the menu(select your desktop from the menu which says GNOME by default..(Just right after the session, at the bottom of your login window),When you click on that menu then many options will come..now select KDE or other,whatever you want) .
step5: End… I hope you are enjoying KDE…
You can also manually download this from the kde official website(see below,link is given) and install it in ubuntu 10.04 or other linux versions.