samlsign command not found

In this troubleshooting guide we learn how to fix samlsign command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

samlsign: command not found

or when using sudo you get the following error message

sudo: samlsign: command not found

Solutions to samlsign: command not found

How To Fix samlsign: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu samlsign is provided by opensaml-tools package.

opensaml-tools is:

OpenSAML is an open source implementation of the OASIS Security Assertion Markup Language Specification. It contains a set of open source C++ classes that support the SAML 1.0, 1.1, and 2.0 specifications.

This package contains samlsign, a command-line tool for signing and verifying SAML assertions.

To fix this problem, we can install more using the command below.

sudo apt-get -y install opensaml-tools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install opensaml-tools.

sudo apt -y install opensaml-tools

Or if you have aptitude installed you can use the following command.

sudo aptitude install opensaml-tools

Summary

In this tutorial we learn how to fix samlsign command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.