Something More for Research

Explorer of Research #HEMBAD

Posts Tagged ‘Ubuntu’

Installing CUDA Toolkit 5.5 on Ubuntu 12.10 Linux

Posted by Hemprasad Y. Badgujar on January 3, 2014

Installing CUDA Toolkit 5.5 on Ubuntu 12.10 Linux

The following explains how to install CUDA Toolkit 5.5 on 64-bit Ubuntu 12.10 Linux. I have tested it on a self-assembled desktop with AMD Phenom II X4 CPU, 4GB RAM, 500GB hard drive, 650W power supply, and NVIDIA GeForce GTX 550 Ti graphics card. The instruction assumes you have the necessary CUDA compatible hardware support. Depending on your system configuration, your mileage may vary.


CUDA Repository

Retrieve the CUDA repository package for Ubuntu 12.10 from the CUDA download site and install it in a terminal.

$ sudo dpkg –i cuda-repo-ubuntu1210_5.5-0_amd64.deb
$ sudo apt-get update


Linux Kernel Header

Then you need to install the necessary Linux kernel headers.

$ sudo apt-get install linux-headers-‘uname -r‘


Proprietary Video Driver

The built-in nouveau video driver in Ubuntu is incompatible with the CUDA Toolkit, and you have to replace it with the proprietary NVIDIA driver.

$ sudo apt-get remove –purge \

$ sudo apt-get install nvidia-settings \
    nvidia-current-dev nvidiamodprobe

You can reboot the system afterwards and verify the driver installation with the nvidia-settings utility.


CUDA Toolkit

Then you can install the CUDA Toolkit using apt-get.

$ sudo apt-get install cuda


Environment Variables

As part of the CUDA environment, you should add the following in the .bashrc file of your home folder.

export CUDA_HOME=/usr/local/cuda-5.5

export PATH


CUDA SDK Samples

Now you can copy the SDK samples into your home directory, and proceed with the build process.  ~
cd ~/NVIDIA_CUDA-5.5_Samples
$ make

If everything goes well, you should be able to verify your CUDA installation by running thedeviceQuery sample in bin/linux/release.

Posted in Computer Languages, Computing Technology, CUDA, GPU (CUDA), PARALLEL | Tagged: , , , , , | Leave a Comment »

Installing CUDA 5 on Ubuntu 12.04

Posted by Hemprasad Y. Badgujar on January 3, 2014

This guide is based on Ubuntu 12.04 LTS, but the same principles apply in newer versions of Ubuntu. Let’s begin.


1. Make sure you have a CUDA supported GPU

You must have a nVIDIA GPU that supports CUDA, otherwise you can’t program in CUDA code. Here’s a list with the CUDA supported GPU models.

2. Install nVIDIA proprietary drivers

Use Jockey (additional drivers) or just pick the driver you want from the NVIDIA official website.

3. Download CUDA Toolkit 5.0 for Ubuntu

I used the Ubuntu 11.10 32bit version. It’s the latest version so far, but it currently works fine. So please download.

4. Fix the error

There will be an error when you’ll try to install the CUDA 5.0 examples. The driver is trying to find the file and it doesn’t look for other versions, such as so.1so.2 etc.

First confirm that you have a libglut file:

$ sudo find /usr -name libglut\*

If you do, symlink that file to

For 64bit:

$ sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib/

For 32bit:

$ sudo ln -s /usr/lib/i386-linux-gnu/ /usr/lib/

5. Install the CUDA Toolkit and Samples

Press CTRL+ALT+F1 to open a shell — yeah, we’re going to do this in old (yet powerful) command-line way, but there’s no need to be afraid of the black and white terminal with a blinking cursor. After all you know what they say, once you go black…

5.1 Shutdown the all the graphics

Ubuntu uses LightDM, so you need to stop this service:

$ sudo service lightdm stop

5.2 Run the installer

Go to (using cd) the directory where you have the CUDA installer (a file with *.run extension) and type the following:

