parsediasql command not found

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

Introduction

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

parsediasql: command not found

or when using sudo you get the following error message

sudo: parsediasql: command not found

Solutions to parsediasql: command not found

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

In Ubuntu parsediasql is provided by libparse-dia-sql-perl package.

libparse-dia-sql-perl is:

Parse::Dia::SQL is a Perl module that parses files created in the Dia diagram creation program, represents it as an internal datastructure, and produces the SQL statements it represents.

This package also provides the ‘parsediasql’ command-line utility to convert diagrams into SQL. this utility replaces the older tedia2sql program.

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

sudo apt-get -y install libparse-dia-sql-perl

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

You can also use apt command to install libparse-dia-sql-perl.

sudo apt -y install libparse-dia-sql-perl

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

sudo aptitude install libparse-dia-sql-perl

Summary

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