Use apt-get in Ubuntu12.04 to install apt-get in version 1.6. To install apt-get in version 1.7, go to the official website of subversion to download the latest version of release: The downloaded file name is subversion-1.7.4.tar.gz. /configure, an error message is displayed, indicating that APR (ApachePortableRuntime (APR) is not installed.
The current version of apt-get installed in Ubuntu 12.04 is 1.6. The installation process is as follows:
Download the latest version of current release to the official website of subversion: Download file name for subversion-1.7.4.tar.gz
If you want to install./configure on your own, you will encounter an error message: although you do not know the installation of APR (Apache Portable Runtime (APR), the installation process is indispensable. Download
Unix Source: apr-1.4.6.tar.gz and
Unix Source: apr-util-1.4.1.tar.gz back to separate, install (./configure, make, make install)
When -- with-apr is input, the -- with-apr =/usr/local/apr parameter is added. When -- with-apr-util is input, add the parameter -- with-apr-util =/usr/local/par/bin.
An error message is reported, indicating that sqllite must be installed and sqlite-autoconf-3071100.tar.gz must be downloaded. installation is the same as installation (./configure, make, sudo make install)
Error: subversion requires zlib →
Download zlib-1.2.6.tar.gz
Tar-xvzf zlib-1.2.5.tar.gz
Cd zlib-1.2.5
(Make, sudo make install)
After installation, run the subversion command again:
./Configure -- prefix =/usr/local/zlib
./Configure -- with-apr =/usr/local/apr -- with-apr-util =/usr/local/apr/bin -- with-zlib =/usr/local/zlib
Appears. WARNING: configure: WARNING: we have configured without BDB filesystem support
......
You don't seem to have Berkeley DB version 4.0.14 or newer
......
Download Berkeley DB 5.3.15 for Linux: db-5.3.15.tar.gz
After the installation, subversion./configure has finally passed.
The last step is to manually install the subversion.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2