diff --git a/install/from-scratch.sh b/install/from-scratch.sh
index 41ae65ee97e7c06513a9c27583692ed98fa075a8..bcb1b88205b3ff89f570dd8a2a070669335b83cf 100755
--- a/install/from-scratch.sh
+++ b/install/from-scratch.sh
@@ -62,7 +62,10 @@ ${CONDA} create --yes -n ${NAME} --override-channels -c conda-forge -c defaults
   tensorflow \
   virtualenv \
   vlfeat
-  #caffe
+
+if [ "$(uname)" == "Linux" ] && [ ${PYTHON_VERSION} == "2.7" ]; then
+    ${CONDA} install --yes -n ${NAME} --override-channels -c conda-forge -c defaults caffe
+fi
 
 echo "[>>] Pip-installing extra dependencies in environment ${NAME} for ${PYTHON_VERSION}..."
 source ${BASEDIR}/bin/activate ${NAME}