Skip to content
Snippets Groups Projects

nosketch 2022.10.10 upgrade

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Jean-Francois.Burdet
    Edited
    update.txt 1.46 KiB
    apt-get install python3-prctl python3-openpyxl apache2 python-dev-is-python3 build-essential checkinstall libpcre3-dev libltdl-dev python3-dev swig libffi-dev
    export PYTHON=/usr/bin/python3
    sudo rm -rf /usr/local/lib/python2.7/*
    sudo rm -rf /usr/local/lib/python3.8/*
     
    cd ~/tmp
    wget https://corpora.fi.muni.cz/noske/current/src/manatee-open-2.208.tar.gz
    tar xvfz manatee-open-2.208.tar.gz
    cd manatee-open-2.208
    ./configure --with-pcre
    make
    sudo make install
    mkdir -p /usr/local/lib/python3.8/dist-packages/
    cp -r /usr/local/lib/python3.8/site-packages/* /usr/local/lib/python3.8/dist-packages/
    sudo echo 'PYTHONPATH="/usr/local/lib/python3.8/site-packages/"' >> /etc/environment
     
    cd ~/tmp
    wget https://corpora.fi.muni.cz/noske/current/src/bonito-open-5.57.6.tar.gz
    tar xvfz bonito-open-5.57.6.tar.gz 
    cd bonito-open-5.57.6/
    sed -i 's|dist-packages|site-packages|' run.cgi
    ./configure && make
    sudo make install
    sudo cp -r /usr/local/lib/python3.8/site-packages/* /usr/local/lib/python3.8/dist-packages/
    ./setupbonito /var/www/bonito /var/lib/bonito
    sudo chown -R www-data:www-data /var/lib/bonito
     
    cd ~/tmp
    wget https://corpora.fi.muni.cz/noske/current/src/gdex-4.12.tar.gz
    tar xvfz gdex-4.12.tar.gz
    cd gdex-4.12
    VERSION=4.12
    sed -i "s/<version>/$VERSION/g" setup.py
    ./setup.py build
    sudo ./setup.py install
     
    cd ~/tmp
    wget https://corpora.fi.muni.cz/noske/current/src/crystal-open-2.124.tar.gz
    tar vxfz crystal-open-2.124.tar.gz 
    cd crystal-open-2.124/
    make
    sudo make install VERSION=2.124
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment