Commit 208db447421e4c877ff44cd84aa925bde17eea6c

Authored by Alessandro de Oliveira Faria (A.K.A.CABELO)
Committed by GitHub
1 parent c3a862c5

openSUSE commands (#585)

Showing 1 changed file with 19 additions and 6 deletions
docs/docs/install.md
@@ -4,33 +4,46 @@ A hacker's guide to building, editing, and running OpenBR. @@ -4,33 +4,46 @@ A hacker's guide to building, editing, and running OpenBR.
4 4
5 # Linux 5 # Linux
6 6
7 -1. Install GCC 4.9.2 7 +1. Install GCC 4.9.2 or later
8 8
9 $ sudo apt-get update 9 $ sudo apt-get update
10 $ sudo apt-get install build-essential 10 $ sudo apt-get install build-essential
  11 +
  12 + For openSUSE Linux, bellow the commands:
11 13
12 -2. Install CMake 3.0.2 14 + $ sudo zypper refresh
  15 + $ sudo zypper install patterns-devel-C-C++-devel_C_C++
  16 +
  17 +2. Install CMake 3.0.2 or later
13 18
14 $ sudo apt-get install cmake cmake-curses-gui 19 $ sudo apt-get install cmake cmake-curses-gui
15 20
16 -3. [Download OpenCV 2.4.11](http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.11/opencv-2.4.11.zip/download), **note** [Build OpenCV with video support](https://github.com/biometrics/openbr/wiki/Build-OpenCV-with-Video-Support-on-Ubuntu) 21 + For openSUSE Linux, bellow the commands:
  22 +
  23 + $ sudo zypper install cmake-gui
  24 +
  25 +3. [Download OpenCV](https://github.com/opencv/opencv/releases), **note** [Build OpenCV with video support](https://github.com/biometrics/openbr/wiki/Build-OpenCV-with-Video-Support-on-Ubuntu)
17 26
18 $ cd ~/Downloads 27 $ cd ~/Downloads
19 - $ unzip opencv-2.4.11.zip  
20 - $ cd opencv-2.4.11 28 + $ unzip opencv-4.5.3.zip
  29 + $ cd opencv-4.5.3
21 $ mkdir build 30 $ mkdir build
22 $ cd build 31 $ cd build
23 $ cmake -DCMAKE_BUILD_TYPE=Release .. 32 $ cmake -DCMAKE_BUILD_TYPE=Release ..
24 $ make -j4 33 $ make -j4
25 $ sudo make install 34 $ sudo make install
26 $ cd ../.. 35 $ cd ../..
27 - $ rm -rf opencv-2.4.11* 36 + $ rm -rf opencv-4.5.3*
28 37
29 38
30 4. Install Qt 5.4.1 39 4. Install Qt 5.4.1
31 40
32 $ sudo apt-get install qt5-default libqt5svg5-dev qtcreator 41 $ sudo apt-get install qt5-default libqt5svg5-dev qtcreator
33 42
  43 + For openSUSE Linux, bellow the commands:
  44 +
  45 + $ sudo zypper install patterns-kde-devel_qt5
  46 +
34 5. Create a [GitHub](https://github.com/) account, follow their instructions for [setting up Git](https://help.github.com/articles/set-up-git). 47 5. Create a [GitHub](https://github.com/) account, follow their instructions for [setting up Git](https://help.github.com/articles/set-up-git).
35 48
36 $ git clone https://github.com/biometrics/openbr.git 49 $ git clone https://github.com/biometrics/openbr.git