How to remove (uninstall) NetHack-Console in Devuan Linux

Written by Administrator on Thursday April 23, 2020

In case you don't need Console game NetHack any more, you can easily uninstall it by running only two commands in terminal:

$ sudo apt-get purge nethack-console

and

$ sudo apt autoremove nethack-console

Output:

$ sudo apt-get purge nethack-console

[sudo] password for dima: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  nethack-common
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  nethack-console*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 2,401 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 103588 files and directories currently installed.)
Removing nethack-console (3.6.0-4+b1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
(Reading database ... 103579 files and directories currently installed.)
Purging configuration files for nethack-console (3.6.0-4+b1) ...


$ sudo apt autoremove nethack-console

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'nethack-console' is not installed, so not removed
The following packages will be REMOVED:
  nethack-common
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 2,088 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 103578 files and directories currently installed.)
Removing nethack-common (3.6.0-4+b1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...