postgresql on debian 10 code example Example: install postgresql 12 on debian 10 sudo apt update sudo apt -y install postgresql-12 postgresql-client-12