In this article, we will guide you through the process of completely uninstalling Notepad++ in Ubuntu 18.04. Notepad++ is a popular text and source code editor used by many developers. However, if you have decided to switch to a different editor or simply want to remove Notepad++ from your system, you can follow the steps outlined below.
To completely uninstall Notepad++ in Ubuntu 18.04, you need to first determine how it was installed. If it was installed as a snap package, you can disable and remove it using the snap commands. If it was installed using a different method, such as apt or manual installation, the uninstallation process may vary.
Checking the Installation Method
Before you can uninstall Notepad++, you need to determine how it was installed. In Ubuntu, software can be installed in several ways, including via the apt package manager, snap, or by downloading it from a website.
To check if Notepad++ was installed as a snap package, open your terminal and run the following command:
This command lists all the snap packages installed on your system. If you see “notepad-plus-plus” in the list, it means Notepad++ was installed as a snap. If you don’t see it in the list, it’s likely that you installed it using a different method.
Uninstalling Notepad++ Installed as a Snap
If Notepad++ was installed as a snap, you can uninstall it by following these steps:
- Disable the Notepad++ snap: Run the following command to disable the Notepad++ snap:
sudo snap disable notepad-plus-plus
sudocommand is used to execute the following command with root privileges. The
snap disablecommand is used to disable a snap package.
- Remove the Notepad++ snap: After disabling the snap, you can remove it by running the following command:
sudo snap remove notepad-plus-plus
snap removecommand is used to remove a snap package from your system.
If you encounter an error like “error: cannot remove ‘notepad-plus-plus’: snap ‘notepad-plus-plus’ has ‘auto-refresh’ change in progress,” you can try removing the notepad-plus-plus snap directory with this command:
sudo rm -r snap/notepad-plus-plus
rm command is used to remove files or directories, and the
-r option is used to remove directories and their contents recursively.
Uninstalling Notepad++ Installed with Other Methods
If Notepad++ was installed using a different method, the uninstallation process may vary. For example, if you installed it using the apt package manager, you can uninstall it by running the following command:
sudo apt-get remove notepad-plus-plus
apt-get remove command is used to remove a package installed with apt.
If you downloaded Notepad++ from a website and installed it manually, you would need to check the documentation or the website where you downloaded it for specific uninstallation instructions.
In this article, we covered how to completely uninstall Notepad++ in Ubuntu 18.04. Remember to check how the software was installed before attempting to uninstall it, as the process may vary depending on the installation method. If you encounter any issues during the uninstallation process, don’t hesitate to seek help from the Ubuntu community or the Notepad++ support forums.
Yes, the uninstallation process may vary depending on the installation method. If you installed Notepad++ using a different method, you would need to check the documentation or the website where you downloaded it for specific uninstallation instructions.
Yes, you can reinstall Notepad++ after uninstalling it. You can follow the installation instructions specific to your chosen method, such as using the snap package manager, apt package manager, or downloading it from the official website.
Uninstalling Notepad++ will only remove the application itself and its associated files. Your personal files and settings, such as text documents or configuration files, will not be affected by the uninstallation process.
The uninstallation process mentioned in this article is specific to Notepad++. For other text editors or software, the uninstallation process may vary. It is recommended to refer to the documentation or support resources for the specific software you want to uninstall.