Tuesday 18 September 2012

Installing Internet Explorer On Ubuntu

I.E. is something which you really can't do without. You need to test your presentation code on it whether you like it or not :) .

So, here are some steps which helped me get the job done. Hope it helps you as well.

1) Install wine. 
Open a terminal by Applications > Accessories > Terminal
or Alt + F2 , then type gnome-terminal, press enter.
2) Type sudo apt-get install wine
3) [sudo] password for nikhil: my-password-here
4) Next, open winetricks by (Applications->wine->Winetricks)
5) Choose the already selected option, which says "Select the default wine prefix", and press OK button.
6) Choose the option, "Install a Windows DLL or component" and click OK.
7) Now you can choose a whole host of things including I.E. 6,7,8 and others. Just pick any one and install.
8) To test, go to Applications -> wine -> Browse C: Drive -> Program Files -> Internet Explorer -> Run "iexplore.exe" with "wine"
 9) Congratulations !!!! You are a proud owner of I.E. on Ubuntu.

Hope it helps.
Keep Blogging. 

Saturday 8 September 2012

Setting up public keys in Ubuntu

1) Check for SSH keys
     cd ~/.ssh
   If there is already an SSH directory you'll want to back the old one
   up and remove it: 
2) Backup and remove existing SSH keys
     ls
    mkdir key_backup

    cp id_rsa* key_backup
3) rm id_rsa*
4) Generate a new SSH key
    ssh-keygen -t rsa -C "your_email@youremail.com"
5) Add your SSH key to GitHub

6) Test everything out
7) ssh -T git@github.com
    
Thanks For Reading. Keep Blogging !!!    

Installing git on Ubuntu

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."

So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)
 
Lets get started:

1) sudo apt-get install git git-core
2) Provide the sudo password.
3) Test it, just type git
4) Done. Congratulations !! 


Installing Idea In Ubuntu

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."

So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)

This is my sixth on the to-do list:

1) Go to the website here .
2) Download your edition Linux remenber :).
3) Open a terminal by Applications > Accessories > Terminal
or Alt + F2 , then type gnome-terminal, press enter.
4) Move the file from Downloads to ~/softwares.
5) Untar the file tar -xvmf ideaIU-11.1.3.tar.gz
6) Make a alias in .bashrc file.

alias idea11=~/softwares/idea-IU-117.798/bin/./idea.sh

7) Test it, type on a new terminal idea

idea11
8) Congratulations !!!! Happy Coding..
Installing GRAILS on Ubuntu 11.04

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."

So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)

This is the fifth thing on my to-do list, so lets get started.

1) Download the appropriate zip folder from here .
2) Open a terminal by Applications > Accessories > Terminal
or Alt + F2 , then type gnome-terminal, press enter. 
3) Go to Downloads folder by cd ~/Downloads, unzip grails distribution, mine was 1.3.4 so, I did unzip grails-1.3.4
4) cp -r grails-1.3.4 ~/softwares/
5) Make a new variable in .bashrc file
6) GRAILS_HOME=~/softwares/grails-1.3.4
    export GRAILS_HOME
    PATH=$PATH:$GRAILS_HOME/bin
    export PATH
7) Test it
     grails
8) Congratulations !!

Thanks for reading. Keep Blogging !!






Installing Groovy on Ubuntu 11.04

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."

So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)

This is the fourth thing in my list.

1) Go to groovy wesite here.
2) Download the zip and the documentation as well (it does help).
3) Open a terminal by Applications > Accessories > Terminal
or Alt + F2 , then type gnome-terminal, press enter.
4) Unzip the folder, move it to some other location, I keep it in ~/softwares folder.
5) Add a new variable in .bashrc file
GROOVY_HOME=/home/nikhil/softwares/groovy-1.8.7
export GROOVY_HOME
PATH=$PATH:$GROOVY_HOME/bin
export PATH
6) Test it on a console, don't forget to open another terminal and type
     groovyConsole
