How to install subversion in CentOS
This article is about how to install subversion in CentOS. Xiaobian thinks it is very practical, so share it with everyone to learn. I hope you can gain something after reading this article. Let's not say much. Let's take a look at it together with Xiaobian.
1. First, download the subversion installation package
Path: subversion.apache.org/download/#recommended-release
Then, extract, compile, install, the following error message appears.
configure: Apache Portable Runtime (APR) library configuration
checking for APR... no
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and configure Subversion
with the appropriate --with-apr option.
You probably need to do something similar with the Apache
Portable Runtime Utility (APRUTIL) library and then configure
Subversion with both the --with-apr and --with-apr-util options.
configure: error: no suitable APR found
Then download apr-1.5.1.tar.gz , unzip it, cd it to the installation directory, and execute./ configure,。
cannot remove `libtoolT': No such file or directory
Solution: Edit the configure file, look for $RM "$cfgfile", comment it out with #, and recompile the installation.
2. Then install apr and apr-util
This is an apache project, the full name is Apache Portable Runtime we installed version 1.5.1,
Below is the download address http://apr.apache.org/
Install apr first, unzip first, then cd to installation directory
./ configure
make
make install
If you don't specify the path when configuring here, the default installation is under/usr/local/
Then install apr-util extract the same apr and cd to the installation directory
./ configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/
make
make install
The above is how to install subversion in CentOS, Xiaobian believes that some knowledge points may be seen or used in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.