A Computer Algebra System such as Maxima is never complete or proven to give correct answers in all problems. We are constantly adding new functionalities and fixing bugs. That means you should always try to use the latest version. Unlike some other software where the latest version is considered unstable until it is sufficiently tested, the latest Maxima version is usually as stable as previous versions, but more complete and correct.
plot2d (x, [x,0,1]); plotdf ([y,-x]);
Currently, the easiest way to install Maxima and Xmaxima is using one of the two open-source community systems for software installation:
sudo port selfupdate sudo port upgrade outdated sudo port install maxima +sbcl +xmaximaThere are other variants you might add: +abcl, +ccl, +clisp, +ecl, +gcl, for other Lisp versions, and +printable_doc to get a copy of the reference manual in PDF format. You can also install wxMaxima (sudo port install wxMaxima) using the same method.
brew update brew install maxima brew install tcl-tkPay attention to the information given after each of those commands, because in some cases there is a post-installation procedure required. You can also install wxMaxima (brew install wxmaxima) using the same method.
ldd --versionThe first line of the output should be something such as ldd (Ubuntu GLIBC 2.35-0ubuntu3.13) 2.35, which says that the version of the C library is 2.35.
cd /usr/local sudo tar xvzf /path/where/you/downloaded/maxima-version.tar.gzwhere maxima-version.tar.gz is the file you downloaded.
maxima --list-availwhich should show the version of Maxima that you just installed and the Lisp variants available.
plot cos(x)A new window should be opened with the plot of the cosine function. You can then enter exit in the Gnuplot prompt, to exit Gnuplot, and you are ready to use Maxima in a terminal, with the command maxima.
that should appear in your applications
menu.
The wxMaxima interface is not installed with the packages downloaded from our Website. It is program independent from Maxima, which can be downloaded from its own Website.
Maxima (maybe not the most recent version) can also be installed using a package managers such as winget or Chocolatey.
We have a section in our website with old versions od Maxima for Mac: Maxima-MacOS.
Most Linux distributions include a Maxima package that can be installed with the package manager; however, the version of the distribution you are using might come with a version of Maxima that is very old. Distributions based on .deb packages will automatically install maxima on clicking this link. Be aware that the complete Maxima code might come split into several packages; some functionalities might not work if some of those packages have not been installed.
The section Maxima-Linux-RPM in our website provides RPM packages created by the Maxima developers. You can chose one of the files named: name-version.x86_64.rpm, where the first part is the name of each package and the second part are the numbers that identify the version. The minimum set of packages that must be installed are maxima and maxima-exec-sbcl. Since they both depend on each other, they should be installed with a single rpm command:
rpm -ivh maxima-x.y.z-n.x86_64.rpm maxima-exec-sbcl-x.y.z-n.x86_64.rpm
sbcl and gnuplot should be installed in your system.
You may also want to install maxima-xmaxima, which provides the Xmaxima front-end and one of the graphic engines used by some of Maxima's plotting commands.
The maxima-lang packages provide translations of the manual into various languages, although none of those translations are complete and updated.
Maxima is also part of the distribution-independent snap package of wxMaxima. Informations about installing snaps can be found here.
For Windows a nightly build can be downloaded from Wolfgang Dautermann's Website that also provides detailed results of compilation and testbench runs on many different lisps.
Even if there is no guarantee that a nightly build, which has not been officially released, will work, the Maxima team tries to keep its codebase as stable as possible which means that if something is broken in the nightly build this information normally is important for the developers.
If the methods explained above do not work for you, or if you want to build a different version of Maxima or use a different Lisp flavor, get the source code from the Maxima-source subsection. Unpack the file and follow the instructions given in file INSTALL, which can also be read on-line.
The most recent development version of the source code can be downloaded from the GIT repository. That page shows the git command that should be used to obtain a complete copy of the repository. After getting the code, follow the instructions in INSTALL.git.