How To Install git-svn on Ubuntu 20.04

In this tutorial we learn how to install git-svn on Ubuntu 20.04. git-svn is fast, scalable, distributed revision control system (svn interoperability) fast, scalable, distributed revision control system (svn interoperability)

Introduction

In this tutorial we learn how to install git-svn on Ubuntu 20.04.

What is git-svn

git-svn 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 tools for interoperating with Subversion repositories, and importing SVN development history.

Package: git-svn Architecture: all Version: 1:2.25.1-1ubuntu3 Multi-Arch: foreign Priority: optional Section: universe/devel Source: git Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Jonathan Nieder [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1098 Depends: git (» 1:2.25.1), git (« 1:2.25.1-.), libsvn-perl, libyaml-perl, libterm-readkey-perl Suggests: git-doc, subversion Breaks: git (« 1:1.8.3~rc1-1.) Replaces: git (« 1:1.8.3~rc1-1.) Filename: pool/universe/g/git/git-svn_2.25.1-1ubuntu3_all.deb Size: 81112 MD5sum: 618d86a30ad07a55337caf7ed9739a65 SHA1: 211f6647518dfff37eca4165c77fab51d00d4cd0 SHA256: b4017dfd210b8c1728d31197775a828d2d906f632898288cdd9aa674c3f20ce0 Homepage: https://git-scm.com/ Description-en: fast, scalable, distributed revision control system (svn interoperability) 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 tools for interoperating with Subversion repositories, and importing SVN development history.

There are three methods to install git-svn 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 git-svn Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install git-svn

Install git-svn Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install git-svn

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

sudo aptitude -y install git-svn

How To Uninstall git-svn on Ubuntu 20.04

To uninstall only the git-svn package we can use the following command:

sudo apt-get remove git-svn

Uninstall git-svn And Its Dependencies

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

sudo apt-get -y autoremove git-svn

Remove git-svn Configurations and Data

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

sudo apt-get -y purge git-svn

Remove git-svn configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge git-svn

References

Summary

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