问题描述
我最近使用Homebrew在Mac上安装了GNU Octave,并且一输入octave
变成bash,它打开了octave-gui窗口. Octave GUI看起来很吸引人(至少在Mac上是这样),所以我想使用命令行界面.我的解决方法是在~/.bash_profile
中创建一个永久别名,该别名为alias octave='octave --no-gui'
.
I recently installed GNU Octave on my Mac using Homebrew and as soon as I typedoctave
into bash, it opened up the octave-gui window. The Octave GUI looks quite unappealing (on a mac, at least) so I wanted to use the command line interface. My fix was to create a permanent alias in ~/.bash_profile
which was alias octave='octave --no-gui'
.
对此是否有更永久的解决方法?也就是说,如何在不调用GUI而不是CLI的情况下开始使用八度音阶?有没有一种解决方案,我不必使用别名来做到这一点. (并不是说使用别名是个大问题,但我只是想更好地解决在命令行本身上启动Octave的问题.)
Is there a more permanent fix to this? That is, how can I start using octave without invoking the GUI instead of the CLI? Is there a solution where I don't have to do this by using an alias. (Not that using the alias is a big issue, but I just wanted a better fix to starting Octave on the command line itself.)
推荐答案
我也通过brew安装我发现只需运行:
I also install through brewI found that just run:
octave-cli
您将在终端中看到八度:
you will see the octave in terminal:
GNU Octave, version 4.2.0-rc2
Copyright (C) 2016 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
...
octave:1>
这篇关于如何从命令行而不是GUI启动八度音阶?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!