JuangaCovas.info

La página personal de Juan Gabriel Covas

Herramientas de usuario

Herramientas del sitio


linux:howtos:build-svn-from-sources

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anterior Revisión previa
linux:howtos:build-svn-from-sources [02/11/2020 14:16]
Juanga Covas [CentOS 8 minimal: build SVN 1.14 from sources]
linux:howtos:build-svn-from-sources [19/09/2021 12:34] (actual)
Juanga Covas
Línea 1: Línea 1:
 ====== Build Subversion from sources for Linux RedHat, CentOS or Ubuntu, including svn 1.14 ====== ====== Build Subversion from sources for Linux RedHat, CentOS or Ubuntu, including svn 1.14 ======
  
--- By Juan Gabriel Covas - 2019 - 2020+-- By Juan Gabriel Covas - 2019 - 2021
  
-How to build Subversion / SVN from Sources, on CentOS 8, CentOS 7 or Ubuntu 18 / 19, so you can use the latest subversion version. This how-to is based on this blog post: [[http://blog.ashodnakashian.com/2012/11/building-subversion-on-ubuntu-12-10/|Building Subversion on Ubuntu 12.10]] but over time some changes have been made.+How to build Subversion / SVN from Sources, on CentOS 8, CentOS 7 or Ubuntu 18 / 19 / 20, so you can use the latest subversion version. This how-to is based on this blog post: [[http://blog.ashodnakashian.com/2012/11/building-subversion-on-ubuntu-12-10/|Building Subversion on Ubuntu 12.10]] but over time some changes have been made.
  
 **NOTE:** <wrap hi>This how-to is OK for a subversion client OR updating the binaries of a subversion SERVER that does NOT use Apache or any other stuff.</wrap> Since I'm only interested in ''svn+ssh'' protocol, it's fine for me. Anyway a subversion SERVER requires more setup if you want to use Apache, svn+ssh, etc. which is not the purpose of this document. You can check [[linux:howtos:svn-ssh-ubuntu|my notes on setup a subversion server for svn+ssh]] **NOTE:** <wrap hi>This how-to is OK for a subversion client OR updating the binaries of a subversion SERVER that does NOT use Apache or any other stuff.</wrap> Since I'm only interested in ''svn+ssh'' protocol, it's fine for me. Anyway a subversion SERVER requires more setup if you want to use Apache, svn+ssh, etc. which is not the purpose of this document. You can check [[linux:howtos:svn-ssh-ubuntu|my notes on setup a subversion server for svn+ssh]]
Línea 20: Línea 20:
 As non-root user: As non-root user:
   cd ~; mkdir src; cd src   cd ~; mkdir src; cd src
-  wget https://apache.brunneis.com/subversion/subversion-1.14.0.tar.gz +  wget https://dlcdn.apache.org/subversion/subversion-1.14.1.tar.gz 
-  tar xzf subversion-1.14.0.tar.gz +  tar xzf subversion-1.14.1.tar.gz 
-  cd subversion-1.14.0+  cd subversion-1.14.1
  
   ./get-deps.sh   ./get-deps.sh
Línea 61: Línea 61:
 We should have svn client there: We should have svn client there:
   $ svn --version --quiet   $ svn --version --quiet
-  1.14.0+  1.14.1
      
  
Línea 81: Línea 81:
 Installing subversion from sources: Installing subversion from sources:
   $ cd ~; mkdir src; cd src   $ cd ~; mkdir src; cd src
-  $ wget http://ftp.cixug.es/apache/subversion/subversion-1.14.0.tar.gz +  $ wget https://dlcdn.apache.org/subversion/subversion-1.14.1.tar.gz 
-  $ tar xzf subversion-1.14.0 +  $ tar xzf subversion-1.14.1 
-  $ cd subversion-1.14.0+  $ cd subversion-1.14.1
   $ ./get-deps.sh   $ ./get-deps.sh
      
Línea 106: Línea 106:
 Check version: Check version:
   # svn --version --quiet   # svn --version --quiet
-  1.14.0+  1.14.1
  
 Also be sure to check the final notes at the page bottom, when you need to re-compile a newer version of SVN. Also be sure to check the final notes at the page bottom, when you need to re-compile a newer version of SVN.
Línea 128: Línea 128:
 Download subversion sources: Download subversion sources:
   # cd ~; mkdir src; cd src   # cd ~; mkdir src; cd src
-  # wget http://ftp.cixug.es/apache/subversion/subversion-1.14.0.tar.gz+  # wget https://dlcdn.apache.org/subversion/subversion-1.14.1.tar.gz
   # tar xvzf subversion-*   # tar xvzf subversion-*
-  # cd subversion-1.14.0+  # cd subversion-1.14.1
 Going to compile and install subversion from sources on Ubuntu: Going to compile and install subversion from sources on Ubuntu:
   # ./get-deps.sh apr serf zlib sqlite   # ./get-deps.sh apr serf zlib sqlite
Línea 150: Línea 150:
 Then it works: Then it works:
   # svn --version --quiet   # svn --version --quiet
-  1.14.0+  1.14.1
  
  
linux/howtos/build-svn-from-sources.txt · Última modificación: 19/09/2021 12:34 por Juanga Covas