Install PostgreSQL 10 Linux Mint
Hi! The Tutorial shows you Step-by-Step How to Install PostgreSQL 10 on Linux Mint 17.x Qiana/Rafaela/Rebecca/Rosa LTS GNU/Linux.
And PostgreSQL 10 for Linux Mint 17 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 Shell Terminal emulator window
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
How to Add PostgreSQL 10 Linux Mint Apt Repository
Finally, to Install PostgreSQL 10 for Linux Mint.
sudo apt install postgresql-10
If Got “User is Not in Sudoers file” then see: How to Enable sudo
How to Getting-Started with PostgreSQL 10 Admin