Uninstall .rpm
To remove an application installed via RPM package manager:
Basic Removal
sudo rpm -e safe-utils
Verify Package Name First
rpm -qa | grep search_term
Force Removal (if dependencies prevent uninstall)
sudo rpm -e --nodeps safe-utils
Notes:
- Replace
safe-utils
with the actual package name (without .rpm extension) - Use
-qa
flag to list all installed packages if you're unsure of the exact name - The
--nodeps
option ignores dependencies (use with caution)
For a cleaner removal, consider using dnf
or yum
instead if your distribution supports them:
sudo dnf remove safe-utils
# or
sudo yum remove safe-utils
Uninstall .AppImage
Since .AppImage
files are portable and don't install system-wide, removing them is simple:
Delete the AppImage File
rm ~/path/to/SafeUtils.AppImage
(Replace ~/path/to/SafeUtils.AppImage
with the actual file location.)
Remove Desktop Integration (Optional)
If you integrated the AppImage into your system menu (e.g., via --install
flag), clean up leftover files:
Check for Desktop & Icon Files
ls ~/.local/share/applications/ | grep -i "SafeUtils"
ls ~/.local/share/icons/ | grep -i "SafeUtils"
Remove Them (If Found)
rm ~/.local/share/applications/SafeUtils.desktop
rm ~/.local/share/icons/SafeUtils.png
Remove Cache & Config Files (Optional)
Some AppImages store configs in:
rm -rf ~/.config/SafeUtils
rm -rf ~/.cache/SafeUtils
Note:
- AppImages don't modify system files, so no
sudo
or package manager is needed. - If unsure where the
.AppImage
is stored, use:find ~ -name "*.AppImage"
Uninstall `.deb
Since .deb
packages install system-wide, you should properly uninstall them to avoid leftover files.
Remove Using apt
(Recommended)
sudo apt remove safe-utils
sudo apt purge safe-utils
Remove Using dpkg
(If apt
Fails)
sudo dpkg -r safe-utils
sudo apt autoremove
Clean Up Leftover Files (Optional)
Some applications leave configs in:
~/.config/safe-utils
~/.cache/safe-utils
/etc/safe-utils
(Manually delete if needed.)
Notes:
- Use
apt
first, as it handles dependencies better thandpkg
. - If unsure about the package name, check with
dpkg -l
. - Avoid manually deleting
/usr/bin/
or/usr/share/
files—always uninstall properly.
For GUI users, Synaptic Package Manager or GNOME Software can also uninstall .deb
packages.`