User Tools

Site Tools


ubuntu_instructions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ubuntu_instructions [2019/09/28 00:38]
cibin Merge instructions for all distributions
ubuntu_instructions [2019/09/29 12:12] (current)
cibin Use python3-dev to let distribution decide correct minor version
Line 5: Line 5:
 ====== Instructions for Ubuntu === ====== Instructions for Ubuntu ===
  
-The following is a walkthrough of Ubuntu 18.04 (with Python 3.5+) installation.+The following is a walkthrough of Ubuntu 18.04 installation.
  
 This has been successfully tested on Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, Ubuntu Mate 18.04 and Linux Mint 18. This has been successfully tested on Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, Ubuntu Mate 18.04 and Linux Mint 18.
  
-1. Install Python: +1. Install all required packages:
- +
-The python version available varies depending on your distribution. OpenVSP works with any Python 3.5+. For the purpose of this manual, the version used is Python 3.6. You may change the version number accordingly. +
- +
-<​code>​ +
-sudo apt-get install python3.6-dev +
-</​code>​ +
- +
-2. Install all required packages:+
  
 <​code>​ <​code>​
-sudo apt-get install git git-gui cmake libxml2-dev libfltk1.3-dev g++ libcpptest-dev libjpeg-dev libglm-dev libeigen3-dev libcminpack-dev libglew-dev swig doxygen graphviz texlive-latex-base+sudo apt-get install ​python3-dev ​git git-gui cmake libxml2-dev libfltk1.3-dev g++ libcpptest-dev libjpeg-dev libglm-dev libeigen3-dev libcminpack-dev libglew-dev swig doxygen graphviz texlive-latex-base
 </​code>​ </​code>​
  
-3. Make main directory and clone OpenVSP source:+2. Make main directory and clone OpenVSP source:
  
 <​code>​ <​code>​
Line 33: Line 25:
 </​code>​ </​code>​
  
-4. Prepare build files for the libraries:+3. Prepare build files for the libraries:
  
 <​code>​ <​code>​
Line 41: Line 33:
 </​code>​ </​code>​
  
-5. Build the libraries:+4. Build the libraries:
  
 Adjust the integer after -j to tell //make// the number of recipes to execute simultaneously. Adjust the integer after -j to tell //make// the number of recipes to execute simultaneously.
Line 49: Line 41:
 </​code>​ </​code>​
  
-6. Set up and build OpenVSP:+5. Set up and build OpenVSP:
  
 <​code>​ <​code>​
Line 63: Line 55:
 </​code>​ </​code>​
  
-7. Build OpenVSP+6. Build OpenVSP
  
 <​code>​ <​code>​
Line 69: Line 61:
 </​code>​ </​code>​
  
-8. Make joint folder with executables:​+7. Make joint folder with executables:​
  
 <​code>​ <​code>​
ubuntu_instructions.txt · Last modified: 2019/09/29 12:12 by cibin