官术网_书友最值得收藏!

Installing PostgreSQL using Advanced Package Tool

Advanced Package Tool (APT) is used to handle the installation and removal of software on Debian and Debian-based distributions such as Ubuntu operating system.

As has been stated earlier, recent PostgreSQL binaries might not yet be integrated with the official Debian and Ubuntu repositories. To setup PostgreSQL apt repository on Debian or Ubuntu one can execute the following:

$sudo sh -c 'echo "deb http://apt.PostgreSQL.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
$wget --quiet -O - https://www.PostgreSQL.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
$sudo apt-get update

After adding a new apt repository, it is good to upgrade your system as follows:

$sudo apt-get upgrade
主站蜘蛛池模板: 革吉县| 铜梁县| 辉县市| 特克斯县| 蛟河市| 林芝县| 天津市| 平顺县| 中西区| 沧源| 北辰区| 芷江| 迁西县| 南和县| 高碑店市| 大安市| 开原市| 武安市| 皮山县| 临高县| 福建省| 喀喇沁旗| 兰西县| 黄梅县| 福州市| 博客| 定安县| 法库县| 玛多县| 大渡口区| 扶沟县| 泰州市| 福泉市| 正镶白旗| 开平市| 略阳县| 公主岭市| 深水埗区| 宝鸡市| 萝北县| 株洲县|