cdr2xhtml command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cdr2xhtml: command not found
or when using sudo you get the following error message
sudo: cdr2xhtml: command not found
Solutions to cdr2xhtml: command not found
How To Fix cdr2xhtml: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cdr2xhtml is provided by libcdr-tools package.
libcdr-tools is:
libcdr is a library and a set of tools for reading and converting binary files produced by Corel DRAW.
libcdr currently supports just CDR files from V7 to X3 and the following features:
- pages and page sizes
- shapes, lines, Bezier curves, bitmaps
- flat color fills, both RGB, CMYK, HLS and HSB
- different kinds of strokes including dashed strokes
Above that libcdr provides a public API for rendering preview of pages for applications that have no notion of pages themselves.
This package contains cdr2xtml/cdr2raw and cmx2xhtml/cmx2raw.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libcdr-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libcdr-tools.
sudo apt -y install libcdr-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install libcdr-tools
Summary
In this tutorial we learn how to fix cdr2xhtml command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.