7) Happy Testing Groovy Code.

Thanks . Keep Blogging !!!!
Installing JAVA 1.6 on Ubuntu 11.04 

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."

So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)

This is the third thing on my to-do list. Please follow the following steps:

1) Open a terminal by Applications > Accessories > Terminal or Alt + F2 , then type gnome-terminal, press enter.
2) sudo add-apt-repository ppa:ferramroberto/java
[sudo] password for nikhil: my-password-here
3) sudo apt-get update
4) Then, install java jre:
 sudo apt-get install sun-java6-jre sun-java6-plugin
5) Install Jdk by the command:
 sudo apt-get install sun-java6-jdk

6) sudo apt-get install sun-java6-jdk
7) Now, setting the JAVA_HOME variable in .bashrc file 

JAVA_HOME=/usr/lib/jvm/java-6-sun (Don't give spaces between = and /usr)
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH

8) Test it by javac -version
javac 1.6.0_26
9) Congratulations !!!











Install VIM editor on Ubuntu 11.04

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."
So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)

Well, this is the second thing in my todo list. I really like the editor, too powerful and so light weight.

Just follow the steps:

1) Open a terminal by Applications > Accessories > Terminal
or Alt + F2 , then type gnome-terminal, press enter.
2) Type sudo apt-get install vim
3) [sudo] password for nikhil: my-password-here
4) Say 'y' to download the required packages.
5) If you get :
Setting up vim-runtime (2:7.3.035+hg~8fdc12103333-1ubuntu7) ...
Processing /usr/share/vim/addons/doc
Setting up vim (2:7.3.035+hg~8fdc12103333-1ubuntu7) ..

Congratulations !!
6) Test it with vim myfile
7) Escape out of it by : q
8) Search for a pattern /pattern

Thanks for reading. Keep Blooging

Install Skype In Ubuntu 11.04

Install Sype In Ubuntu 11.04

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."

So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)

This is the first thing I would like to install, more to come .

1) Go to the skype website here.
2) Click on Get Skype and choose Linux.
3) Hovering on Download Now and select Ubuntu Distribution, Ubuntu 10.04 Skype will also work for 11.04 :)
4) New skype version 4.0 gets downloaded usually in Downloads folder.
5) Copy that to any convenient folder I have softwares folder under my home folder, I copy it there.
6) Open the terminal Application > Accessories > Terminal.
7) Go to the folder where you have the .deb file for me the file name is skype-ubuntu_4.0.0.8-1_i386.deb . For me the rest of the steps were :
8) cd softwares
9) chmod +x skype-ubuntu_4.0.0.8-1_i386.deb (This gives executable rights to the file).
10) sudo dpkg -i skype-ubuntu_4.0.0.8-1_i386.deb
11) Provide your password [sudo] password for nikhil: my-password
12) Press enter.
13) If successful, go to Step 21
14) If you got something like
 Processing triggers for python-support ...
Errors were encountered while processing:
15) sudo apt-get install -f
16) The following comes
 Correcting dependencies... Done
The following extra packages will be installed:
  appmenu-qt libaudio2 libdbusmenu-qt2 libmng1 libqt4-dbus libqt4-network libqt4-xml libqtcore4 libqtgui4
17) As you can see the -f option tries to correct the unmet dependencies you encountered at Step 14, press 'y' to install the dependencies.
18) If you get the following :
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Happy News :)
19) Now, try again sudo dpkg -i skype-ubuntu_4.0.0.8-1_i386.deb
20) If you get the following :
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...
Congratulations !!!!!
21) Go to Applications > Internet > Skype > Agree the terms and enjoy.


* Please do not follow the procedure for ubuntu 11.10, if you already have then
  you may be getting an error similar to below ..

 dpkg: warning: 'ldconfig' not found in PATH or not executable.

 This is really bad but there is an alternative to fix this at here.


Thanks for reading.

Keep Blogging.