Sunday, 15 January 2012

How to install Unity 5.0 interface on Ubuntu 11.10

Ubuntu 12.04 "Precise Pangolin" comes with stunning GUI Unity 5.0 interface. But is you are using Ubuntu 11.10 and want to use Unity 5.0 interface and also don't upgrade to 12.04 unstable. Then there is a better way of doing it. You can install Unity 5.0 interface in your Ubuntu 11.10 "Oneiric Ocelot" and wait for stable Ubuntu 12.04 LTS in April.

Here is the method of how to install Unity 5.0 interface on your Ubuntu 11.10. You can install it using two various method. We will show it one by one.

First method is using terminal. So open terminal [ctrl + alt + T] and write the following command.

     sudo add-apt-repository ppa:unity-team/staging
     sudo apt-get update
     sudo apt-get dist-upgrade

then restart your device to save and apply all the packages and Unity 5.0 will be installed on your Ubuntu 11.10.

Second method is somewhat tedious, in this you have to add Personal Package Archives [PPA] to your software source. For that open your USC [Ubuntu Software Center] goto edit tab and select Software Sources.




 Then goto second tab Other Software and click on Add....



 Now in new window type "ppa:unity-team/staging" and click on Add Source




Next open your update manager and check for new updates. 




Here all new updates of Unity 5.0 will be listed. Download them and restart your device. After restart you can see the Unity 5.0 will be install on your device.

Here is the video tutorial for the second methos how to install Unity 5.0 using PPA.




Monday, 9 January 2012

How to install XAMPP in Ubuntu


In this tutorial you can understand how to install XAMPP in Ubuntu. XAMPP is the package which provide you PHP, Apache, MySQL, Sqlite and many more other services. Earlier XAMPP was known as LAMPP so don't get confused, you are on the right way.

As XAMPP comes in compressed package. You have to decompress it and install it. For this you have to use terminal so open terminal [ctrl+alt+T] and type the following commands step by step.


1.   First you have to extract file from their '.tar.gz' file using
      the following command in /opt directory.

           sudo tar xvfz xampp-linux-1.7.7.tar.gz -C /opt


2.   Now XAMPP is installed in /opt/lampp directory so you
      can start it by issuing the following command.

            sudo /opt/lampp/lampp start


and you get the following message if the installation done successfully.

Starting XAMPP for Linux 1.7.7...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.


Now you can check the installation of XAMPP by writing http://localhost in any of your browser.



If in case you want to remove XAMPP, first you have to stop all the services which are currently running. For this execute the following command.

      sudo /opt/lampp/lampp stop

And you get the following information.

Stopping XAMPP for Linux 1.7.7...
XAMPP: Stoping Apache with SSL...
XAMPP: Stoping MySQL...
XAMPP: Stoping ProFTPD...
XAMPP stopped.

Now issue the following command to remove/uninstall the complete directory /opt/lampp

        sudo rm -rf /opt/lampp




If you want to see the video of this tutorial for how to do, here is the video of it.


Sunday, 8 January 2012

Binary Clock in Unity Dash in Ubuntu 11.10



If you want to see the time in your unity dash and also in the binary form then you have to install binary clock to your Ubuntu 11.10. To install this utility you have to enter the following command in your terminal [ctrl+alt+t].


1. You have to add their repository by issuing the following command.

     sudo add-apt-repository ppa:markjtully/ppa

2. After that you have to install and update it using the following command.

     sudo apt-get update && sudo apt-get install unity-binaryclock-lens

After that you have to restart your system or end your session. The very next time login you found the binary clock button in your dash home at middle-bottom side and the output of that thing is given in the following snapshot.









Here from the snapshot, we can conclude that the position of the buttons which are active at that time of hours, minutes and seconds are calculated below.

Hours = 1 = 1
Minutes = 1+2+8+32 = 43
Seconds = 2+4+8+16 = 30

Time =1:43:30