To completely remove or uninstall Postman on Ubuntu, there are 2 methods available for the same, firstly you can use the sudo snap remove Postman command on the terminal and secondly, you can use the Ubuntu Software Center.
How to Uninstall Postman on Ubuntu 22.04
Here are two options to completely remove Postman on ubuntu 22.04:
Option 1: Remove Postman From Terminal
This is the first and easiest way to remove Postman from an Ubuntu system via terminal or command line using some snap and appropriate commands:
Step 1: Open Terminal
Press ctrl+alt+t on keyboard to start terminal window or command line.
Step 2: Uninstall Postman Snap Ubuntu 22.04
To run sudo snap remove postman command on terminal window and press enter to completely remove postman application from ubuntu 22.04 system:
sudo snap remove postman
Step 3: Clean or Purge Postman Packages
To remove packages or dependencies related to Postman you need to run the clean or clear command on a terminal window:
sudo apt-get autoremove postman sudo apt-get autoremove -purge postman
Step 4: Verify Uninstallation
Now, you can type postman on the terminal window and press Enter to verify the uninstallation:
postman
Option 2: Remove Postman From Ubuntu software center
The second option is more easiest way to remove Postman from an Ubuntu system.
In just 4 steps, you can uninstall Postman in Ubuntu:
- Go to the Ubuntu software center
- Type Postman on the Search Bar for Find Postman Application
- Select Postman to Click Uninstall
- Confirm uninstallation of Postman application
If there is some reason why the Postman application is not being removed from your Ubuntu Linux server or system, and you have tried many times to get it removed, don’t worry, The simplest way to do this is to you just open your terminal window and type sudo rm -rf /opt/Postman/ && sudo rm /usr/bin/postman
command into it as a root user, it will completely delete the Postman application from your system:
sudo rm -rf /opt/Postman/ sudo rm /usr/bin/postman
To install Postman on Ubuntu, you can reinstall it by following this guide: https://www.tutsmake.com/how-to-install-postman-on-ubuntu-22-04.
Conclusion
That’s it; you have learned two ways on how to completely remove or uninstall postman application on ubuntu 22.04 linux server.