How to Uninstall and Install pgmodeler on Ubuntu 22.04

Updated: September 11, 2022

pgModeler is a GUI for modelling PostgreSQL databases. It is easy to use, allowing the creation and modification of database models with an intuitive interface. In this tutorial, I will show you ways to install pgmodeler Ubuntu 22.04.

Requirements to install

  • OS: pgmodeler needs Ubuntu 22.04 to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install pgmodeler on Ubuntu 22.04

Install pgmodeler Ubuntu 22.04

pgmodeler is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install pgmodeler using APT

This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these steps to get pgmodeler on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. You can now install pgmodeler Ubuntu by executing this command in the terminal.

sudo apt -y install pgmodeler

Install pgmodeler using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt-get install aptitude

After that, you can now install pgmodeler, just following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install pgmodeler Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude -y install pgmodeler

Uninstall pgmodeler on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a pgmodeler, can be easily uninstalled by anyone.

This command can be used to uninstall pgmodeler from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove pgmodeler

If you want to uninstall pgmodeler and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge pgmodeler


In this guide, I showed you ways to install pgmodeler on Ubuntu 22.04 and some ways to uninstall pgmodeler too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.