Ĭreating config file /etc/default/sysstat with new version Setting up libtypes-serialiser-perl (1.0-1). Setting up libcommon-sense-perl (3.75-1build2). Selecting previously unselected package sysstat. Selecting previously unselected package postgresql-12. Īdding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by post Selecting previously unselected package postgresql-common. Selecting previously unselected package postgresql-client-12. Unpacking postgresql-client-common (226.pgdg20.10+1). Selecting previously unselected package postgresql-client-common. Selecting previously unselected package pgdg-keyring. Selecting previously unselected package libpq5:amd64. Unpacking libjson-xs-perl (4.020-1build1). Selecting previously unselected package libjson-xs-perl. Unpacking libtypes-serialiser-perl (1.0-1). Selecting previously unselected package libtypes-serialiser-perl. Selecting previously unselected package libjson-perl. Unpacking libcommon-sense-perl (3.75-1build2). 192977 files and directories currently installed.) Selecting previously unselected package libcommon-sense-perl. Get:10 groovy-pgdg/main amd64 postgresql-common all 226.pgdg20.10+1 Get:9 groovy/main amd64 sysstat amd64 12.4.0-1 Get:7 groovy/main amd64 libjson-xs-perl amd64 4.020-1build1 Get:6 groovy/main amd64 libtypes-serialiser-perl all 1.0-1 Get:5 groovy-pgdg/main amd64 postgresql-client-common all 226.pgdg20.10+1 Get:4 groovy-pgdg/main amd64 pgdg-keyring all 2018.2 Get:3 groovy/main amd64 libjson-perl all 4.02000-2 Get:2 groovy/main amd64 libcommon-sense-perl amd64 3.75-1build2 Postgresql-client-common postgresql-common sysstatĠ upgraded, 11 newly installed, 0 to remove and 212 not upgraded.Īfter this operation, 59.4 MB of additional disk space will be used. Libtypes-serialiser-perl pgdg-keyring postgresql-12 postgresql-client-12 The following NEW packages will be installed: Libtypes-serialiser-perl pgdg-keyring postgresql-client-common Libcommon-sense-perl libjson-perl libjson-xs-perl libpq5 The following additional packages will be installed: Sample Output: sudo apt -y install postgresql-12 postgresql-client-12 We can now proceed to install PostgreSQL 12 using the following command: sudo apt update sudo apt -y install postgresql-12 postgresql-client-12 The following package was automatically installed and is no longer required:Ġ upgraded, 0 newly installed, 0 to remove and 212 not 3: Add PostgreSQL 12 repository wget -quiet -O - | sudo apt-key add - echo "deb `lsb_release -cs`-pgdg main" |sudo tee /etc/apt//pgdg.list Step 4: Install PostgreSQL 12 on Ubuntu ![]() Wget is already the newest version (1.20.3-1ubuntu1). Vim is already the newest version (2:-3ubuntu2). Sample Output: sudo apt -y install vim bash-completion wgetīash-completion is already the newest version (1:2.11-2ubuntu1). If the package is already installed then you will get the below output, you can ignore it. Open a terminal and type the following command: sudo apt update Step 2: Install the required package sudo apt -y install vim bash-completion wget To start the installation process, let’s ensure that the package list is up to date. ![]() It is always recommended to update the system before installing PostgreSQL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |