How To Install svn-all-fast-export on Debian 9

In this tutorial we learn how to install svn-all-fast-export on Debian 9. svn-all-fast-export is fast-import based converter to convert repos from Subversion to git

Introduction

In this tutorial we learn how to install svn-all-fast-export on Debian 9.

What is svn-all-fast-export

svn-all-fast-export is:

svn-all-fast-export is a tool to convert Subversion repositories to git.

This tool takes a copy of the Subversion repository (not just a checkout) plus a rules file that specifies how the conversion should be performed and produces a bare git repository. Using regular expressions, the rules file specifies how the Subversion branches and tags should be created in the git repository. Example rule files are included in /usr/share/doc/svn-all-fast-export/examples

An authors file that maps the old svn accounts to the full authors names and email addresses can also be provided to make the history look much prettier.

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

Install svn-all-fast-export Using apt-get

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

sudo apt-get update

After updating apt database, We can install svn-all-fast-export using apt-get by running the following command:

sudo apt-get -y install svn-all-fast-export

Install svn-all-fast-export Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install svn-all-fast-export using apt by running the following command:

sudo apt -y install svn-all-fast-export

Install svn-all-fast-export 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 svn-all-fast-export using aptitude by running the following command:

sudo aptitude -y install svn-all-fast-export

How To Uninstall svn-all-fast-export on Debian 9

To uninstall only the svn-all-fast-export package we can use the following command:

sudo apt-get remove svn-all-fast-export

Uninstall svn-all-fast-export And Its Dependencies

To uninstall svn-all-fast-export and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove svn-all-fast-export

Remove svn-all-fast-export Configurations and Data

To remove svn-all-fast-export configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge svn-all-fast-export

Remove svn-all-fast-export configuration, data, and all of its dependencies

We can use the following command to remove svn-all-fast-export configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge svn-all-fast-export

Dependencies

svn-all-fast-export have the following dependencies:

References

Summary

In this tutorial we learn how to install svn-all-fast-export package on Debian 9 using different package management tools: apt, apt-get and aptitude.