Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
729ca65b
Commit
729ca65b
authored
Jan 12, 2022
by
Thibaut ROMAIN
Browse files
DOC: Add CentOS 7 documentation for python bindings recompilation
parent
75c7c2a0
Pipeline
#9490
canceled with stages
in 6 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Documentation/Cookbook/rst/Installation_Linux.rst
View file @
729ca65b
...
...
@@ -162,9 +162,29 @@ The following commands can be executed on Ubuntu 18.04 or Ubuntu 20.04, for exam
source otbenv.profile
ctest -S share/otb/swig/build_wrapping.cmake -VV
CENTOS 7
++++++++
..code-block:: bash
#Add the SCL repositories to install python 3.8 and gcc 8
yum -y install epel-release centos-release-scl
#Install required dependencies for python bindings recompilation
yum -y install devtoolset-8 cmake3 rh-python38 rh-python38-python-devel rh-python38-python-numpy swig3 mesa-libGL-devel mesa-libGLU-devel
#Enable the environement
scl enable rh-python38 devtoolset-8 -- /bin/bash
# Extract the archive
chmod +x OTB-8.0.0-rc1-Linux64.run
./OTB-8.0.0-rc1-Linux64.run
# recompile the Python bindings
cd OTB-8.0.0-Linux64
source otbenv.profile
ctest3 -S share/otb/swig/build_wrapping.cmake -VV
TODO: CENTOS
++++++++++++
FAQ
~~~
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment