sedparse command not found

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

Introduction

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

sedparse: command not found

or when using sudo you get the following error message

sudo: sedparse: command not found

Solutions to sedparse: command not found

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

In Ubuntu sedparse is provided by sedparse package.

sedparse is:

sedparse is a translation from C to Python of GNU sed’s parser for sed scripts.

After running sedparse in your sed script, the complete list of all the found sed commands and their arguments will be available in different formats:

  • List of objects (translated C structs).
  • List of dictionaries.
  • JSON.

sedparse is implemented as a Python library and have a command-line tool.

This package provides the sedparse command-line tool.

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

sudo apt-get -y install sedparse

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

You can also use apt command to install sedparse.

sudo apt -y install sedparse

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

sudo aptitude install sedparse

Summary

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