PostgreSQL 10 Elementary OS Installation Guide
Hello Elementary OS User! The Tutorial shows you Step-by-Step How to Install PostgreSQL 10 on Elementary OS GNU/Linux.
And PostgreSQL 10 for Elementary OS is a Major Release that contains several substantial Changes and Improvements.
Moreover, PostgreSQL 10 contains a number of Extensive Changes that May affect Compatibility with Previous Releases.
Especially relevant: A dump/restore using pg_dumpall, or use of pg_upgrade, is Required for those wishing to Migrate Data from PostgreSQL 9 and Below.

Open a Terminal Shell emulator window
(Press “Enter” to Execute Commands)
Search into Apps.