Installation on Ubuntu 7.10 Beta
1. Install required packages
sudo apt-get install build-essential subversion cmake sudo apt-get install libboost-graph* sudo apt-get install postgresql-8.2-postgis postgresql-server-dev-8.2
2. Compile pgRouting core (without extras)
svn checkout http://pgrouting.postlbs.org/svn/pgrouting/trunk pgrouting cd pgrouting/ cmake . make sudo make install
3. Setup PostgreSQL
Set local database connections to "trust" in "pg_hba.conf" to be able to work with PostgreSQL as user "postgres". Then restart PostgreSQL.
sudo gedit /etc/postgresql/8.2/main/pg_hba.conf sudo /etc/init.d/postgresql-8.2 restart
4. Create routing database
createdb -U postgres routing createlang -U postgres plpgsql routing # Add PostGIS functions psql -U postgres -f /usr/share/postgresql-8.2-postgis/lwpostgis.sql routing psql -U postgres -f /usr/share/postgresql-8.2-postgis/spatial_ref_sys.sql routing # Add pgRouting functions psql -U postgres -f /usr/share/postlbs/routing_core.sql routing psql -U postgres -f /usr/share/postlbs/routing_core_wrappers.sql routing psql -U postgres -f /usr/share/postlbs/routing_topology.sql routing