Installation of Ubuntu/CUDA/MATLAB/Jacket

From Jacket Wiki

Jump to: navigation, search

There are many different flavors of Linux; Red Hat, CentOS, fedora, Scientific Linux, Ubuntu and others. I have tried Red Hat, fedora, CentOS and Ubuntu. While all of them technically worked very well, the easiest to use is in my experience the Ubuntu version. In the following I will describe step-by-step how to install Jacket on a naked computer (or a computer with another operating system on it).


Contents

Ubuntu Installation

  1. First, go to the Ubuntu homepage [1], find the download section and download the appropriate version - currently it is strongly recommended to use the Ubuntu 10.04 version, which is supported by NVIDIA. If possible then use the 64-bit version - typically the one called Desktop.
  2. Burn a CD with the ISO image of the Ubuntu operating system. There are different tools to do this - Image Burner for Windows and Mac OSX has the '/Applications/Utilities/Disk Tool', which can do the job.
  3. Insert the CD into the computer and boot from the disk. Follow the various steps and answer questions when needed.

With this completed we have a working Ubuntu. The next step is to install the NVIDIA driver.


NVIDIA Driver

The next step is to install the NVIDIA driver suitable for the Ubuntu operating system. This driver (see [2]) should be downloaded in 64-bit version if that fits with the operating system - otherwise choose the 32-bit version. Use the one called 'Developer Drivers for Linux'.

  1. First get rid of any existing drivers that will interfere with the Nvidia development driver (as suggested, e.g., here [3]):
    1. Blacklist kernel modules:
      • sudo gedit /etc/modprobe.d/blacklist.conf
      Add the following lines to the file:
      blacklist vga16fb
      blacklist nouveau
      blacklist rivafb
      blacklist nvidiafb
      blacklist rivatv
      Save and quit the editor.
    2. Get rid of any installed NVIDIA drivers:
      • sudo apt-get --purge remove nvidia-*
  2. Reboot your PC.
  3. Go to a virtual terminal (we will need to shut down the X server):
    • CTRL+ALT+F5
    Some users have reported problems changing between virtual terminals in Ubuntu 10.04. If you have this problem, see the following solution [4].
  4. Login at the terminal and run:
    • sudo service gdm stop
  5. Install NVIDIA development drivers:
    1. Go to the location where you stored the downloaded NVIDIA files and run:
      • sudo sh devdriver_3.2_linux_64_260.24.run
        1. Accept the license agreement.
        2. Install NVIDIA's 32-bit compatibility OpenGL libraries?
          Answer 'Yes' - we don't know if this is actually necessary, but it does not seem to hurt...
        3. Would you like to run the nvidia-xconfig utility to automatically update your X configuration file so that the NVIDIA X driver will be used when you restart X?
          Answer 'Yes'.
  6. The driver should now be installed successfully. Now we install CUDA:
    1. Go to the location where you stored the downloaded NVIDIA files and run:
      • sudo cudatoolkit_3.2.9_linux_64_ubuntu10.04.run



    • Log out
    • CTRL-ALT-F5 >> tty window
    • Log in
    • $ sudo service gdm stop (alternative: sudo /etc/init.d/gdm stop) (stop display manager; provide password)
    • sudo chmod u+x XXXXX.run (XXXXX=devdriver) (to make it executable)
    • sudo XXXXX.run (execute the driverfile)
    • Then install the driver by choosing ACCEPT. Install 32-bit drivers: YES. X-config utility ....: YES.
    • sudo shutdown -r now (restart Ubuntu)
    • Applications >> Terminal

With these steps completed the NVIDIA driver should be installed. Then follows the install of core programs.


MATLAB

    • sudo apt-get install sun-java6-plugin (to get Java in the browser)
    • In installation folder run: $ sudo ./install
    • Install in /usr/local/matlab/R2010a for example (DON'T ALLOW MATLAB TO START - otherwise path.def can't be correctly defined).
    • $ sudo chown -R tl:tl ~tl/matlab (to change ownership to tl - change to whatever username fits your need).


Jacket

    • $ sudo sh ./Jacket.....run
    • $ sudo cp jlicense.dat /usr/local/jacket/engine


Dropbox

To install Dropbox first go to [5] and download the Ubuntu Debian file named nautilus-dropbox_0.6.3_amd64.deb as it is called in the 64-bit version.

Open a command window and run the command:

$ sudo dpkg -i nautilus-dropbox_0.6.3_amd64.deb

After that follow the instructions (first restart Nautilus and then connect to Dropbox.com).



Go Home: Torben's Corner


Personal tools