Installazione di Subversion

Subversion is built on a portability layer called APR—the Apache Portable Runtime library. The APR library provides all the interfaces that Subversion needs to function on different operating systems: disk access, network access, memory management, and so on. While Subversion is able to use Apache as one of its network server programs, its dependence on APR does not mean that Apache is a required component. APR is a standalone library useable by any application. It does mean, however, that like Apache, Subversion clients and servers run on any operating system that the Apache httpd server runs on: Windows, Linux, all flavors of BSD, Mac OS X, Netware, and others.

Subversion è costruito su uno strato portabile chiamato APR— la libreria Apache Portable Runtime. La libreria APR fornisce tutte le interfaccie per le funzioni richieste da Subversion per funzionare su diversi sistemi operativi: l'accesso al disco, alla rete, la gestione della memoria e così via. Anche se Subversion è in grado di utilizzare Apache come uno dei possibili componenti lato server, la sua dipendenza da APR non significa che Apache sia un componente rihiesto per funzionare. Significa, comunque, che come Apache, i client ed i server di Subversion funzionano su ogni sistema operativo sul quale gira il server httpd Apache: Windows, Linux, tutte le varianti di BSD, MAc OS X, Netware ed altri.

The easiest way to get Subversion is to download a binary package built for your operating system. Subversion's website (http://subversion.tigris.org) often has these packages available for download, posted by volunteers. The site usually contains graphical installer packages for users of Microsoft operating systems. If you run a Unix-like operating system, you can use your system's native package distribution system (RPMs, DEBs, the ports tree, etc.) to get Subversion.

Il modo più facile per ottenere Subversion è scaricare il pacchetto di eseguibili già pronto per il vostro sistema operativo. Il sito web di Subversion (http://subversion.tigris.org) rende disponibili questi pacchetti, preparati ed inviati da volontari. Il sito normalmente contiene pacchetti d'installazione grafici per gli utenti dei sistemi operativi Microsoft. Se siete utenti di un sistema operativo di tipo Unix, per ottenere Subversion potete utilizzare i sistemi di distribuzione nativi per il vostro sistema (RPMs. DEBs, ports tree, etc.).

Alternately, you can build Subversion directly from source code. From the Subversion website, download the latest source-code release. After unpacking it, follow the instructions in the INSTALL file to build it. Note that a released source package contains everything you need to build a command-line client capable of talking to a remote repository (in particular, the apr, apr-util, and neon libraries). But optional portions of Subversion have many other dependencies, such as Berkeley DB and possibly Apache httpd. If you want to do a complete build, make sure you have all of the packages documented in the INSTALL file. If you plan to work on Subversion itself, you can use your client program to grab the latest, bleeding-edge source code. This is documented in sezione chiamata «Prendere il codice sorgente».

Come alternativa, si può costruire Subversion direttamente dai codici sorgenti. Scaricate l'ultima release del codice sorgente dal sito web di Subversion. Dopo averlo spacchettato, seguite le istruzioni contenute nel file INSTALL per costruirlo. Da notare che un pacchetto di sorgenti rilasciato, contiene tutto ciò di cui si necessiti per costruire un client a linea di comando in grado di parlare con un repository remoto (in particolare, apr, apr-util, e le librerie neon). Ma parti opzionali di Subversion hanno molte altre dipendenze, come il DB Berkeley ed anche Apace httpd. Se volete realizzare una costruzione completa, siate sicuri di avere tutti i pacchetti descritti nel file INSTALL. Se avete intenzione di lavorare su Subversion stesso, potete utilizzare il client per ottenere l'ultima copia dei sorgenti allineata con la frontiera degli sviluppi. Ciò è documentato in sezione chiamata «Prendere il codice sorgente».