How To Install cvsutils on Debian 11

In this tutorial we learn how to install cvsutils on Debian 11. cvsutils is CVS utilities for use in working directories

Introduction

In this tutorial we learn how to install cvsutils on Debian 11.

What is cvsutils

cvsutils is:

Several utilities which are used to facilitate working with the files in the working directory of a developer using CVS.

The utilities included in this package are:

  • cvsu: Offline “cvs update” simulator. Lists the files found in the current directory (or in the directories which you specify).
  • cvsco: “Cruel checkout”. Removes results of compilation and discards local changes. Deletes all the files except listed unmodified ones and checks out everything which seems to be missing.
  • cvsdiscard: Discards local changes but keeps results of compilation. Works like “cvsco”, but only deletes files which are likely to cause merge conflicts.
  • cvspurge: CVS-based “make maintainer-clean”. Removes results of compilation but keeps local changes intact. Removes unknown files, but keeps changes in files known to CVS.
  • cvstrim: Removes files and directories unknown to CVS.
  • cvschroot: Makes it possible to change CVS/Root in all subdirectories to the given value.
  • cvsdo: Simulates some of the CVS commands (currently add, remove and diff) without any access to the CVS server.
  • cvsnotag: Reports untagged files.

There are three methods to install cvsutils on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cvsutils Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install cvsutils using apt-get by running the following command:

sudo apt-get -y install cvsutils

Install cvsutils Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cvsutils using apt by running the following command:

sudo apt -y install cvsutils

Install cvsutils Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install cvsutils using aptitude by running the following command:

sudo aptitude -y install cvsutils

How To Uninstall cvsutils on Debian 11

To uninstall only the cvsutils package we can use the following command:

sudo apt-get remove cvsutils

Uninstall cvsutils And Its Dependencies

To uninstall cvsutils and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove cvsutils

Remove cvsutils Configurations and Data

To remove cvsutils configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge cvsutils

Remove cvsutils configuration, data, and all of its dependencies

We can use the following command to remove cvsutils configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cvsutils

Dependencies

cvsutils have the following dependencies:

References

Summary

In this tutorial we learn how to install cvsutils package on Debian 11 using different package management tools: apt, apt-get and aptitude.