Is it safe to remove these remnants of Plasma5?

I still have many fragments of plasma5 (e.g. qt5-x11extras) after upgrading to Plasma 6.0.1.
Is it safe to remove all the qt5-*packages?

(Of course I know that many of those in the following list are not related to plasma at all. I searched for all packages related to 5)

$ pacman -Ss 5 | grep installed
core/db5.3 5.3.28-4 [installed]
core/krb5 1.21.2-2 [installed]
core/libksba 1.6.6-1 [installed]
core/pcre 8.45-4 [installed]
core/pcre2 10.42-2 [installed]
core/perl 5.38.2-1 [installed]
extra/a52dec 0.8.0-2 [installed]
extra/appstream-qt5 1.0.2-1 [installed]
extra/attica5 5.115.0-1 (kf5) [installed]
extra/avahi 1:0.8+r194+g3f79789-1 [installed]
extra/avogadrolibs-qt5 1.99.0-1 [installed]
extra/bluez-qt 6.0.0-1 (kf6) [installed]
extra/fcitx5 5.1.8-1 (fcitx5-im) [installed]
extra/fcitx5-configtool 5.1.4-1 (fcitx5-im) [installed]
extra/fcitx5-gtk 5.1.2-1 (fcitx5-im) [installed]
extra/fcitx5-qt 5.1.5-1 (fcitx5-im) [installed]
extra/frameworkintegration5 5.115.0-1 (kf5) [installed]
extra/globalprotect-openconnect 1.4.9-1 [installed]
extra/gsfonts 20200910-3 [installed]
extra/haskell-crypton-x509 1.7.6-27 [installed]
extra/haskell-crypton-x509-store 1.6.9-27 [installed]
extra/haskell-crypton-x509-system 1.6.7-27 [installed]
extra/haskell-crypton-x509-validation 1.6.12-27 [installed]
extra/haskell-socks 0.6.1-236 [installed]
extra/hdf5 1.14.3-1 [installed]
extra/jbigkit 2.1-7 [installed]
extra/js115 115.8.0-1 [installed]
extra/karchive5 5.115.0-1 (kf5) [installed]
extra/kauth5 5.115.0-1 (kf5) [installed]
extra/kbookmarks5 5.115.0-1 (kf5) [installed]
extra/kcmutils5 5.115.0-1 (kf5) [installed]
extra/kcodecs5 5.115.0-1 (kf5) [installed]
extra/kcompletion5 5.115.0-1 (kf5) [installed]
extra/kconfig5 5.115.0-1 (kf5) [installed]
extra/kconfigwidgets5 5.115.0-1 (kf5) [installed]
extra/kcoreaddons5 5.115.0-1 (kf5) [installed]
extra/kcrash5 5.115.0-1 (kf5) [installed]
extra/kdbusaddons5 5.115.0-1 (kf5) [installed]
extra/kde-cli-tools 6.0.1-1 (plasma) [installed]
extra/kdeclarative5 5.115.0-1 (kf5) [installed]
extra/kded5 5.115.0-1 (kf5) [installed]
extra/kdoctools5 5.115.0-1 (kf5) [installed]
extra/kglobalaccel5 5.115.0-3 (kf5) [installed]
extra/kguiaddons5 5.115.0-2 (kf5) [installed]
extra/ki18n5 5.115.1-1 (kf5) [installed]
extra/kiconthemes5 5.115.0-1 (kf5) [installed]
extra/kimageformats5 5.115.0-2 (kf5) [installed]
extra/kio5 5.115.0-3 (kf5) [installed]
extra/kirigami2 5.115.0-1 (kf5) [installed]
extra/kitemviews5 5.115.0-1 (kf5) [installed]
extra/kjobwidgets5 5.115.0-1 (kf5) [installed]
extra/knewstuff5 5.115.0-1 (kf5) [installed]
extra/knotifications5 5.115.0-1 (kf5) [installed]
extra/kpackage5 5.115.0-1 (kf5) [installed]
extra/kplotting5 5.115.0-1 (kf5) [installed]
extra/kservice5 5.115.0-1 (kf5) [installed]
extra/ktextwidgets5 5.115.0-1 (kf5) [installed]
extra/kunitconversion5 5.115.0-1 (kf5) [installed]
extra/kwallet5 5.115.0-2 (kf5) [installed]
extra/kwayland5 5.115.0-1 (kf5) [installed]
extra/kwidgetsaddons5 5.115.0-1 (kf5) [installed]
extra/kwindowsystem5 5.115.0-1 (kf5) [installed]
extra/kxmlgui5 5.115.0-1 (kf5) [installed]
extra/libdbusmenu-qt5 0.9.3+16.04.20160218-7 [installed]
extra/libde265 1.0.15-1 [installed]
extra/libmysofa 1.3.2-1 [installed]
extra/libunibreak 6.1-1 [installed]
extra/libva-intel-driver 2.4.1-2 [installed]
extra/lua-lpeg 1.1.0-1 [installed]
extra/luajit 2.1.1702233742-1 [installed]
extra/openjpeg2 2.5.2-1 [installed]
extra/plasma5support 6.0.1-1 (plasma) [installed]
extra/polkit-qt5 0.200.0-1 [installed]
extra/prison5 5.115.0-1 (kf5) [installed]
extra/purpose5 5.115.0-3 (kf5) [installed]
extra/python-json5 0.9.22-1 [installed]
extra/python-uri-template 1.3.0-1 [installed]
extra/python-websockets 12.0-1 [installed]
extra/qca-qt5 2.3.8-2 [installed]
extra/qscintilla-qt5 2.14.1-1 [installed]
extra/qt5-base 5.15.12+kde+r151-1 (qt5) [installed]
extra/qt5-declarative 5.15.12+kde+r32-1 (qt5) [installed]
extra/qt5-feedback 0.0.0.20150918-4 [installed]
extra/qt5-graphicaleffects 5.15.12-1 (qt5) [installed]
extra/qt5-imageformats 5.15.12+kde+r10-1 (qt5) [installed]
extra/qt5-location 5.15.12+kde+r6-1 (qt5) [installed]
extra/qt5-multimedia 5.15.12+kde+r2-1 (qt5) [installed]
extra/qt5-quickcontrols 5.15.12-1 (qt5) [installed]
extra/qt5-quickcontrols2 5.15.12+kde+r5-1 (qt5) [installed]
extra/qt5-remoteobjects 5.15.12-1 (qt5) [installed]
extra/qt5-script 5.15.16-2 (qt5) [installed]
extra/qt5-speech 5.15.12+kde+r1-1 (qt5) [installed]
extra/qt5-svg 5.15.12+kde+r6-1 (qt5) [installed]
extra/qt5-tools 5.15.12+kde+r4-2 (qt5) [installed]
extra/qt5-translations 5.15.12-1 (qt5) [installed]
extra/qt5-wayland 5.15.12+kde+r61-1 (qt5) [installed]
extra/qt5-webchannel 5.15.12+kde+r3-1 (qt5) [installed]
extra/qt5-webengine 5.15.16-3 (qt5) [installed]
extra/qt5-websockets 5.15.12+kde+r2-1 (qt5) [installed]
extra/qt5-x11extras 5.15.12-1 (qt5) [installed]
extra/qt6-5compat 6.6.2-1 (qt6) [installed]
extra/qt6-websockets 6.6.2-1 (qt6) [installed]
extra/qtkeychain-qt5 0.14.2-1 [installed]
extra/solid5 5.115.0-1 (kf5) [installed]
extra/sonnet 6.0.0-1 (kf6) [installed]
extra/sonnet5 5.115.0-1 (kf5) [installed]
extra/syndication5 5.115.0-1 (kf5) [installed]
extra/texlive-bin 2023.66984-19 [installed]
extra/texlive-fontsextra 2023.66594-20 (texlive) [installed]
extra/texlive-latexextra 2023.66594-20 (texlive) [installed]
extra/texlive-pictures 2023.66594-20 (texlive) [installed]
extra/vala 0.56.15-1 [installed]
extra/x265 3.5-3 [installed]
extra/xdg-desktop-portal-kde 6.0.1-1 (plasma) [installed]
1 Like

If you have any packages that are neither required as direct dependencies nor are optional dependencies of other packages, you could remove them.

The following command: pacman -Qqdt will reveal them to you.

Here is a reference to ArchWiki:

https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Removing_unused_packages_(orphans)

You can have a look at man pacman as well in your teminal.

6 Likes

If your initial inquiry as stated in the title of topic has been answered to your satisfaction and your issue is resolved, please mark the relevant post as solution for the topic to close and for the future generations to find the solution more easily.

In the case of contrary, please feel free to ask further questions to the forum!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.