cfg-clex command not found

In this troubleshooting guide we learn how to fix cfg-clex command not found error message

Introduction

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

cfg-clex: command not found

or when using sudo you get the following error message

sudo: cfg-clex: command not found

Solutions to cfg-clex: command not found

How To Fix cfg-clex: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cfg-clex is provided by clex package.

clex is:

Clex is a fully functional textual file-manager. It displays things like permissions, date of creation, filesize and others when browsing a directory. Clex also has the ability to accept commands with the default shell, and showing the output.

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

sudo apt-get -y install clex

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

You can also use apt command to install clex.

sudo apt -y install clex

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

sudo aptitude install clex

Summary

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