在任一發行的Ubuntu版本中安裝最新版本的Octave,只要輸入以下指令就可以了!!
Octave3.8 安裝
:
sudo apt-add-repository ppa:octave/stable
sudo apt-get update
sudo apt-get install octave
安裝後,修改
*.desktop設定檔,路徑/usr/share/applications/www.octave.org-octave.desktop
修改以下文件內容。
[Desktop Entry]
Name=GNU Octave
Comment=Scientific Computing using GNU Octave
TryExec=/usr/bin/octave
Exec=/usr/bin/octave
Icon=/usr/share/octave/3.8.1/imagelib/octave-logo.svg
Terminal=true
Type=Application
Categories=Education;Science;Math;
StartupNotify=false
X-Desktop-File-Install-Version=0.20
將標記的兩行分別修改為,
Exec=/usr/bin/octave --force-gui
Terminal=false
存檔離開,下次點捷徑開啟Octave就會直接執行Octave GUI !
留言
張貼留言