How To Install subversion on Rocky Linux 8

In this tutorial we learn how to install subversion on Rocky Linux 8. subversion is A Modern Concurrent Version Control System

Introduction

In this tutorial we learn how to install subversion on Rocky Linux 8.

What is subversion

Subversion is a concurrent version control system which enables one or more users to collaborate in developing and maintaining a hierarchy of files and directories while keeping a history of all changes. Subversion only stores the differences between versions, instead of every complete file. Subversion is intended to be a compelling replacement for CVS.

We can use yum or dnf to install subversion on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install subversion.

Install subversion on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install subversion using dnf by running the following command:

sudo dnf -y install subversion

Install subversion on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install subversion using yum by running the following command:

sudo yum -y install subversion

How To Uninstall subversion on Rocky Linux 8

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

sudo dnf remove subversion

subversion Package Contents on Rocky Linux 8

/etc/subversion
/etc/sysconfig/svnserve
/run/svnserve
/usr/bin/svn
/usr/bin/svnadmin
/usr/bin/svndumpfilter
/usr/bin/svnfsfs
/usr/bin/svnlook
/usr/bin/svnrdump
/usr/bin/svnserve
/usr/bin/svnsync
/usr/bin/svnversion
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/3de6f58ad90b90180e7eebbf24d6d298b8bf17
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/32ba32c169a80a76bf9cf76a606d176fe47fbf
/usr/lib/.build-id/14
/usr/lib/.build-id/14/5395e20800c416ebd42f4af3f2471179f1c221
/usr/lib/.build-id/23
/usr/lib/.build-id/23/ea71dbdf6b1d574ec87559f1550c48e7a74581
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/996c823f82ec395fd2fc5b7d67fba05c84dd6c
/usr/lib/.build-id/43
/usr/lib/.build-id/43/be8836c47e481b93633a62c5f0607b0267e988
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/9d276354303c5edc06f508c33f228fefde2e66
/usr/lib/.build-id/53
/usr/lib/.build-id/53/2dae9ed61b81320cceef00e2465167da7d1881
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/69ded30fe1328ff9d8eaf25648e91a285c41c4
/usr/lib/.build-id/85
/usr/lib/.build-id/85/3b0eb656dbed821a4ed8e86cb740ed03780b16
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/f390e4c3a96ef1ed98c308358ed302929d23d8
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/943df277fe68d0b997fc80a7938b608f6cf99f
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/9912f1de88b2071b18df500e113d7806754811
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/fdc39f60d3b9fcd49bb56b6bca81772f3050a9
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/604426d0be390232aa8f2268c728077ea9ae89
/usr/lib/.build-id/de
/usr/lib/.build-id/de/8f9f4997812cf1e69cbb6a77c3c6b7f2ba8402
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/7a7d6d83ed806b6c7723501127cfbb77b70fd0
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/febde85a97c96f6a37db596ed42c3bbf221df1
/usr/lib/systemd/system/svnserve.service
/usr/lib/tmpfiles.d/svnserve.conf
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/svn
/usr/share/bash-completion/completions/svnadmin
/usr/share/bash-completion/completions/svndumpfilter
/usr/share/bash-completion/completions/svnlook
/usr/share/bash-completion/completions/svnsync
/usr/share/bash-completion/completions/svnversion
/usr/share/doc/subversion
/usr/share/doc/subversion/BUGS
/usr/share/doc/subversion/CHANGES
/usr/share/doc/subversion/COMMITTERS
/usr/share/doc/subversion/INSTALL
/usr/share/doc/subversion/README
/usr/share/doc/subversion/mod_authz_svn-INSTALL
/usr/share/emacs/site-lisp/psvn-init.el
/usr/share/emacs/site-lisp/psvn.el
/usr/share/licenses/subversion
/usr/share/licenses/subversion/LICENSE
/usr/share/licenses/subversion/NOTICE
/usr/share/locale/de/LC_MESSAGES/subversion.mo
/usr/share/locale/es/LC_MESSAGES/subversion.mo
/usr/share/locale/fr/LC_MESSAGES/subversion.mo
/usr/share/locale/it/LC_MESSAGES/subversion.mo
/usr/share/locale/ja/LC_MESSAGES/subversion.mo
/usr/share/locale/ko/LC_MESSAGES/subversion.mo
/usr/share/locale/nb/LC_MESSAGES/subversion.mo
/usr/share/locale/pl/LC_MESSAGES/subversion.mo
/usr/share/locale/pt_BR/LC_MESSAGES/subversion.mo
/usr/share/locale/sv/LC_MESSAGES/subversion.mo
/usr/share/locale/zh_CN/LC_MESSAGES/subversion.mo
/usr/share/locale/zh_TW/LC_MESSAGES/subversion.mo
/usr/share/man/man1/svn.1.gz
/usr/share/man/man1/svnadmin.1.gz
/usr/share/man/man1/svndumpfilter.1.gz
/usr/share/man/man1/svnlook.1.gz
/usr/share/man/man1/svnrdump.1.gz
/usr/share/man/man1/svnsync.1.gz
/usr/share/man/man1/svnversion.1.gz
/usr/share/man/man5/svnserve.conf.5.gz
/usr/share/man/man8/svnserve.8.gz
/usr/share/xemacs/site-packages/lisp/psvn.el

References

Summary

In this tutorial we learn how to install subversion on Rocky Linux 8 using yum and dnf.