it:debian:apt:postgresql
Различия
Показаны различия между двумя версиями страницы.
Следующая версия | Предыдущая версия | ||
it:debian:apt:postgresql [2019/12/23 12:03] – создано ura2404 | it:debian:apt:postgresql [2025/03/06 09:17] (текущий) – ura2404 | ||
---|---|---|---|
Строка 3: | Строка 3: | ||
https:// | https:// | ||
https:// | https:// | ||
+ | |||
+ | [[https:// | ||
**1. File / | **1. File / | ||
- | >--------------- On Buster 10.x --------------- | + | <code bash> |
- | >deb http:// | + | sudo sh -c 'echo "deb https:// |
- | >--------------- On Stretch 9.x --------------- | + | |
- | >deb http://apt.postgresql.org/pub/ | + | |
- | > | + | |
- | >deb http://apt.postgresql.org/pub/ | + | |
- | > | + | |
- | >deb http:// | + | |
+ | # | ||
+ | #deb http:// | ||
+ | # | ||
+ | #deb http:// | ||
+ | # | ||
+ | #deb http:// | ||
+ | # | ||
+ | #deb http:// | ||
+ | </ | ||
**2. Import the repository key from https:// | **2. Import the repository key from https:// | ||
- | + | <code> | |
- | > # sudo apt-get install curl ca-certificates gnupg | + | # sudo apt-get install curl ca-certificates gnupg |
- | > # curl https:// | + | # curl https:// |
- | > # sudo apt update | + | # sudo apt update |
+ | </ | ||
или | или | ||
- | > # sudo apt-get install wget ca-certificates gnupg | + | <code> |
- | > # wget --quiet -O - https:// | + | # sudo apt-get install wget ca-certificates gnupg |
- | > # sudo apt update | + | # wget --quiet -O - https:// |
- | > | + | # sudo apt update |
+ | </code> | ||
**3. ** | **3. ** | ||
+ | < | ||
+ | # apt install postgresql-9.5 | ||
+ | # apt install postgresql-9.6 | ||
+ | # apt install postgresql-10 | ||
+ | # apt install postgresql-11 | ||
+ | # apt install postgresql-12 | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Для Debian 10 (buster) | ||
+ | <code bash> | ||
+ | sudo sh -c 'echo "deb https:// | ||
+ | wget --quiet -O - https:// | ||
+ | sudo apt-get update | ||
+ | </ | ||
+ | |||
+ | |||
- | > # apt install postgresql-9.5 | ||
- | > # apt install postgresql-9.6 | ||
- | > # apt install postgresql-10 | ||
- | > # apt install postgresql-11 | ||
- | > # apt install postgresql-12 |
it/debian/apt/postgresql.1577102597.txt.gz · Последнее изменение: 2020/06/13 19:37 (внешнее изменение)