cvstrim command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cvstrim: command not found
or when using sudo you get the following error message
sudo: cvstrim: command not found
Solutions to cvstrim: command not found
How To Fix cvstrim: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cvstrim is provided by cvsutils package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cvsutils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cvsutils.
sudo apt -y install cvsutils
Or if you have aptitude installed you can use the following command.
sudo aptitude install cvsutils
Summary
In this tutorial we learn how to fix cvstrim command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.