cvs-fast-export command not found

In this troubleshooting guide we learn how to fix cvs-fast-export command not found error message

Introduction

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

cvs-fast-export: command not found

or when using sudo you get the following error message

sudo: cvs-fast-export: command not found

Solutions to cvs-fast-export: command not found

How To Fix cvs-fast-export: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cvs-fast-export is provided by cvs-fast-export package.

cvs-fast-export is:

cvs-fast-export, formerly “parsecvs”, does what its new name implies: exports CVS repositories in a format suitable for git fast-import.

This program analyzes a collection of RCS files in a CVS repository (or outside of one) and, when possible, emits an equivalent history in the form of a fast-import stream. Not all possible histories can be rendered this way; the program tries to emit useful warnings when it can’t. The program can also produce a visualization of the resulting commit DAG in the DOT format handled by the graphviz suite.

The distribution includes a tool, cvssync, for fetching masters from CVS remote repositories so cvs-fast-export can see them. You will need rsync installed to use it.

A wrapper script called cvsconvert runs a conversion to git and looks for content mismatches with the original CVS. You will need CVS and Git installed to use it.

Also included is a tool called cvsstrip that strips content out of trees of RCS/CVS masters, leaving only metadata structure in place.

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

sudo apt-get -y install cvs-fast-export

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

You can also use apt command to install cvs-fast-export.

sudo apt -y install cvs-fast-export

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

sudo aptitude install cvs-fast-export

Summary

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