How To Install subversion on CentOS 8
Introduction
In this tutorial we learn how to install subversion
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install subversion.
Install subversion on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install subversion
using dnf
by running the following command:
sudo dnf -y install subversion
Install subversion on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the subversion
package we can use the following command:
sudo dnf remove subversion
subversion Package Contents on CentOS 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/08
/usr/lib/.build-id/08/fa5c411a85136ec72ba1d9ec42e9bfcc7bbf74
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/f70acee7290c72f91eeb1e766dbc3718b3d5e4
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/ae995580358d682a82c3deaf9e5f527b0bafdd
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/7d2a69923aaeb36e9a99244de1a93b69ad846e
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/d6c4fe1a58657780b539671aade9e285029458
/usr/lib/.build-id/64
/usr/lib/.build-id/64/569ac36c4b6c205da8b2b76adf2ffe1ac1063d
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/3a1baa5d79a731e4f0f09d29ef50fa3e002ac7
/usr/lib/.build-id/84
/usr/lib/.build-id/84/17262107bcb8c9e33d86576795914a15b7e4f6
/usr/lib/.build-id/92
/usr/lib/.build-id/92/0a69543a893ab17895cdd81e4a9eaf62000190
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/ff0aa1fe7ded751c6a5ad27eae69975fede01e
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/641a8d63c1d07ac271d0cb2325b6ff962b1ed0
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/ddff8deae8f28f43d62bba296a356d71b08863
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/e6063ed499db7073e84440cccd139cc4bb939b
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/40f5f7e2a8d352d62aa2456cf6d657bfd23cf9
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/05934fc32792d2c3ca816d9d8531d6eeb3fda8
/usr/lib/.build-id/c1/9c458fd364c6038a46285a75b715240c6d166a
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/3c8ff238568365e5cf611d4cd59859cfcea6a5
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/9f840749b5d1f889cb147957b2a0e34c4e8851
/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 CentOS 8 using yum and dnf.