ubuntu_install.txt 1.1 KB
Newer Older
Y
Yu Yang 已提交
1 2 3
Debian Package installation guide
=================================

4
PaddlePaddle supports :code:`deb` pacakge. The installation of this :code:`deb` package is tested in ubuntu 14.04, but it should be support other debian based linux, too.
Y
Yu Yang 已提交
5

6
There are four versions of debian package, :code:`cpu`, :code:`gpu`, :code:`cpu-noavx`, :code:`gpu-noavx`. And :code:`noavx` version is used to support CPU which does not contain :code:`AVX` instructions. The download url of :code:`deb` package is \: https://github.com/baidu/Paddle/releases/
Y
Yu Yang 已提交
7 8


9
After downloading PaddlePaddle deb packages, you can use :code:`gdebi` install.
Y
Yu Yang 已提交
10

11 12 13 14 15 16 17
..	code-block:: bash

	gdebi paddle-*.deb

If :code:`gdebi` is not installed, you can use :code:`sudo apt-get install gdebi` to install it.

Or you can use following commands to install PaddlePaddle.
Y
Yu Yang 已提交
18

19 20 21 22 23 24
..	code-block:: bash

	dpkg -i paddle-*.deb
	apt-get install -f

And if you use GPU version deb package, you need to install CUDA toolkit and cuDNN, and set related environment variables(such as LD_LIBRARY_PATH) first. It is normal when `dpkg -i` get errors. `apt-get install -f` will continue install paddle, and install dependences. 
Y
Yu Yang 已提交
25