Information about the package, postgresql-server, which is shipped with common Linux distributions. The postgresql-server package is designed for, The programs needed to create and run a PostgreSQL server.
Package Name:
postgresql-server
Summary:
The programs needed to create and run a PostgreSQL server
Description:
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. PostgreSQL is an advanced Object-Relational database management system (DBMS) that supports almost all SQL constructs (including transactions, subselects and user-defined types and functions). 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.
Architecture:
x86_64
Version:
8.4.20
Release:
8.el6_9
Size:
3.4 M
Repository:
updates
From Repository:
Licence:
PostgreSQL
Control the postgresql-server package with the following handy commands outlined below.
yum install postgresql-server
This command will install postgresql-server on the server.
yum remove postgresql-server
This command will un-install postgresql-server on the server. When you run this command, you will be asked if you are sure that you want to remove postgresql-server, so you have to manually confirm that you want to do this.
yum -y remove postgresql-server
This command will un-install postgresql-server on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove postgresql-server when using the -y flag.
yum update postgresql-server
This command will update postgresql-server to the latest version. When you run this command, you will be asked if you are sure that you want to remove postgresql-server, so you have to manually confirm that you want to do this.
yum -y update postgresql-server
This command will update postgresql-server to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove postgresql-server when using the -y flag.
yum info postgresql-server
This command will show you core information about the postgresql-server package.
yum deplist postgresql-server
This command will show you the dependencies for postgresql-server. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update postgresql-server
This command will check if there is an update waiting on postgresql-server. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.