Dependencies edit

  • 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 library for wxMaxima
    • libwxgtk3.0-dev
    • libwxbase3.0-dev
  • compiler is GNU g++ for wxWidgets library
  • build-essential
  • imagemagick
  • ibus-gtk
  • ibus-gtk3

Steps edit

  • Download and install ready made Maxima deb packages
    • from Ubuntu repositories ( old versions )
    • from other sites[1]
  • Compile your own maxima package[2][3]
  • compile maxima from sources ( without creating deb packages )

Now the best is a git method

From Ubuntu repositories edit

You can make use of :

  • Synaptic ( Graphical package manager)
  • apt-get.

In second case write in command line:[4]

sudo apt-get install maxima

This method can get old version which gets some trouble, like

 loadfile: failed to load /usr/share/maxima/5.37.2/share/draw/draw.lisp

Uninstall such Maxima version

 sudo apt-get remove maxima

From PPA edit

wxmaxima edit

From repositiories[5] by Istvan Balhota

sudo add-apt-repository ppa:blahota/wxmaxima
sudo apt-get update
sudo apt-get install wxmaxima

From sources edit

Before compilation, you should have all dependent packages

CVS edit

cd maxima
./bootstrap    # only if you downloaded the source code from cvs
./configure --enable-clisp   # or:   --enable-sbcl
make check
sudo make install
make clean

This procedure does not create a deb package.

Using git edit

maxima/xmaxima edit

If you have git and SBCL then : [6]

  git clone git:// maxima
  cd maxima
  ./configure --with-sbcl

Now one can run it from inside the source directory.

cd maxima

The result :

Maxima branch_5_30_base_104_ged70fb2_dirty
using Lisp SBCL
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.

Xmaxima can also be run :

cd ~/maxima

or bash file :


# save as a  in your home directory
# chmod +x m
# ./m

cd maxima

wxMaxima is not present now.

Where is Maxima after standard ( as above) installation ?

  locate maxima-local

example result :


Note that it is a different directory then after apt-get installation. One can have 2 ( or more ) versions of Maxima on the disk )

wxmaxima edit

 git clone

Problems edit

  • Open a terminal
  • type : sudo apt-get install gdb
  • after gdb is installed type : gdb wxmaxima
  • run and wait until it crashes
  • and type : backtrace

References edit