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

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 the Ubuntu operating system.

As stated earlier, recent PostgreSQL binaries might not yet be integrated with the official Debian and Ubuntu repositories. To set up the PostgreSQL apt repository on Debian or Ubuntu, 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's good to upgrade your system as follows:

sudo apt-get upgrade
主站蜘蛛池模板: 牟定县| 藁城市| 宜阳县| 县级市| 阜宁县| 乌兰县| 灵宝市| 玛多县| 乾安县| 益阳市| 涞水县| 上犹县| 张掖市| 太谷县| 明光市| 剑阁县| 芷江| 大化| 英超| 宁陕县| 乌鲁木齐市| 大连市| 鹤岗市| 庄河市| 皮山县| 镇巴县| 海口市| 余江县| 阿拉善右旗| 上栗县| 德江县| 三门峡市| 雅安市| 安福县| 白银市| 临桂县| 梅河口市| 沙雅县| 博爱县| 通州区| 海宁市|