- Learning PostgreSQL 11
- Salahaldin Juba Andrey Volkov
- 106字
- 2021-07-02 13:11:45
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
推薦閱讀
- Getting Started with Citrix XenApp? 7.6
- Visual C++實例精通
- Python網絡爬蟲從入門到實踐(第2版)
- Building a Recommendation Engine with Scala
- Easy Web Development with WaveMaker
- PLC編程及應用實戰
- Flux Architecture
- C#程序設計
- 零基礎入門學習Python
- Linux Device Drivers Development
- Python編程實戰
- Learning Raspbian
- QGIS Python Programming Cookbook(Second Edition)
- Robot Framework Test Automation
- 深度學習入門:基于Python的理論與實現