Ubuntu packages

From NA-Wiki

Jump to: navigation, search

Contents

Non essential changes (for now)

Installing Matlab

mkdir -p /pkg/matlab
rsync -avPz /afs/nada.kth.se/pkg/matlab/r2007b /pkg/matlab
ln -s /pkg/matlab/r2007b/bin/matlab /usr/local/bin

Then add /usr/local/bin to your local search path. For instance by adding

setenv PATH /usr/local/bin:${PATH}

in your .login file. Is Matlab behaving strangely? It has been suggested to set the following environment variables as well:

setenv AWT_TOOLKIT MToolkit
setenv MATLAB_SHELL /bin/bash

Installing Maple

sudo mkdir -p /pkg/maple
sudo rsync -avPz /afs/nada.kth.se/pkg/maple/9.5 /pkg/maple
sudo ln -fsv /pkg/maple/9.5/bin/* /usr/local/bin

Installing Mathematica

sudo mkdir -p /pkg/mathematica/5.2
sudo rsync -avPz /afs/nada.kth.se/pkg/mathematica/5.2/os/ /pkg/mathematica/5.2/
sudo rm -rf /pkg/mathematica/5.2/bin
sudo ln -s /pkg/mathematica/5.2/Executables/* /usr/local/bin

And as usual you must add /usr/local/bin to your PATH. See the installation instructions for Matlab.


Open SSH

First install the
openssh-server
package. Then get the instructions howto verify the finger print and install the key in
/root/.ssh/authorized_keys
such that
root
can login from any other Ubuntu machine.

You are not allowed to directly install to /root/.ssh/authorized_keys without first verifying the finger print!

If you fail to do so you might be causing a security breach

The fingerprint and instructions is on a paper in room 4520 to the left of the white-board.

Furthermore, ssh needs to be changed in /etc/pam.d by

cd /etc/pam.d
mv ssh ssh.orig
cp gdm ssh

Emacs

After the installation, install emacs

apt-get install emacs emacs-goodies-el

emacs-goodies-el contains Matlab support and much more.

Swedish dictionary for ispell

apt-get install aspell-sv

Don't forget to turn on syntax highlighting and parenthesis matching modes!

LaTeX

We want texlive (not the old tetex packages)

apt-get install texlive

Some packages (such as psfig and algorithm) are not in that distribution. To get them install texlive-generic-extra.

Personal tools