Clean Fedora safely

Hi,

I was messing around, trying to install a Dutch language pack in Libreoffice. That din’t work. I tried yum install some rpm packages. That was wrong I was told in my other topic.

Is it possible that my Fedora is now polluted and if so, can I clean this safely?

Grz.
Paul

I would suggest posting on the Fedora Discussion forum about this, since it’s not really KDE-related. https://discussion.fedoraproject.org/

It helps if you give the history of what you installed (I think, based on your other thread, RPMs downloaded from the LibreOffice website?)

People will probably recommend you remove those and use dnf to install the LibreOffice langpack from the Fedora repos.

Fedora doesn’t use yum any more. And it hasn’t for a while. Nor do some of the more recent versions of Red Hat and derivatives, which are based on Fedora. It still exists in the system, but as you can see with the following command, yum is sym-linked to dnf.

brian@thinkpad:~$ ls -als /bin/ | grep yum
4 lrwxrwxrwx.  1 root root           4 Aug 12 01:00 yum -> dnf5
brian@thinkpad:~$

If you’re looking online for guides / tutorials to do something on Fedora and it says to use yum, you can be assured that the guide / tutorial is well out of date and you should find something more recent.

To install the Dutch language pack for Libreoffice you simply need to search for the Libreoffice language packs and see if the Dutch one is there.

brian@thinkpad:~$ sudo dnf search libreoffice* | grep Dutch
Updating and loading repositories:
Repositories loaded.
libreoffice-help-nl.x86_64     Dutch help for LibreOffice
libreoffice-langpack-nl.x86_64 Dutch language pack for LibreOffice
brian@thinkpad:~$

Then you can install both the help and langpack with…

sudo dnf install libreoffice-\*nl

… which will also install a bunch of Dutch support packages.

Linux isn’t Windows. For the most part you don’t need to go poking about the internet looking for and downloading random drivers and software. Each distro has vast repositories with tens of thousands of pieces of software pre-packaged for you to download with their package management tools. When you open Plasma Discover on Fedora KDE, it is not showing you software from random places. It’s showing you software that has been packaged for and is available in Fedora’s own repositories.

You can add additional repositories to your system (RPM Fusion is one, individual COPR are others) for stuff that isn’t in Fedora’s own repositories.

2 Likes

Thanks for your reply, I don’t understand everything at the moment, but that wil come in time.

But what about my question? Any advice?

That depends on what you’ve installed with yum or anything you’ve installed manually with rpm. Since yum is sym-linked to dnf you should be able to view any yum commands you’ve input in the terminal with the following command.

sudo dnf history list

Just as an example, this is what my own output shows after testing a yum command.

brian@thinkpad:~$ sudo dnf history list
ID Command line                                                                                                          Date and time       Action(s) Altered
25 yum install dragon                                                                                                    2025-08-21 14:28:49                 1
24 dnf install @libreoffice libreoffice-base libreoffice-draw libreoffice-math                                           2025-08-21 13:45:08                90

You can then get individual information on each command by using the history ID number. From the output above, you can see that the ID numbers are 24 and 25. You would then get the information on each command with the following…

sudo dnf history info X

Replacing X with your ID number. So for the yum command I would use

sudo dnf history info 25

And that’ll output all information about that transaction.

If you’ve installed stuff with yum that you don’t need, you can simply remove it again with…

sudo dnf remove X Y Z

X, Y and Z being the packages you don’t want or need any more. You can also clean up any packages that were installed as dependencies with the X, Y and Z packages and got left behind during uninstall with the following command…

sudo dnf autoremove

Thanks Brian.

This worked. I deleted the flatpak and installed from Discover the LO parts. With all in NL. Great.

1 Like

Brian, I didn’t find any dnf or yum history. So I guess nothing happened with my previous actions do you think?

If you have tried installing anything via the command line, either using yum or dnf, it will leave a history. If there is no history, then you haven’t made any changes to the installed system via the command line that need to be (or even can be) reverted.

If you have been using the software centre (Plasma Discover) on KDE, it uses PackageKit on the backed which hasn’t been upgraded from dnf4 to dnf5 yet. There is a long standing issue that PackageKit transactions aren’t visible in dnf history unless you specifically use sudo dnf4 history list.

I don’t use graphical tools (GNOME software or Plasma Discover) for package management, so as you can see from the output below, I have absolutely zero history with PackageKit and dnf4.

brian@thinkpad:~$ sudo dnf4 history list
ID     | Command line                                                                                              | Date and time    | Action(s)      | Altered
----------------------------------------------------------------------------------------------------------------------------------------------------------------
1 |                                                                                                           | 2025-08-20 13:28 | Install        | 2098 EE
brian@thinkpad:~$