Note: This article is pretty old. Now you can install MINC toolkit more easily. Please see the instruction in http://www.bic.mni.mcgill.ca/ServicesSoftware/ServicesSoftwareMincToolKit. (24 Oct 2014)
We have few resources how to install N3 on Ubuntu. I could successfully install N3 (aka mni-n3) on Ubuntu 10.04. I write down what I did.
NB: This is only for 64bit Ubuntu 10.04. They don’t maintain 32bit binary for minc.
The following commands must be executed with root privileges (use sudo) except for the last one.
- Add the repository for minc-related software to your /etc/apt/sources.list.
- Refresh repository
- Install N3
- Configure the path
You can do this by adding the following line to the /etc/apt/sources.list.
deb http://packages.bic.mni.mcgill.ca/ubuntu-lucid/ ./
Note: You have to include “./” at the end of the line.
$ sudo apt-get update
Through many trials and errors, I found out that we have to specify the following 4 packages; minc, minc-tools, n3, and libmni-perllib-perl to have n3 work properly. Of course you can install other packages such as mni-autoreg, register, display, or mincblob. (However, I haven’t fully tested about these packages.)
$ sudo apt-get install libmni-perllib-perl minc minc-tools n3
Note: Ignore the Warning: “The following packages cannot be authenticated!” and press Y when asked: “Install these packages without verification [y/N]?”
Add the phrase “export PATH=/usr/local/bic/bin:$PATH” in your .bashrc file (located in your home directory). You don’t have to be root doing this.
Now you are ready to use N3 on your Ubuntu 10.04!