cupt command not found

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

Introduction

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

cupt: command not found

or when using sudo you get the following error message

sudo: cupt: command not found

Solutions to cupt: command not found

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

In Ubuntu cupt is provided by cupt package.

cupt is:

This package provides a console interface to Cupt library, which implements high-level package manager for Debian and derivatives. Cupt is written with flexibility and reliability in mind and uses dpkg as the back-end.

Cupt uses the same APT infrastructure, e.g. index files, deb cache archive files, configuration files. It understands some of widely used APT options.

Some features:

  • strict full-case resolver;
  • resolver reasons tracking;
  • command-line and ‘cupt::*’ option name checker;
  • case-sensitive search;
  • pinning by source package name;
  • pinning by package groups using shell-like patterns;
  • configurable ‘depends’ and ‘rdepends’ subcommands;
  • ‘satisfy’ subcommand;
  • support of LZMA-compressed indexes;
  • source versions synchronization;
  • ‘shell’ subcommand (to get command history, search etc. working, install the package ’libreadline7’);
  • integration with debdelta (to get it, install the package ‘debdelta’);
  • system snapshots (needs packages ‘dpkg-dev’ and ‘dpkg-repack’).

Its interface is mostly like apt-get/aptitude console interface.

Cupt has built-in support for APT repositories using the file:// or copy:// URL schemas. For access to remote repositories using HTTP or FTP, install a download method such as libcupt4-2-downloadmethod-curl.

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

sudo apt-get -y install cupt

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

You can also use apt command to install cupt.

sudo apt -y install cupt

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

sudo aptitude install cupt

Summary

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