Ubuntu instructions

Richard Townsend 2014-08-17 13:10:03 -07:00
parent 0fc13b0f55
commit 5293d54888
1 changed files with 12 additions and 0 deletions

@ -38,6 +38,18 @@ On OpenSUSE 13.1, modify `$GOPATH/src/github.com/gonum/blas/cblas/blas.go` and m
5. Create a symbolic link to `liblinear.so.1` in `/usr/lib64` using `ln -s /usr/lib64/liblinear.so.1 /usr/lib64/liblinear.so`
6. Run `ldconfig -v | grep linear` to check that the library is installed.
### Installing liblinear on Ubuntu 14.04 (64 bit)
```bash
cd /tmp
wget http://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/liblinear-1.94.tar.gz
tar xf liblinear-1.94.tar.gz
cd liblinear-1.94
make lib
sudo install -vm644 linear.h /usr/include
sudo install -vm755 liblinear.so.1 /usr/lib
sudo ln -sfv liblinear.so.1 /usr/lib/liblinear.so
```
### Installing GoLearn's internal dependencies
After installing go and the system dependencies, type
```bash