• [Scilab] Ubuntu 20.04下scilab无法启动


    造冰箱的大熊猫,本文适用于Ubuntu 20.04@cnblogs 2020/12/19

     

    问题:在Ubuntu 20.04下通过apt-get安装了scilab后,发现其GUI界面无法启动,在命令行执行scilab收到错误提示“Scilab cannot create Scilab Java Main-Class (we have not been able to find the main Scilab class. Check if the Scilab and thirdparty packages are available)”。

    解决:搜索一番后发现,有人说是ubuntu软件仓库中的版本损坏需要官方修复,同时给出了一种临时解决措施,抄录如下:

    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/scilab/scilab-cli_6.1.0+dfsg1-6build2_all.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/scilab/scilab-data_6.1.0+dfsg1-6build2_all.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/scilab/scilab-doc-fr_6.1.0+dfsg1-6build2_all.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/scilab/scilab-doc-ja_6.1.0+dfsg1-6build2_all.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/scilab/scilab-doc-pt-br_6.1.0+dfsg1-6build2_all.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/scilab/scilab-doc_6.1.0+dfsg1-6build2_all.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/scilab/scilab-full-bin_6.1.0+dfsg1-6build2_amd64.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/scilab/scilab-include_6.1.0+dfsg1-6build2_amd64.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/scilab/scilab-minimal-bin_6.1.0+dfsg1-6build2_amd64.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/scilab/scilab-test_6.1.0+dfsg1-6build2_all.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/scilab/scilab_6.1.0+dfsg1-6build2_all.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/h/hdf5/libhdf5-103-1_1.10.6+repack-2_amd64.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/h/hdf5/libhdf5-hl-100_1.10.6+repack-2_amd64.deb
    wget -c http://archive.ubuntu.com/ubuntu/pool/universe/libm/libmatio/libmatio9_1.5.17-5_amd64.deb
    
    sudo apt-get install ./lib*.deb
    sudo apt-get install ./scilab*.deb
    

     简单粗暴,但实测能够解决问题。

  • 相关阅读:
    python环境准备(2020-1-13)
    git知识
    toolbar的相关知识
    Android开发极光推送功能实现步骤
    Android开发分享功能实现步骤
    使用tablayout和viewpager实现简单的页面布局
    activity与fragment的交互(一个activity跳转到另一个fragment)
    java中堆区和栈区的区别
    WebView的基本使用
    final的用法
  • 原文地址:https://www.cnblogs.com/pandabang/p/14157768.html
Copyright © 2020-2023  润新知