xmlsec1 command not found

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

Introduction

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

xmlsec1: command not found

or when using sudo you get the following error message

sudo: xmlsec1: command not found

Solutions to xmlsec1: command not found

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

In Ubuntu xmlsec1 is provided by xmlsec1 package.

xmlsec1 is:

Xmlsec is a command line tool for signature and encryption transformations of XML data. It is part of the XML Security Library.

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

sudo apt-get -y install xmlsec1

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

You can also use apt command to install xmlsec1.

sudo apt -y install xmlsec1

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

sudo aptitude install xmlsec1

Summary

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