cssort command not found

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

Introduction

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

cssort: command not found

or when using sudo you get the following error message

sudo: cssort: command not found

Solutions to cssort: command not found

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

In Ubuntu cssort is provided by cstocs package.

cstocs is:

This is a utility which allows you to re-encode files between various encodings and sort Czech data. Some main features:

  • Written in Perl, providing appropriate Perl modules.
  • Supported encodings: ASCII, ISO-8859-1, ISO-8859-2, Microsoft cp1250 and cp1252, Mac, MacCE, PC Latin 2, Koi8-CS and TeX Cork (T1).
  • You can create your own encoding definition files and use them for recoding to any other defined encoding.
  • Single to single or single to many chars recodings are supported.
  • Sophisticated sorting algorithm for Czech.

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

sudo apt-get -y install cstocs

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

You can also use apt command to install cstocs.

sudo apt -y install cstocs

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

sudo aptitude install cstocs

Summary

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