Remove expat - operation would result in removing systemd

Hi, I am trying to remove expat package on a fedora 35, I get

sudo dnf remove expat
[sudo] password for salam: 
Error: 
 Problem: The operation would result in removing the following protected packages: systemd
(try to add '--skip-broken' to skip uninstallable packages)

Is it safe to use this flag or should I go in adifferent way?
Thanks

expat is an xml parsing library used by a ton of things including python. You can’t remove it without removing(or breaking) most of your system.

Why are you trying to remove it?

4 Likes

To add to what @dalto said. A quick search for ‘what is expat on linux’ gave this as the very first link.
Expat (software) - Wikipedia.

2 Likes

Help wanted :

OK thanks for the information