Skip to main content

Posts

How to install C++ and other libraries in Ubuntu

For any software development work in ubuntu, some software packages are needed. For example C/C++ will be needed by almost all the developmental work how to install the required libraries and needed softwares for development, here are the steps  You create a password for the super user sudo passwd Give the password of the default user and then give the root password twice. Once you install Ubuntu (any distro), just update the softwares by the following command: sudo apt-get update sudo apt-get install build-essential libxmu-dev  (the above line will install softwares of size nearly 56MB) This will install latest G++ compiler along with other developmental libraries.

Installing NS-2.35 in Fedora 17

Download NS2.35 from this link. http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download Copy the file to /home/yourhome (in my case it is, /home/pradeep/) Untar it using “ tar zxvf ns-allione-2.35.tar.gz ” (without quotes) “cd ns-allione-2.35/” (without quotes) “./install” (see the dot in the beginning) During the installation there may be a error in linkstate/ls.h, the location of ls.h is  “/home/pradeep/ns-allinone-2.35/ns-2.35/linkstate/ls.h” Open the file using gedit “gedit /home/pradeep/ns-allinone-2.35/ns-2.35/linkstate/ls.h” in line number 127, there will be a erase function, change it to this->erase and go to step 5. Once installation over, set the PATH and that’s it.

Dropped your iPod/Phone in Water–How to fix it?

How to dry your phone or iPod that is been dropped in water or washbasin. Here are the quick step you can follow to make your phone dry. Before going to the service center, you can try this out as a remedial measure. Sometimes it works perfectly. (you need not even go to the service center for servicing the phone) Step 1: Once the Phone/iPod/iPhone is dropped in water, try to get it back as soon as possible. Step 2: Automatically your phone would have been switched off. Else switch it off immediately as the water should not flow inside the circuit board. (Don’t try to charge your phone also, as it may completely damage the phone) Step 3:  Take a small bowl with rice and keep your phone/iPod inside the bowl containing rice. Rice has the property of absorbing the moisture (no matter how deep the moisture inside the phones). Keep the phone atleast for one full day. Step 4: After a day, you may switch on the phone and see what happens. The success rate for the phone to work perfe...

Installing ns-2.29 in Ubuntu 12.04

Off late, we try to use(install) a old software in a new Operating System for want of backward compatibility or to survey.  This following post shows you how to install ns-2.29 in Ubuntu 12.04. Unlike other ns2 installations, this installation has so many errors, warnings and patchings. Once everything is overcome, ns installs successfully Step 1: Download and untar ns-2.29 from this link  ( http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.29/ns-allinone-2.29.3.tar.gz/download ) Step 2: install the necessary dependancy packages using the command "sudo apt-get install build-essential libxmu-dev autoconf automake" (without quotes). This will install the necessary developmental packages Step 3: Since ns-2.29 is older software, some of the pointer conversion have to be changed inside ns-2.29 Step 4: go to terminal, point to the location of ns-allinone-2.29 using the command "cd ~/ns-allinone-2.29/" and type "./install" Step 5: there may be th...

Network Simulator 2 installation in Fedora 17 (Beta)

Hope you would have tried installing NS2 in Fedora 16. Now here is a new post that you can install ns2.35 in Fedora 17 beta. Install Fedora 17 beta from a DVD and install all the softwares that are coming along with the DVD (Except the Languages). There will be a "Customize now" option will be there during the installation of Fedora, check that and install all the required softwares. Download NS-23.5 from  http://www.isi.edu/nsnam/ns/ Untar the downloaded ns-allinone-xxx.tar.gz file using the command “tar zxvf ns-allinone-2.35.tar.gz” execute the commands one by one as given below cd ns-allinone-2.35 ./install (you may get an error called ~ns-2.35/linkstate/ls.h error in line number 137,  change the following line to                              void eraseAll() { erase(baseMap::begin(), baseMap::end()); } to this line                     ...