git-cvsserver command not found

In this troubleshooting guide we learn how to fix git-cvsserver command not found error message

Introduction

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

git-cvsserver: command not found

or when using sudo you get the following error message

sudo: git-cvsserver: command not found

Solutions to git-cvsserver: command not found

How To Fix git-cvsserver: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu git-cvsserver is provided by git-cvs package.

git-cvs is:

Git is popular version control system designed to handle very large projects with speed and efficiency; it is used for many high profile open source projects, most notably the Linux kernel.

Git falls in the category of distributed source code management tools. Every Git working directory is a full-fledged repository with full revision tracking capabilities, not dependent on network access or a central server.

This package provides the git cvsimport, cvsexportcommit, and cvsserver tools, which allow Git to read from and write to CVS repositories and offer access over CVS protocol to Git repositories.

The git cvsimport tool can incrementally import from a repository that is being actively developed and only requires remote access over CVS protocol. Unfortunately, in many situations the import leads to incorrect results. For reliable, one-shot imports, cvs2git from the cvs2svn package or parsecvs may be a better fit.

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

sudo apt-get -y install git-cvs

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

You can also use apt command to install git-cvs.

sudo apt -y install git-cvs

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

sudo aptitude install git-cvs

Summary

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