How to Install and Uninstall postgresql Package on Kali Linux

Last updated: April 29,2024

1. Install "postgresql" package

Please follow the instructions below to install postgresql on Kali Linux

$ sudo apt update $ sudo apt install postgresql

2. Uninstall "postgresql" package

This tutorial shows how to uninstall postgresql on Kali Linux:

$ sudo apt remove postgresql $ sudo apt autoclean && sudo apt autoremove

3. Information about the postgresql package on Kali Linux

Package: postgresql
Source: postgresql-common (257)
Version: 16+257
Installed-Size: 17
Maintainer: Debian PostgreSQL Maintainers
Architecture: all
Depends: postgresql-16
Suggests: postgresql-doc
Size: 11564
SHA256: 84fac17a9ae6a07f61f429be888214fe0bda223eb8363b42df89c7c3ff604ac7
SHA1: f67e368a0f933ef1aef4904b7e5888037d5b80ad
MD5sum: 7c9a4191cf2637e03dd07f02b80f40e6
Description: object-relational SQL database (supported version)
This metapackage always depends on the currently supported PostgreSQL
database server version.
.
PostgreSQL is a fully featured object-relational database management
system. It supports a large part of the SQL standard and is designed
to be extensible by users in many aspects. Some of the features are:
ACID transactions, foreign keys, views, sequences, subqueries,
triggers, user-defined types and functions, outer joins, multiversion
concurrency control. Graphical user interfaces and bindings for many
programming languages are available as well.
Description-md5:
Tag: devel::lang:sql, interface::daemon, network::server, network::service,
role::metapackage, role::program, suite::postgresql, works-with::db
Section: database
Priority: optional
Filename: pool/main/p/postgresql-common/postgresql_16+257_all.deb