自学内容网 自学内容网

在Debian and Ubuntu上安装pgRouting

1、查看系统类型

lsb_release -cs

2、追加资源库列表

sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

3、导入资源库的KEY,更新库列表

sudo apt install wget ca-certificates
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt update

4、基于安装的postgresql安装pgrouting

sudo apt install postgresql-12-pgrouting

5、安装需要的依赖包,譬如postgresql或者postgis等

sudo apt-get update && sudo apt-get upgrade

原文地址:https://blog.csdn.net/yhj_911/article/details/143067452

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!