About Lesson
Please follow the steps provided in the below url.
https://postgreshelp.com/postgresql-10-install-in-linux/
Which RPM for what purpose
postgresql-libs | The postgresql-libs package provides the essential shared libraries for any PostgreSQL client program or interface. You will need to install this package to use any other PostgreSQL package or any clients that need to connect to a PostgreSQL server. |
postgresql | If you want to manipulate a PostgreSQL database on a local or remote PostgreSQL server, you need this package. You also need to install this package if you’re installing the postgresql-server package. |
postgresql-contrib | The postgresql-contrib package contains contributed packages that are included in the PostgreSQL distribution. |
postgresql-devel | The postgresql-devel package contains the header files and libraries needed to compile C or C++ applications which will directly interact with a PostgreSQL database management server and the ecpg Embedded C Postgres preprocessor. You need to install this package if you want to develop applications which will interact with a PostgreSQL server. |
postgresql-docs | The postgresql-docs package includes the SGML source for the documentation as well as the documentation in PDF format and some extra documentation. Install this package if you want to help with the PostgreSQL documentation project, or if you want to generate printed documentation. |
postgresql-server | The postgresql-server package includes the programs needed to create and run a PostgreSQL server, which will in turn allow you to create and maintain PostgreSQL databases. You should install postgresql-server if you want to create and maintain your own PostgreSQL databases and/or your own PostgreSQL server. You also need to install the postgresql package and its requirements. |
postgresql-tcl | The postgresql-tcl package contains the Pgtcl client library and its documentation. |
postgresql-jdbc | The postgresql-jdbc package includes the .jar files needed for Java programs to access a PostgreSQL database. |
postgresql-plperl | The postgresql-plperl package contains the the PL/Perl procedural language for the backend. PL/pgSQL is part of the core server package. |
postgresql-pltcl | The postgresql-plperl package contains PL/Tcl procedural language for the backend. PL/pgSQL is part of the core server package. |
Important rpm’s are marked in bold