xsec-c14n command not found

In this troubleshooting guide we learn how to fix xsec-c14n command not found error message

Introduction

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

xsec-c14n: command not found

or when using sudo you get the following error message

sudo: xsec-c14n: command not found

Solutions to xsec-c14n: command not found

How To Fix xsec-c14n: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xsec-c14n is provided by xml-security-c-utils package.

xml-security-c-utils is:

Apache XML Security for C++ is a library for the XML Digital Security specification. It provides processing and handling of XML Key Management Specifications (XKMS) messages.

This package contains the Apache XML Security for C++ utilities, which support signing and verifying XML files from the command line among other operations.

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

sudo apt-get -y install xml-security-c-utils

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

You can also use apt command to install xml-security-c-utils.

sudo apt -y install xml-security-c-utils

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

sudo aptitude install xml-security-c-utils

Summary

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