Skip to content

Commit 000f77c

Browse files
Improved Ubuntu script doc
1 parent 7327906 commit 000f77c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/ubuntu/install_deps.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ sudo apt-get --assume-yes install build-essential
1010
# General dependencies
1111
sudo apt-get --assume-yes install libatlas-base-dev libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler
1212
sudo apt-get --assume-yes install --no-install-recommends libboost-all-dev
13-
# Remaining dependencies, 14.04
14-
sudo apt-get --assume-yes install libgflags-dev libgoogle-glog-dev liblmdb-dev
13+
# Remaining dependencies
14+
sudo apt-get --assume-yes install libgflags-dev libgoogle-glog-dev
15+
# LMDB is needed for Caffe training, but very likely not for inference-only
16+
sudo apt-get --assume-yes install liblmdb-dev
1517

1618
# Python2 libs (Official Ubuntu support dropped after Ubuntu 20)
1719
if [[ $UBUNTU_VERSION == *"14."* ]] || [[ $UBUNTU_VERSION == *"15."* ]] || [[ $UBUNTU_VERSION == *"16."* ]] || [[ $UBUNTU_VERSION == *"17."* ]] || [[ $UBUNTU_VERSION == *"18."* ]]; then

0 commit comments

Comments
 (0)