Home Download 4-4-0

Install Singular 4.x.x on a Linux/Unix platform (via APT/DEB)

The Singular repository provides a user-friendly installation of Singular on a Debian or Debian like system (such as Knoppix, Ubuntu etc.) with installed package tool APT. Just follow the below instructions matching your package tool.

The following installation instructions require superuser privileges and internet connection.

Some OS versions require additional the line to enable ftp transport

Dir::Bin::Methods::ftp "ftp";

in /etc/apt/apt.conf or a file in /etc/apt/cond.d/

Step-by-step instructions for Debian 11/12/13 (only 64 bit):

  • add GPG key:
    wget ftp://jim.mathematik.uni-kl.de/repo/extra/gpg
    apt-key add gpg
  • add (for debian11)
    deb https://www.singular.uni-kl.de/ftp/repo/debian11 bullseye main
    to /etc/apt/sources.list
  • add (for debian12)
    deb https://www.singular.uni-kl.de/ftp/repo/debian12 bookworm main
    to /etc/apt/sources.list
  • add (for debian13)
    deb https://wwww.singular.uni-kl.de/ftp/repo/debian13 trixie main
    to /etc/apt/sources.list
  • apt-get update
  • apt-get install singular41
An old version of Singular can be found in the official repositories. Note that the two versions conflict with each other.
    Mirrors of the repositories are at
  • ftp://jim.mathematik.uni-kl.de/repo/debian11
  • ftp://jim.mathematik.uni-kl.de/repo/debian12
  • ftp://jim.mathematik.uni-kl.de/repo/debian13

For Ubuntu 20.04, 22.04, 24.04 Singular can be found in the official repository:

  • apt-get update
  • apt-get install singular

However, this will most probably not install the latest version. For the latest version, manually install Singular via TGZ, or follow these instructions (only 64 bit):

  • add GPG key:
    wget ftp://jim.mathematik.uni-kl.de/repo/extra/gpg
    apt-key add gpg
  • add (for 20.04)
    deb https://www.singular.uni-kl.de/ftprepo/ubuntu20 focal main
    to /etc/apt/sources.list
  • add (for 22.04)
    deb https://www.singular.uni-kl.de/ftp/repo/ubuntu22 jammy main
    to /etc/apt/sources.list
  • add (for 24.04)
    deb https://www.singular.uni-kl.de/ftp/repo/ubuntu24 noble main
    to /etc/apt/sources.list
  • apt-get update
  • apt-get install singular41

Note that the two packages singular and singular41 conflict with each other.

    Mirrors of the repositories are at
  • ftp://jim.mathematik.uni-kl.de/repo/ubuntu20
  • ftp://jim.mathematik.uni-kl.de/repo/ubuntu22
  • ftp://jim.mathematik.uni-kl.de/repo/ubuntu24