TheDPKGutility is a low-level packaging tool in Debian-based systems like Ubuntu. To use DPKG to remove a package, enter the following command: sudo dpkg -r [package] For instance, to remove curl, run: sudo dpkg -r curl Adding the-Poption tells DPKG to remove the package and all its...
Using the command line to uninstall packages on Ubuntu The third way is using “dpkg’ on the command line. Now, if you know what application and specific package name you will remove, you can skip this first step. However, what you should do is: Open up the terminal by pressing Ctrl ...
dpkg –purge <package_name>: not only removes the package but also purges its configuration files and leftover data As we’ll see, there is a significant difference between these two options. 5.1. The -r or –remove Option First, let’s use the -r option approach to remove a package:...
To remove a package using dpkg run the following command: sudo dpkg --remove PACKAGE-NAME NOTE: Type the actual package name (replace PACKAGE-NAME). You can also use the same command using the -r parameter instead of remove. SO the command becomes: sudo dpkg -r PACKAGE-NAME In case you...
sudo apt remove exact_package_name You can also use apt-get remove or dpkg uninstall commands. Removing applications installed via deb files using the apt command Method 3: Use Synaptic Package Manager to remove deb applications Another method is to use theSynaptic Package Manager. Before GNOME ...
The installation process continues. When it's done, type "exit" at the prompt and press "Enter" to close the Terminal window, or click the "X" button in the upper-left corner of the window. If you don't want to remove the configuration files, simply substitute the commandremoveforpurge...
dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device The lack of customizing the dir sizes or removing them completely from the ram it's an issue. Maybe I'll just completely remove zram, and install it again the way I want it. As for the Debug : http...
‘ word withzgrep, we sort the result and get the latest line with theheadcommand. Then, to access the package name, we usedawkand get the fourth portion of the log line, which is the package name, and pass the result todpkgto remove it. The-roption ofdpkgis for removing the ...
you can use the apt command. To do so, open the terminal window in your Ubuntu desktop and enter the following command, replacing “package_name” with the name of the application you want to delete: “sudo apt remove package_name”. This will remove the specified application from your sys...
sudo dpkg --remove --force-remove-reinstreq rvm 2. Solve Lock Issue Sometimes, after installing a package on Ubuntu orDebian distributions, the package stores some data inside the filesystem as an archive. So when you try to remove or delete that file, you get an error saying that the ...