Maxima/安裝
外觀
< Maxima
- gnuplot,
- tex
- texinfo
- texi2html
- texlive-latex-recommended
- GNU autotools
- automake 1.9
- autoconf2.13
- tk 8.4.
- lisp
- sbcl ( sudo apt-get install sbcl)
- libgmp3-dev
- libreadline5-dev
- libncurses5-dev
- sharutils
- libxmu-dev
- libxaw7-dev
- wxWidgets 庫用於 wxMaxima
- libwxgtk3.0-dev
- libwxbase3.0-dev
- 編譯器為 wxWidgets 庫的 GNU g++
- build-essential
- imagemagick
- ibus-gtk
- ibus-gtk3
現在最好的方法是 git 方法
您可以使用
- Synaptic(圖形包管理器)
- apt-get。
在第二種情況下,在命令列中輸入:[4]
sudo apt-get install maxima
此方法可能會獲得舊版本,這會導致一些問題,例如
loadfile: failed to load /usr/share/maxima/5.37.2/share/draw/draw.lisp
解除安裝此類 Maxima 版本
sudo apt-get remove maxima
從倉庫[5] 透過 Istvan Balhota
sudo add-apt-repository ppa:blahota/wxmaxima sudo apt-get update sudo apt-get install wxmaxima
在編譯之前,您應該擁有所有依賴的軟體包
cd maxima ./bootstrap # only if you downloaded the source code from cvs ./configure --enable-clisp # or: --enable-sbcl make make check sudo make install make clean
此過程不會建立 deb 包。
如果您有 git 和 SBCL,那麼:[6]
git clone git://git.code.sf.net/p/maxima/code maxima cd maxima ./bootstrap ./configure --with-sbcl make
現在可以在原始碼目錄中執行它。
cd maxima ./maxima-local
結果
Maxima branch_5_30_base_104_ged70fb2_dirty http://maxima.sourceforge.net using Lisp SBCL 1.0.45.0.debian Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1)
Xmaxima 也可以執行
cd ~/maxima ./xmaxima-local
或 bash 檔案
#!/bin/bash
# save as a in your home directory
# chmod +x m
# ./m
cd maxima
./xmaxima-local
wxMaxima 現在不存在。
標準安裝後 Maxima 在哪裡?
locate maxima-local
示例結果
~/Pobrane/maxima-5.38.1/maxima-local.in ~/Pobrane/maxima-5.38.1/xmaxima-local.in ~/maxima/maxima-local ~/maxima/maxima-local.in ~/maxima/xmaxima-local ~/maxima/xmaxima-local.in ~/maxima/interfaces/xmaxima/Tkmaxima/maxima-local.tcl
請注意,這與 apt-get 安裝後的目錄不同。磁碟上可以存在 2 個(或更多個)Maxima 版本。)
git clone https://github.com/wxMaxima-developers/wxmaxima
- 開啟一個終端
- 輸入:sudo apt-get install gdb
- 安裝 gdb 後,輸入:gdb wxmaxima
- 執行並等待它崩潰
- 並輸入:backtrace