SML# Document Version 4.1.0
5 Installing SML#

5.3 Ubuntu

The private repositories are provided for Ubuntu LTS releases avaliable when SML# is released through PPA (Personal Package Archives for Ubuntu). Add one of these repositories to your system, and you can install and update the SML# compiler by the apt command.

Do the following commmands to set up the SML# compiler.

  • Ubuntu 20.04 LTS (focal), 22.04 LTS (jammy), 24.04 LTS (noble):

    add-apt-repository ppa:smlsharp/ppa
    apt update
    apt install smlsharp

add-apt-repository adds the private repository to the system. The apt commands are similar to those for Debian. See Section 5.2 for details.