RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    RetroPie setup reverting cmake to 3.13

    Scheduled Pinned Locked Moved Help and Support
    retropie setupcmake
    2 Posts 2 Posters 318 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      akamming
      last edited by

      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?

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @akamming
        last edited by

        @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 the cmake 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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        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.