deepdetect icon indicating copy to clipboard operation
deepdetect copied to clipboard

Building on Ubuntu 16.04 LTS

Open beniz opened this issue 9 years ago • 10 comments

This is the placeholder for information regarding the building of deepdetect on Ubuntu 16.04 LTS (expected future reference platform).

Build status: successful, tested with Caffe back-end on CPU

Thanks to @MartinThoma the correct way of doing it is below:

$ sudo apt-get remove libcurlpp0
$ cd [wherever]
$ git clone https://github.com/jpbarrette/curlpp.git
$ cd curlpp
$ cmake .
$ sudo make install
$ cd [back to deepdetect]
$ make clean
$ make

~~Existing difficulties with 15.10 (#29) appear to have been fixed, but for the version of curlpp that is still broken (http://stackoverflow.com/questions/33420631/link-errors-with-curlpp). The fix remains to rebuild curlpp from https://github.com/datacratic/curlpp:~~

EDIT: fixed.

beniz avatar May 16 '16 07:05 beniz

On the way to make 16.04 LTS a supported platform, here are some install info.

  • Nvidia Cuda + driver install:
  • Download Cuda 8 run file + Cuda 8 patch run file, when installing do not install the default driver
./cuda_8.0.27_linux.run
./cuda_8.0.27.1_linux.run
  • Install driver for Maxell architecture, get driver from http://www.nvidia.com/Download/index.aspx?lang=en-us
sudo ./NVIDIA-Linux-x86_64-367.44.run

From there, nvidia-smi should work. It is possible to use deviceQuery from the Cuda samples to make sure the device is working properly.

Note: good tutorial is here: https://github.com/BVLC/caffe/wiki/GeForce-GTX-1080,---CUDA-8.0,---Ubuntu-16.04,---Caffe

beniz avatar Sep 07 '16 16:09 beniz

require packages autoconf and libtool-bin to build curlcpp from sources on ubuntu 16.04 LTS

acabrol avatar Sep 09 '16 15:09 acabrol

quick info:

The bug reported by http://stackoverflow.com/questions/33420631/link-errors-with-curlpp is now fixed by version 0.7.4 on cURLpp's official github repository: https://github.com/jpbarrette/curlpp. I hope that ubuntu will update their package to include new versions.

jpbarrette avatar Feb 24 '17 19:02 jpbarrette

@jpbarrette thanks for the heads up!

beniz avatar Feb 24 '17 19:02 beniz

based on 0.8.0 version, the step is: git clone https://github.com/jpbarrette/curlpp cmake . sudo make install

yangboz avatar Mar 05 '17 02:03 yangboz

Here is how you fix the curlpp problem on Ubuntu 16.04:

$ sudo apt-get remove libcurlpp0
$ cd [wherever]
$ git clone https://github.com/jpbarrette/curlpp.git
$ cd curlpp
$ cmake .
$ sudo make install
$ cd [back to deepdetect]
$ make clean
$ make

MartinThoma avatar Mar 06 '17 21:03 MartinThoma

Had same error, thanks for provided solution @MartinThoma. I think this should be in DD installing page https://deepdetect.com/overview/installing/

EBazarov avatar Mar 13 '17 09:03 EBazarov

Your note is very useful! Thank you very much!

vadiwalker avatar Nov 29 '17 16:11 vadiwalker

Thank you so much, guys!! Merry Christmas!

Labyrins avatar Dec 13 '17 09:12 Labyrins

By the way we have scripted the install of deepdetect for ubuntu 16.04 here: https://github.com/soprasteria/cybersecurity-dfm/blob/master/install_ubuntu.sh#L245

acabrol avatar Dec 31 '17 17:12 acabrol