$ sudo chmod +x *.run
$ sudo ./*.run

Accept the License and install only the CUDA 5 Toolkit and the Samples. DO NOT install the drivers because we have already done that.

6. Enable the nvcc compiler

In order to compile CUDA code you have to use the nvcc compile. In that so you have to tweak some environment variables into your ~/.bashrc file:

For 32bit:

export PATH=$PATH:/usr/local/cuda-5.0/bin
export LD_LIBRARY_PATH=/usr/local/cuda-5.0/lib

For 64bit:

export PATH=$PATH:/usr/local/cuda-5.0/bin
export LD_LIBRARY_PATH=/usr/local/cuda-5.0/lib64:/lib

If you want to compile a CUDA file (*.cu extension) you can use the following command:

nvcc -o file


Or use the NSight Eclipse Edition.

– See more at:

Posted in Computer Softwares, Computing Technology, CUDA, GPU (CUDA), GPU Accelareted, Installation, PARALLEL, Project Related, Research Menu, UNIX OS | Tagged: , , , , , , | Leave a Comment »

10 Things to Do After Installing Ubuntu 12.04

Posted by Hemprasad Y. Badgujar on December 27, 2013

So you’ve downloaded it, you’ve installed it, and now you’re about to use it.

But before you dive on in to explore, be sure to take some time out to follow our bi-annual rundown of the best post-install tips and tricks.

1. Learn What’s New

There are a lot of new features in Ubuntu 12.04 – so take a few minutes out to learn about 10 of the best.


2. Check for Updates

Ubuntu 12.04 may be hot-off-the-press but that doesn’t mean a few last-minute bug fixes aren’t waiting for you already.

New updates alert will be listed in the Power Menu(the right-hand cog icon), although you can also manually check by launching the ‘Update Manager’ from the Dash.

Ubuntu Updates

3. Install Media Codecs

If you plan on listening to your music library or watching films in Ubuntu then you’ll need to have the necessary codecs installed.

For legal reasons Ubuntu can’t provide these ‘out of the box’, but the installer does offer to install them during set-up.

If you didn’t check that box during installation it’s no biggy: hit the button below to begin installation of the most common codecs through the Ubuntu Software Centre.

Click to Install Third-Party Codecs

4. Customize your Desktop

There are 14 new wallpapers included in Ubuntu 12.04 – including an illustrated Pangolin and the usual stunning snaps of flowers, animals and landscapes. Rather neatly, the semi-transparent parts of Unity will change colour to compliment your set wallpaper – try it and see!

Appearance in Ubuntu 12.04

The Unity Launcher (the bar on the left hand screen) can be resized if you’re find it too big or too small.

And the ‘theme’ used by windows can also be changed to a lighter, elegant version.

All of these above (and a bit more) can be achieved through the Appearance entry in the System Settings.

5. Adjust Your Privacy Settings

When you first open the Unity Dash you’ll see an overview of your recent activity: apps, files and folders you’ve recently used, etc.

privacy options

But you may not want all of this to stuff to show.

Well that’s easy enough to change: the new Privacycontrols available in the System Settings panel offer you the chance to choose what is logged and what isn’t.

6. Set up Ubuntu One

Every user of Ubuntu is given 5GB of free online cloud storage with Ubuntu One – so be sure to make use of it!

Open the ‘Ubuntu One’ entry from the Messaging Menu(‘envelope’ icon) and follow the prompts to set up an account.

If you already have one then be sure to sign in so all of your music, photos and folders are safely in sync with your fresh-new desktop.

7. Explore New Apps

The Ubuntu Software Center is home to thousands of extra applications – from music players and web browser to accounting apps and games.

Some are good, some are bad – but it’s always worth browsing around to see if you can find something you like.

8. Grab Google Chrome (Or Flash)

“What?!!” you may scream, “Why not just use Firefox?”

Flash is the reason.

Google Chrome in ubuntu 12.04

Earlier this year Adobe announced that it was, in effect, abandoning support of the ubiquitous Flash Player plugin on Linux. Google will, instead, be taking over the reigns, integrating Flash for Linux into their Chrome browser.

So if you want the latest stable and bug-free Flash player in Linux, Google Chrome is the only way to get it.

Download Google Chrome for Linux

Not that bothered about the latest and greatest, or not interested in switching browser? No worries. The last independent release of Adobe Flash for Linux is available to install through the Ubuntu Software Center.

Click to Install Flash

9. Install LibreOffice Global Menu

The default office suite in Ubuntu doesn’t not support integrate with the application menu bar by default.

To enable it (and add some consistency to your desktop) just hit the button below to install the necessary package.

Click to Install Global Menu for LibreOffice

10. Enjoy It!

Finally, to end on a corny note, take some time out to just enjoy using it.

Forget about finding and installing new apps for an hour or so and just use Ubuntu like anyone else would: check your Facebook or Google+ profile, chat to your mates on Empathy, type up that letter in LibreOffice and listen to some music in Rhythmbox

Ubuntu 12.04 is a bold upgrade from 11.10, and an even bigger one from 10.04, so be sure to take some time to get used to it as it comes before changing anything major.

You might fear missing a certain application or feature, but most of the changes have happened for a reason: to make Ubuntu easier to use.

Posted in Mixed | Tagged: , , , , , , , | Leave a Comment »

Extracts from a Personal Diary

dedicated to the life of a silent girl who eventually learnt to open up

Num3ri v 2.0

I miei numeri - seconda versione


Just another site

Abraham Zamudio [Matematico]

Matematica Aplicada, Linux ,Programacion Cientifica , HIgh Performance COmputing, APrendizaje Automatico




A great site

Travel tips

Travel tips

Experience the real life.....!!!

Shurwaat achi honi chahiye ...

Ronzii's Blog

Just your average geek's blog

Karan Jitendra Thakkar

Everything I think. Everything I do. Right here.

Chetan Solanki

Helpful to u, if u need it.....


Explorer of Research #HEMBAD


Explorer of Research #HEMBAD


A great site


This is My Space so Dont Mess With IT !!

%d bloggers like this: