[CMake] CMake on Raspberry Pi

Eric Wing ewmailing at gmail.com
Mon May 21 23:24:38 EDT 2018


On 5/20/18, Shawn G <shawn0245 at gmail.com> wrote:
>  Hi there, im having some troubles installing CMake on raspberry pi 3
> running raspbian stretch.
> I keep getting this error message when i run the command "sudo apt-get
> install build-essential cmake pkg-config"
> The error message:
> " Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package CMake is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
>
> E: Package 'cmake' has no installation candidate "
>
> I've tried other installation methods like "pip install cmake" & "sudo
> apt-get install -y cmake" but all to no avail. Could you guys help me out?
> Is there a library i can extract from?
>
> Thank you in advance.
>

Try running:
sudo apt-get update

Then try again, i.e.
sudo apt-get install cmake


More information about the CMake mailing list