Cantor is a front-end for many mathematical software applications like Sage, Maxima, R and KAlgebra. Cantor belongs to The KDE Education Project and lets you use your favorite mathematical applications from within a nice KDE-integrated Worksheet Interface. It offers assistant dialogs for common tasks and allows you to share your worksheets with others.

Cantor's main features are:

Install Cantor at Ubuntu Karmic

For ubuntu karmic you just run 3 commands in a terminal:

sudo add-apt-repository ppa:kubuntu-ppa/beta
sudo apt-get update
sudo apt-get install cantor

It will update all the KDE-packages to version 4.4, but this is useful for having no troubles with Cantor.

Build and Install Cantor

As Cantor is part of KDE Edu since version 4.4, most Linux distributions will already have a package for it. Either combined with other apps in one kdeedu package or split into a separate cantor package.

If you are using an older distribution, you can build cantor from source:

Cantor depends upon kdelibs, so in order to build Cantor, you must have kdelibs development files.

If you have a Linux box, then you can install the kdelibs-devel package from your distribution. If you have Windows, then you can use the KDE on Windows project, please note that there is already a Cantor.exe ported to windows, so it is not necessary to build the application. Otherwise, you can [[|build and install kdelibs from sources]].

The following steps can be used to build Cantor for a Linux distribution.

Using Sage with Cantor

After starting Cantor you will be prompted with all the supported backends. If Sage is not on the list, you may have to check the settings, and correctly set the path to the Sage executable. If you check the "make this the default backend" box, this backend will be preselected in the future.

The Cantor worksheet is quite similar to the one offered by Sage notebook. You can run any Sage commands by entering it in the cell and pressing Shift+Enter.

If you evaluate "? command" the help for the specific command will show up in the help panel on the right, pressing <Tab> will show you possible completions for the current command.

Cantor offers some comfort features, like typesetting your results using LaTex, or offering dialogs for commonly used functions.

Once you've finished working on your worksheet, you can easily share it with others, by publishing it on You just select the "Publish Worksheet" entry in File menu, and follow the assistant. Once completed, your new worksheet will show up in the "Download Example" dialog.


Cantor (last edited 2018-01-31 17:43:50 by slelievre)