Skip to content

Commit

Permalink
prepare for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
olir committed Mar 28, 2018
1 parent 0da9967 commit df6a2a2
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions doc/DebianLinux.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
(!!! UNDER CONSTRUCTION !!!)

## Windows 10
To run under Debian under Windows 10 [install WSL and package](https://www.microsoft.com/de-de/store/p/debian-gnu-linux/9msvkqc78pk6?rtc=1) and an
X-Server like [Xming](http://www.straightrunning.com/XmingNotes/)
To run under Debian under Windows 10 ...
* [Install WSL and Debian package](https://www.microsoft.com/de-de/store/p/debian-gnu-linux/9msvkqc78pk6?rtc=1)
* Install X-Server like [Xming](http://www.straightrunning.com/XmingNotes/). [More information](https://virtualizationreview.com/articles/2017/02/08/graphical-programs-on-windows-subsystem-on-linux.aspx)


## Instructions
Expand All @@ -16,11 +17,32 @@ sudo apt-get --yes install unzip
sudo apt-get --yes install git
sudo apt-get --yes install maven
sudo apt-get --yes install ffmpeg
cd opt
sudo tar xzf /mnt/c/Users/User/Downloads/jdk-8u161-linux-x64.tar.gz
sudo tar xzf /mnt/c/Users/User/Downloads/jdk-8u161-linux-x64.tar.gz -C /opt
echo export JAVA_HOME=/opt/jdk1.8.0_161 >>~/.bashrc
export DISPLAY=:0 >>~/.bashrc
source ~/.bashrc
export DISPLAY=:0
```

Install OpenCV on Linux: Read [Tutorial](http://opencv-java-tutorials.readthedocs.io/en/latest/01-installing-opencv-for-java.html) or execute:
```
sudo apt-get --yes install cmake
sudo apt-get --yes install cmake-gui
wget https://www.apache.org/dist/ant/binaries/apache-ant-1.10.2-bin.tar.gz ; sudo tar xzf apache-ant-1.10.2-bin.tar.gz -C /opt
export PATH=$PATH:/opt/apache-ant-1.10.2/bin >>~/.bashrc
source ~/.bashrc
wget https://github.com/opencv/opencv/archive/3.4.1.zip
sudo unzip 3.4.1.zip -d /opt
cd /opt/opencv-3.4.1
sudo mkdir build
sudo cmake-gui
```
and follow the tutorial with ...

* Ungrouped Entries/ANT_EXECUTEABLE: /opt/apache-ant-1.10.2/bin/ant
* ...



Ready to use git and maven.

apache-ant-1.10.2-bin.tar.gz

0 comments on commit df6a2a2

Please sign in to comment.