- Learning PostgreSQL 10(Second Edition)
- Salahaldin Juba Andrey Volkov
- 108字
- 2021-07-02 22:42:09
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
推薦閱讀
- 智能傳感器技術與應用
- 三菱FX3U/5U PLC從入門到精通
- 輕松學C#
- 西門子PLC與InTouch綜合應用
- Dreamweaver CS3網頁設計50例
- Learning Social Media Analytics with R
- Maya 2012從入門到精通
- 激光選區熔化3D打印技術
- Hands-On Reactive Programming with Reactor
- 手機游戲程序開發
- Excel 2010函數與公式速查手冊
- INSTANT VMware vCloud Starter
- Mastering OpenStack(Second Edition)
- 手把手教你學Photoshop CS3
- 計算機應用基礎實訓·職業模塊