Changes between Initial Version and Version 1 of user/nicolasmartin/Deps Install


Ignore:
Timestamp:
2019-02-19T02:34:09+01:00 (20 months ago)
Author:
nicolasmartin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • user/nicolasmartin/Deps Install

    v1 v1  
     1= Deps installation 
     2 
     3[[PageOutline(2)]] 
     4 
     5== LaTeX 
     6 
     7As the server can't access Internet to download and install $LaTeX$ from TeX Live mirrors, a workaround solution was to carry out a portable installation from an external system followed by a basic copy to the server. 
     8 
     9{{{#!box width='50em' 
     10 
     11= [Make a fresh custom installation] 
     12 
     131. Download the latest installer from http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz 
     14 
     152. Untar the archive and launch  
     16{{{#!console 
     17$ ./install-tl --portable 
     18}}} 
     19 
     203. At least, choose the minimal scheme and follow the hints from [https://en.wikibooks.org/wiki/LaTeX/Installation#Custom_installation_with_TeX_Live the LaTex wikibook] 
     21}}} 
     22 
     23{{{#!box width='50em' 
     24 
     25= !Finish/Update the installation 
     26 
     274. Install the requested $LaTeX$ packages from source:/NEMO/trunk/doc/requirements_latex.txt 
     28{{{#!console 
     29$ tlmgr install $( cat requirements_latex.txt ) 
     30}}} 
     31   or add the missing ones 
     32{{{#!console 
     33$ tlmgr install [...] 
     34}}} 
     35 
     365. Check the compilation of $LaTeX$ document(s) 
     37 
     386. Copy the installation directory  
     39{{{#!console 
     40$ scp -r /path/to/usr/local/texlive USER@HOSTNAME:usr/local 
     41}}} 
     42 
     437. Update `PATH` environment variable if needed on the server 
     44{{{#!console 
     45$ export PATH=/path/to/texlive/bin:$PATH >> ~/.bashrc 
     46$ source ~/.bashrc 
     47}}} 
     48 
     49}}} 
     50 
     51=== HTML export 
     52 
     53[https://github.com/latex2html/latex2html.git latex2html] 
     54 
     55`htlatex`  
     56{{{#!console 
     57$ tmlgr install tex4ht 
     58}}} 
     59 
     60== Python packages 
     61 
     62Almost the same procedure as $LaTeX$ with the import of Python sources from an external computer for a local installation on the server (via Python `pip`) 
     63 
     641. Install the mandatory Python packages from source:/NEMO/trunk/doc/rst/requirements_make_html.txt 
     65{{{#!console 
     66$ pip install -r requirements_make_html.txt 
     67}}} 
     68 
     692. Check the compilation of HTML export 
     70{{{#!console 
     71$ make html 
     72}}} 
     73 
     743. Build wheels  
     75{{{#!console 
     76$ pip3 wheel -r requirements_make_html.txt --no-cache-dir 
     77}}} 
     78 
     79== Doxygen 
     80