Autor Tópico: Como instalar o postgresql no ubuntu?  (Lida 334 vezes)

Offline professorcoriolano

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Como instalar o postgresql no ubuntu?
« Online: 28 de Fevereiro de 2024, 23:49 »
Olá, estou tentando instalar no ubuntu o banco de dados postgresql. Essa é a saida após digitar o comando abaixo. Na verdade pelo que percebo não está encontrando o compilador c no path. Como resolver?

root@lucivando-Lenovo-G40-70:/home/lucivando/Downloads/postgresql-16.2# ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking which template to use... linux
checking whether NLS is wanted... no
checking for default port number... 5432
checking for block size... 8kB
checking for segment size... 1GB
checking for WAL block size... 8kB
checking for gcc... no
checking for cc... no
configure: error: in `/home/lucivando/Downloads/postgresql-16.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details