How To Install subversion-tools on Ubuntu 20.04

In this tutorial we learn how to install subversion-tools on Ubuntu 20.04. subversion-tools is Assorted tools related to Apache Subversion

Introduction

In this tutorial we learn how to install subversion-tools on Ubuntu 20.04.

What is subversion-tools

subversion-tools is:

This package includes miscellaneous tools for use with Apache Subversion clients and servers:

  • svn-backup-dumps: Incremental dumpfile-based backup script
  • svn-bisect: Bisect revisions to find a regression
  • svn-clean: Remove unversioned files from a working copy
  • svn-hot-backup: Backup script, primarily for BDB repositories
  • svn_apply_autoprops: Apply property settings from .subversion/config file to an existing repository
  • svn_load_dirs: Sophisticated replacement for ‘svn import’
  • svnwrap: Set umask to 002 before calling svn or svnserve
  • fsfs-access-map: Convert strace output into FSFS access map
  • several example hook scripts: commit-access-control, commit-email, log-police, mailer, svnperms, verify-po

NOTE that some of these scripts are unsupported by upstream, and may change radically or disappear in future releases. Some of these scripts require packages on the Recommends list.

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

Install subversion-tools Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install subversion-tools

Install subversion-tools Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install subversion-tools

Install subversion-tools 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install subversion-tools

How To Uninstall subversion-tools on Ubuntu 20.04

To uninstall only the subversion-tools package we can use the following command:

sudo apt-get remove subversion-tools

Uninstall subversion-tools And Its Dependencies

To uninstall subversion-tools and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove subversion-tools

Remove subversion-tools Configurations and Data

To remove subversion-tools configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge subversion-tools

Remove subversion-tools configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge subversion-tools

References

Summary

In this tutorial we learn how to install subversion-tools package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.