How to *completely* remove tigervnc server from Ubuntu 22.04?
Colin Watson
cjwatson at ubuntu.com
Tue Mar 14 12:40:49 UTC 2023
On Tue, Mar 14, 2023 at 12:33:16PM +0100, Bo Berglund wrote:
> On Tue, 14 Mar 2023 10:29:14 +0100, Ralf Mardorf via ubuntu-users
> <ubuntu-users at lists.ubuntu.com> wrote:
> >I don't know what happens to installed dependencies.
> >
> >tigervnc-common is a hard dependency
> >tigervnc-tools is a recommended dependency
I always try to keep my systems autoremove-clean, so that I can remove
packages and then do "apt --purge autoremove" afterwards to clean up any
no-longer-needed dependencies. If you haven't been consistently
maintaining your systems this way, then you may need to experiment with
an autoremove pass first to see what it wants to remove, and use
"apt-mark manual <package>" or "apt install <package>" on things you
don't want to remove so that they aren't proposed for automatic removal.
> sudo apt remove tigervnc-standalone-server tigervnc-common tigervnc-tools
> sudo apt purge tigervnc-standalone-server tigervnc-common tigervnc-tools
>
> Or can they be combined some way?
"apt purge" does both the remove and purge steps, so you can skip the
separate "apt remove" command.
--
Colin Watson (he/him) [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list