Changes

Jump to navigation Jump to search
210 bytes added ,  04:23, 14 September 2023
Line 1: Line 1:  
{{WIP box}}
 
{{WIP box}}
   −
this how-to is an help to install mediawiki libraries (mwlib) on SME 9
+
this how-to is an help to install mediawiki libraries (mwlib) on SME 9 and SME 10
    
=== install ===
 
=== install ===
SME10<syntaxhighlight lang="bash">
+
<tabs container=""><tab name="For SME 10">
 +
<syntaxhighlight lang="bash">
 
yum install smeserver-extrarepositories-epel -y
 
yum install smeserver-extrarepositories-epel -y
   −
yum install pdftk gcc gcc-c++ cpp make python-devel libjpeg-devel zlib-devel freetype-devel  lcms-devel libxslt-devel libxml2-devel git ocaml python-pip python-gevent python-py python-apipkg  ImageMagick texlive-latex texlive-texvc blahtexml openssl-devel python-devel libffi-devel  pyOpenSSL python2-pyasn1 python2-pyasn1-modules--enablerepo=epel -y
+
yum install pdftk gcc gcc-c++ cpp make python-devel libjpeg-devel zlib-devel freetype-devel  lcms-devel lcms2-devel libxslt-devel libxml2-devel git ocaml python-pip python-gevent python-py python-apipkg  ImageMagick texlive-latex texlive-texvc blahtexml openssl-devel python-devel libffi-devel  pyOpenSSL python2-pyasn1 python2-pyasn1-modules--enablerepo=epel --enablerepo=extras -y
 
   
</syntaxhighlight>
 
</syntaxhighlight>
 +
note, those are not available on SME10, but it seems to work out: texlive-texvc, blahtexml
    
===== python pip =====
 
===== python pip =====
Line 92: Line 93:       −
SME9
+
</tab><tab name="For SME 9">
    
you will need pdftk from dag (this repo does not exist anymore so here a way to get the files)
 
you will need pdftk from dag (this repo does not exist anymore so here a way to get the files)
Line 228: Line 229:  
EOM
 
EOM
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
===You might also need to do ===
 +
if python complains too much of SSL and SNI
 +
yum install openssl-devel python-devel libffi-devel -y
 +
pip install pyOpenSSL ndg-httpsclient pyasn1
 +
 +
see https://stackoverflow.com/questions/29099404/ssl-insecureplatform-error-when-using-requests-package
 +
</tab>
 +
 +
</tabs>
    
===Sources===
 
===Sources===
Line 235: Line 245:       −
===ALternatives ===
+
===Alternatives ===
 
use rpm for centos7
 
use rpm for centos7
 
https://gitlab.com/harbottle/epypel
 
https://gitlab.com/harbottle/epypel
    
https://harbottle.gitlab.io/epypel/7/x86_64/
 
https://harbottle.gitlab.io/epypel/7/x86_64/
  −
===You might also need to do ===
  −
if python complains too much of SSL and SNI
  −
yum install openssl-devel python-devel libffi-devel -y
  −
pip install pyOpenSSL ndg-httpsclient pyasn1
  −
  −
see https://stackoverflow.com/questions/29099404/ssl-insecureplatform-error-when-using-requests-package
  −
      
=== to test ===
 
=== to test ===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu