RetroPie setup reverting cmake to 3.13
-
Hi,
for another software i have on my rpi i need cmake to be at least on level 3.16. So i have the latest (3.17.1) installed by following the instructions on cmake.org (basically uninstalling the .deb packages from raspbian itsel, compiling from source and the install with a " make install" command)
i noticed however that when i run the Update command from the RetroPie setup script, cmake is reverted to 3.13 again. Apparently it does not detect that a higher version is already installed, cause i also noticed that cmake and cmake-data are installed again as raspbian packages.
Is there some way to prevent this when running an update?
Or even better: Could the RetroPie Setup be modified, so it detects cmake is already present and on required level, so it does not install the raspbian packages?
-
@akamming said in RetroPie setup reverting cmake to 3.13:
i noticed however that when i run the Update command from the RetroPie setup script, cmake is reverted to 3.13 again. Apparently it does not detect that a higher version is already installed, cause i also noticed that cmake and cmake-data are installed again as raspbian packages.
It does not detect it, because it's not installed from a
.deb
package. RetroPie installs thecmake
package that's available in the distro - whatever version is available in the Raspbian repositories.As a general rule when installing from source - in order to not get your installation overwritten by a distro package, don't install into the system directories (
/usr/bin
,/usr/sbin
, etc.) - use/usr/local
or/opt
.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.