Is there a way to remove (uninstall) top (table of processes)?
1 Answers
Removing utilities that comes with a standard Linux installation might not be a worthwhile option.
It might even be a source of later functional problems within the OS; e.g. attempting removal or update of python is a typical problem creator.
If you have limited space on your system disk(s) then consider software you yourself have installed as options for removal.
$ apt-mark showmanual | less
will show you a list of software packages that has been marked as "manually installed" -
which happens if you have done $ sudo apt install _package_name_
at some moment in time.
Additionally; if there is more than one kernel version installed, those you're not using are often "free" to remove. $ dpkg --list | grep -E '^ii.*linux-image'
will list them.
$ apt-mark --help
and $ apt --help
will show more options.

- 5,374
- 1
- 23
- 40
top
command is provided by the procps package - I'm not sure it's possible to remove that without destroying your system. In any case, removing thetop
command itself doesn't prevent people from accessing the same information by other means (e.g. via the/proc
filesystem directly). – steeldriver Jun 10 '23 at 22:17top
? – waltinator Jun 11 '23 at 01:31