GNU/Linux >> Tutoriels Linux >  >> Ubuntu

Comment installer Gfortran ?

J'ai installé sage sur ubuntu mais rien sur la ligne de commande ne s'exécute. La partie pertinente du long message d'erreur est :

ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

J'ai essayé sudo apt-get install gfortran et sudo apt-get install libgfortran.so.3

Mais aucun ne semble fonctionner. J'ai essayé l'interface graphique du centre logiciel Ubuntu, mais elle semble cassée car elle continue d'afficher l'invite d'attente rotative même si mon réseau fonctionne. Je suis un peu coincé. Merci.

Réponse acceptée :

Je peux confirmer qu'il s'agit du package libgfortran3 cela est nécessaire.
Cela a fonctionné pour moi sur Ubuntu Lucid (32bit) :

apt-get install libgfortran3

bravo.


Ubuntu
  1. Comment installer Odoo sur Ubuntu

  2. Comment installer Maven sur Ubuntu

  3. Comment installer Wine sur Ubuntu

  4. Comment installer R sur Ubuntu 16.04

  5. Comment installer Go sur Ubuntu 18.04

Comment installer qt sur Ubuntu 20.04

Comment installer Gfortran 9, 10 ou 11 sur Ubuntu 20.04 LTS

Comment installer NCDU sur Ubuntu 17.04

Comment installer JuliaLang sur Ubuntu 16.04 LTS

Comment installer Go dans Ubuntu 20.04

Comment installer Go sur Ubuntu 22.04