Task #2955

Task #2845: Setup, Ubuntu 20.04, prepare TXM 0.8.1 to be fully compatible with Ubuntu 20.04 debian packages

Prepare R and libraries for Ubuntu 20.04

Added by Matthieu Decorde over 2 years ago. Updated almost 2 years ago.

Status:New Start date:11/27/2020
Priority:High Due date:
Assignee:- % Done:

80%

Category:Stats / R Spent time: -
Target version:TXM 0.8.2

Description

Known problems :
  • some libs (used by R or its packages) are no more available in the Debian packages :
    • libpng12
    • libgfortran
      • gcc-6-base

Diagnose

Run TXM's R via terminal:

cd /usr/lib/TXM-0.8.1/plugins/org.txm.statsengine.r.core.linux_1.0.0.*/res/linux64/bin
./R

Solution 1

Ubuntu 20.04: ship the missing libraries in TXM R lib directory : /usr/lib/TXM-0.8.1/plugins/org.txm.statsengine.r.core.linux_1.0.0.*/res/linux64/lib

Ubuntu 16.04:
  • this new libs will broke the dependancies -> remove the libpng12 and libgfortran files of the lib directory
  • if installed with the deb installer remove /usr/lib/TXM-0.8.1/plugins/org.txm.statsengine.r.core.linux_1.0.0.*/res/linux64/lib/libgfortran.so.3
  • if installed with an update remove ~/.TXM-0.8.1/plugins/org.txm.statsengine.r.core.linux_1.0.0.*/res/linux64/lib/libgfortran.so.3

Related issues

related to Task #3086: R, update to last stable version New 11/27/2020

History

#1 Updated by Matthieu Decorde about 2 years ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde about 2 years ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde about 2 years ago

  • Description updated (diff)

#4 Updated by Matthieu Decorde about 2 years ago

  • Description updated (diff)

#5 Updated by Alexey Lavrentev about 2 years ago

I tried the solution 1 (ubuntu 16.04) :

No libfortran found in /usr/lib/TXM-0.8.1/plugins/org.txm.statsengine.r.core.linux_1.0.0.202006290905/res/linux64/lib

libpng12.so.0 removed.

The specificity and CA still don't work, with the same errors :

impossible de trouver la fonction "phyper" for Specificities
** Erreur R : "Error : le chargement du package ou de l'espace de noms a échoué pour ‘FactoMineR’" for CA

#6 Updated by Matthieu Decorde about 2 years ago

  • Description updated (diff)

#7 Updated by Matthieu Decorde almost 2 years ago

  • Description updated (diff)
  • % Done changed from 0 to 80

Ubuntu 16.04 support stopped stopped

Also available in: Atom PDF