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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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. fail2ban-client Command Examples in Linux
  2. lslocks Command Examples in Linux
  3. fstrim: command not found
  4. uname: command not found
  5. tomb Command Examples in Linux
  6. ipset Command Examples in Linux
  7. mcopy Command in Linux
  8. How To Retain Current And Older Linux Packages While Doing Update With ‘yum’ Command
  9. GoBuster: command not found
  10. “polkit code=exited status=1/FAILURE” – PolicyKit Failing to Start in CentOS/RHEL 7 and 8

You May Also Like

Primary Sidebar

Recent Posts

  • aws ec2: CLI for AWS EC2 (Command Examples)
  • aws cur – Create, query, and delete AWS usage report definitions (Command Examples)
  • aws configure – Manage configuration for the AWS CLI (Command Examples)
  • aws cognito-idp: Manage Amazon Cognito user pool and its users and groups using the CLI

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright