Installing srcml

See your particular platform:

Linux & WSL

Enter the following commands into a Linux (or WSL) shell. Each command may ask you to confirm before completion.

  1. Update and upgrade:

  2. Install needed packages:

  3. Obtain a copy of the signing key:

  4. Add the repository to your sources list and update:

  5. Install srcml:

  6. Verify that srcml is installed:

macOS

With brew installed:

Then, verify that srcml is installed:

Docker

For Linux in Docker, first do the following:

Now, follow the directions in Linux & WSL