cde command not found

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

Introduction

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

cde: command not found

or when using sudo you get the following error message

sudo: cde: command not found

Solutions to cde: command not found

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

In Ubuntu cde is provided by cde package.

cde is:

CDEpack (Code, Data, and Environment packaging) is a tool that automatically packages up everything required to execute a Linux command on another computer without any installation or configuration. A command can range from something as simple as a command-line utility to a sophisticated GUI application with 3D graphics. The only requirement is that the other computer have the same hardware architecture (e.g., x86) and major kernel version (e.g., 2.6.X) as yours. CDEpack allows you to easily run programs without the dependency hell that inevitably occurs when attempting to install software or libraries.

Typical use cases:

  1. Quickly share prototype software
  2. Try out software in non-native environments
  3. Perform reproducible research
  4. Instantly deploy applications to cluster or cloud computing
  5. Submit executable bug reports
  6. Package class programming assignments
  7. Easily collaborate on coding projects

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

sudo apt-get -y install cde

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

You can also use apt command to install cde.

sudo apt -y install cde

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

sudo aptitude install cde

Summary

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