Skip to content

Commit

Permalink
Update install-opencv.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
milq authored May 19, 2017
1 parent 2d3d4c9 commit 2fc464f
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions scripts/bash/install-opencv.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
# KEEP UBUNTU OR DEBIAN UP TO DATE
######################################
# INSTALL OPENCV ON UBUNTU OR DEBIAN #
######################################

# SCRIPT TESTED CORRECTLY ON
# | OS | OpenCV |
# |----------------|--------------|
# | Ubuntu 16.04.2 | OpenCV 3.2.0 |
# | Debian 8.8 | OpenCV 3.2.0 |


# 1. KEEP UBUNTU OR DEBIAN UP TO DATE

sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove


# INSTALL THE DEPENDENCIES
# 2. INSTALL THE DEPENDENCIES

# Build tools:
sudo apt-get install -y build-essential cmake
Expand All @@ -33,7 +44,7 @@ sudo apt-get install -y ant default-jdk
sudo apt-get install -y doxygen


# INSTALL THE LIBRARY (YOU CAN CHANGE '3.2.0' FOR THE LAST STABLE VERSION)
# 3. INSTALL THE LIBRARY (YOU CAN CHANGE '3.2.0' FOR THE LAST STABLE VERSION)

sudo apt-get install -y unzip wget
wget https://github.com/opencv/opencv/archive/3.2.0.zip
Expand All @@ -49,6 +60,6 @@ sudo make install
sudo ldconfig


# EXECUTE SOME OPENCV EXAMPLES AND COMPILE A DEMONSTRATION
# 4. EXECUTE SOME OPENCV EXAMPLES AND COMPILE A DEMONSTRATION

# To complete this step, please visit 'http://milq.github.io/install-opencv-ubuntu-debian'.

0 comments on commit 2fc464f

Please sign in to comment.