Why CMake? (extra chars to meet title length requirement)

Hello,

This morning, after a system update, I notice CMake as a new app in my application launcher (I am on Plasma, should it matter, but I don’t imagine it is essential). Since I did not have it installed previously, and I was only updating, not installing anything additional, I am not sure why. AI suggests it might be used to build something, if it is the case, is it not a bit sloppy to leave it behind? I have also had a similar case recently with a package called accounts-qml-module which appeared miraculously after an AUR update.

Would anyone be able to shed some light on why they appeared, and whether it is necessary to keep them, or shall I remove?

Thanks.

Hello,

Only you can tell us;

pacman -Qi cmake accounts-qml-module 

Looks like those are dependencies that were needed to install AUR package(s).

I agree with @drhydroxide : it is probably installed because of some AUR package you built. Look here:

╰─> pacman -Qi cmake 
Installed From  : cachyos-extra-znver4
Name            : cmake
Version         : 4.3.3-1.1
Description     : A cross-platform open-source make system
Architecture    : x86_64_v4
URL             : https://www.cmake.org/
Licenses        : BSD-3-Clause
Groups          : None
Provides        : None
Depends On      : cppdap  curl  expat  glibc  hicolor-icon-theme  jsoncpp  libarchive  libgcc  libstdc++  libuv  ncurses  rhash  zlib
Optional Deps   : make: for unix Makefile generator [installed]
                  ninja: for ninja generator
                  qt6-base: cmake-gui [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 98.48 MiB
Packager        : CachyOS <admin@cachyos.org>
Build Date      : Thu 21 May 2026 11:17:37 PM CEST
Install Date    : Tue 02 Jun 2026 07:10:31 AM CEST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

It’s currently not required by anything, but I know for sure that it’s needed to build the epsonscan2 package from the AUR.

It is also listed as an orphan at the moment:

╰─> pacman -Qdt  
bbe 0.2.2-3
boost 1.91.0-1.1
cmake 4.3.3-1.1
qt5-singlecoreapplication 2.6_20170914-1
rapidjson 1.1.0-6

but as I know it will come back the next time I update epsonscan, I ignore that (although I should probably mark it as explicitly installed)

Not really, it’s pretty normal. Paru asks if you want to remove makedepends so the choice is up to you.

A mechanism to easily keep developer tools from popping up in non-developer menus would be welcome. I know sonething like cmake has a gui but I can’t help but wonder if it’d be better or worse if it didn’t install a .Desktop file as default.

Thanks for all replies.

I already removed CMake, but before I did:

❯ grep -i -B 15 "cmake" /var/log/pacman.log
[2026-06-04T08:56:57+0300] [ALPM-SCRIPTLET]   -> Early uncompressed CPIO image generation successful
[2026-06-04T08:56:57+0300] [ALPM-SCRIPTLET] ==> Initcpio image generation successful
[2026-06-04T08:56:57+0300] [ALPM] running 'cachyos-reboot-required.hook'...
[2026-06-04T08:56:57+0300] [ALPM-SCRIPTLET] ==> INFO: Reboot is recommended due to the upgrade of core system package(s).
[2026-06-04T08:56:57+0300] [ALPM] running 'fontconfig.hook'...
[2026-06-04T08:56:57+0300] [ALPM] running 'fontconfig-32.hook'...
[2026-06-04T08:56:58+0300] [ALPM] running 'gtk-update-icon-cache.hook'...
[2026-06-04T08:56:58+0300] [ALPM] running 'rebuild-detector.hook'...
[2026-06-04T08:56:59+0300] [ALPM-SCRIPTLET] foreign     python-backports-zstd
[2026-06-04T08:56:59+0300] [ALPM] running 'update-desktop-database.hook'...
[2026-06-04T08:56:59+0300] [ALPM] running 'zz-snap-pac-post.hook'...
[2026-06-04T08:57:00+0300] [ALPM-SCRIPTLET] ==> root: 737
[2026-06-04T08:57:25+0300] [PACMAN] Running 'pacman --sync -y -u --'
[2026-06-04T08:57:25+0300] [PACMAN] synchronizing package lists
[2026-06-04T08:57:26+0300] [PACMAN] starting full system upgrade
[2026-06-04T08:58:24+0300] [PACMAN] Running 'pacman --sync --noconfirm -- cachyos-extra-v4/cppdap cachyos-extra-v4/rhash cachyos-extra-v4/cmake'
[2026-06-04T08:58:27+0300] [ALPM] running '05-snap-pac-pre.hook'...
[2026-06-04T08:58:27+0300] [ALPM-SCRIPTLET] ==> root: 738
[2026-06-04T08:58:27+0300] [ALPM] transaction started
[2026-06-04T08:58:27+0300] [ALPM] installed cppdap (1.58.0-3.1)
[2026-06-04T08:58:27+0300] [ALPM] installed rhash (1.4.6-1.1)
[2026-06-04T08:58:27+0300] [ALPM] installed cmake (4.3.3-1.1)
[2026-06-04T08:58:28+0300] [ALPM] transaction completed
[2026-06-04T08:58:28+0300] [ALPM] running '30-update-mime-database.hook'...
[2026-06-04T08:58:28+0300] [ALPM] running '35-systemd-update.hook'...
[2026-06-04T08:58:28+0300] [ALPM] running 'gtk-update-icon-cache.hook'...
[2026-06-04T08:58:28+0300] [ALPM] running 'update-desktop-database.hook'...
[2026-06-04T08:58:28+0300] [ALPM] running 'zz-snap-pac-post.hook'...
[2026-06-04T08:58:28+0300] [ALPM-SCRIPTLET] ==> root: 739
[2026-06-04T08:58:28+0300] [PACMAN] Running 'pacman --database --asdeps -- cppdap rhash cmake'

For accounts-qml-module:

❯ pacman -Qi accounts-qml-module
Installed From  : None
Name            : accounts-qml-module
Version         : 0.7-8
Description     : Expose the Online Accounts API to QML applications
Architecture    : x86_64
URL             : https://gitlab.com/accounts-sso/accounts-qml-module
Licenses        : LGPL-2.1-only
Groups          : None
Provides        : None
Depends On      : glibc  libaccounts-qt  libgcc  libstdc++  qt6-base  qt6-declarative  signond
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 277.21 KiB
Packager        : Unknown Packager
Build Date      : Sun May 31 09:42:05 2026
Install Date    : Sun May 31 09:42:18 2026
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : None

Says “installed as a dependency for another package”, but “required by none”, might not be so crucial, but still, I was wondering…

This is a foreign (AUR) package.

This means it is currently an orphan.

( BTW - You can print all orphans with pacman -Qdt )

It also probably means it was installed either as a

  • A makedepend along with some less elegant procedure. Whether from;
    • some particular AUR helper
    • or using makepkg without r flag and so on.
  • A more regular depend that;
    • became an orphan over time due either to some upgrades
    • or to similarly less encompassing removals like sudo pacman -R with out the s flag.

This appears to have occurred on May 31 so you could go looking around your logs to see exactly what happened then. There is a pacman log at /var/log/pacman.log.