GNU/Linux >> Tutoriels Linux >  >> Ubuntu

Impossible d'installer Postgresql-10 sur Ubuntu 16.04 ?

E: Unable to locate package postgresql-10

Réponse acceptée :

Je suppose que le référentiel Postgresql apt n'a pas été ajouté.

Ajouter le référentiel PostgreSQL apt

echo 'deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main' >> /etc/apt/sources.list.d/pgdg.list

Importez la clé de signature du référentiel et mettez à jour les listes de packages

wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

Installer PostgreSQL

  sudo apt-get update
  sudo apt-get install postgresql-10

réf


Ubuntu
  1. Comment installer PostgreSQL sur Ubuntu 18.04

  2. Comment installer Postgresql et phpPgAdmin sur Ubuntu 15.04

  3. Installer PostgreSQL sur Ubuntu :un guide facile à suivre

  4. Impossible d'installer Thesql 5.7 sur Ubuntu 20.04 ?

  5. Impossible d'installer Mariadb sur Ubuntu 20.04 ?

Comment installer TimescaleDB sur Ubuntu 20.04

Comment installer PostgreSQL sur Ubuntu 14.04

Comment installer PostgreSQL sur Ubuntu 15.04

Comment installer PostgreSQL sur Ubuntu 16.04

Comment installer PostgreSQL sur Ubuntu 20.04 LTS

Comment installer PostgreSQL sur Ubuntu 22.04