Force octave to use command line [closed]

瘦欲@ 提交于 2019-12-08 09:58:17

问题


Before upgrading my ubuntu install to 16.04 invoking 'octave' would open the octave interpreter, useful as a powerful calculator.

Now, typing octave opens the octave gui. I need to type 'octave --no-gui' to get my interpreter back.'

Why does this happen? How can I restore 'octave' opening the interpreter?


回答1:


Defaults change over time depending on typical usage. To fix it, just:

Add an alias to your ~/.bashrc

alias octave="octave --no-gui"

Now source your file to enable it.

source ~/.bashrc


来源:https://stackoverflow.com/questions/37739493/force-octave-to-use-command-line

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!