• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to uninstall postgresql-client-common software package in Ubuntu

by admin

postgresql-client-common is a software package available in Ubuntu that provides common files and utilities for PostgreSQL client applications. PostgreSQL is a popular open-source relational database management system that is widely used for web applications, data analytics, and other use cases. In Ubuntu, the postgresql-client-common package is installed by default when you install the postgresql-client package.

The postgresql-client-common package contains the following files and utilities that are used by PostgreSQL client applications:

  • /usr/share/postgresql-common/pg_wrapper: A wrapper script that helps to simplify the process of invoking PostgreSQL client applications.
  • /usr/share/postgresql-common/pg_service.conf: A configuration file that defines PostgreSQL database services that can be accessed by client applications.
  • /usr/share/postgresql-common/pg_config and /usr/share/postgresql-common/pg_config_manual.txt: These files contain information about the PostgreSQL installation and can be used by client applications to compile PostgreSQL extensions.

The postgresql-client-common package does not contain the actual PostgreSQL database server or client libraries. Instead, it provides the common files and utilities that are shared by multiple PostgreSQL client applications.

Uninstalling postgresql-client-common package in Ubuntu

You can uninstall an installed postgresql-client-common package from Ubuntu using the below command:

$ sudo apt-get remove postgresql-client-common 

Uninstall postgresql-client-common including dependent package

If you would like to remove postgresql-client-common and it’s dependent packages which are no longer needed from Ubuntu:

$ sudo apt-get remove --auto-remove postgresql-client-common 

Use Purging postgresql-client-common

If you use with purge options to postgresql-client-common package all the configuration and dependent packages will be removed.

$ sudo apt-get purge postgresql-client-common 

If you use purge options along with auto remove, will be removed everything regarding the package, It’s really useful when you want to reinstall again.

$ sudo apt-get purge --auto-remove postgresql-client-common 

Summary

In summary, postgresql-client-common is a useful package for developers and administrators who work with PostgreSQL client applications in Ubuntu. It provides a set of common files and utilities that can simplify the process of developing and managing PostgreSQL databases.

Filed Under: Linux

Some more articles you might also be interested in …

  1. What is the difference between insmod and modprobe
  2. chronyc Command Examples in Linux
  3. drush: A command-line shell and scripting interface for Drupal
  4. man Command Examples in Linux
  5. disown Command Examples in Linux
  6. dockerd Command Examples in Linux
  7. ledctl Command Examples in Linux
  8. adig Command Examples in Linux
  9. update-rc.d: command not found
  10. jobs Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright