Is safe to remove tigervnc-server-minimal?

I installed @minimal-environment + @kde-desktop-environment
I discovered there is package tigervnc-server-minimal on my system.
When I tried to remove it I got a long list of packages that would be removed:

 anaconda-core
 anaconda-gui
 anaconda-tui
 anaconda-user-help
 anaconda-widgets
 augeas-libs
 blivet-data
 containers-common
 criu
 criu-libs
 crun
 cxl-libs
 daxctl-libs
 device-mapper-multipath
 device-mapper-multipath-libs
 enchant2
 harfbuzz-icu
 initial-setup
 keybinder3
 libblockdev-dm
 libblockdev-kbd
 libblockdev-lvm
 libblockdev-mpath
 libblockdev-nvdimm
 libgnomekbd
 libnet
 libnma
 libreport
 libreport-anaconda
 libreport-cli
 libreport-gtk
 libreport-plugin-reportuploader
 libreport-web
 libtimezonemap
 libxklavier
 mobile-broadband-provider-info
 ndctl
 ndctl-libs
 nm-connection-editor
 python3-blivet
 python3-blockdev
 python3-bytesize
 python3-dasbus
 python3-kickstart
 python3-langtable
 python3-libreport
 python3-meh
 python3-meh-gui
 python3-pid
 python3-productmd
 python3-pwquality
 python3-pyparted
 python3-pytz
 python3-requests-file
 python3-requests-ftp
 python3-simpleline
 rpm-ostree
 rpm-ostree-libs
 satyr
 skopeo
 tigervnc-license
 webkit2gtk3
 xmlrpc-c
 xmlrpc-c-client
 yajl
 yelp
 yelp-libs
 yelp-xsl

Is safe to remove all these packages? Will KDE start after reboot? I need only pure system with KDE.

I’m not a CentOS user, so I’m not sure. Is your system installed on Btrfs? If so, you could probably take a snapshot of your root filesystem before running the command. Then you should be able to rollback your filesystem if you find you need to. (You can even recover the snapshot if the system is unbootable, as long as you can get to the dracut emergency shell or boot from a Live CD.)

1 Like

FWIW on Fedora Linux 40, it’s only Anaconda (which is there as a weird artifact of the installation process — it’s not necessary or even useful) that would be removed. (Well, also a few random Python modules apparently just used by Anaconda.)

On yours, I think it’s mostly okay — except it is removing a bunch of container management stuff for some reason.

1 Like

There are packages that will be removed that I think are important.

Why is it necessary to remove this package?
Security maybe? If so ensure that it’s service is masked so its impossible to start.

I think the issue is that clean_requirements_on_remove=true is set in CentOS Stream 9 so it is going to pull off a lot of things which are pulled in when the tigervnc-server-minimal was added. Try dnf remove --noautoremove tigervnc-server-minimal and see if that cuts down the list. The only thing which ‘depends on’ tigervnc-server-minimal is anaconda… which is pulling in a LOT of things like contaienrs which is where most of those dependencies are coming from.

2 Likes

I like your idea. But kernel of CentOS Stream 9 doesn’t support Btrfs.

Thanks for your reply. Everything went well.