How to uninstall programs from Linux Mint ?

This article will guide you on methods to remove or #uninstall a program in #Linux #Mint 20. 

To uninstall a program, use the "apt-get" command, which is the general command for installing programs and manipulating installed programs.

If you want to remove a package, use the apt in the format; sudo apt remove [package name]. If you want to remove a package without confirming add –y between apt and remove words.

To uninstall an RPM package:

1. Execute the following command to discover the name of the installed package: rpm -qa | grep Micro_Focus. This returns PackageName , the #RPM name of your Micro Focus product which is used to identify the install package.

2. Execute the following command to uninstall the product: rpm -e [ PackageName ]

To clean up broken #packages in #Ubuntu:

i. Find your package in /var/lib/dpkg/info , for example using: ls -l /var/lib/dpkg/info | grep <package>

ii. Move the package folder to another location.

iii. Run the following command: sudo dpkg --remove --force-remove-reinstreq <package>