When you type the command df in your prompt what is the percentage used in rootfs? If the outcome is 100% you will need to erase and uninstall the packages you don't need in order to be able to install the new packages you need.
yes it says 100 percent can have a look at the image below
can i copy my sd card image to 32 gb card ,will it solve the issue.
i have a free 32 gb card
Intel Galileo gen 2 Eurobot Video :-
- better run "df -h" - makes reading easier ;-)
- your rootfs is partitioned to only 300MB out of your 16G SD card. That's not a lot if you want to add more packages ... - on the other hand you only use 3% of your 16G SD. Hence you do have sufficient space - just the partitioning doesn't allow you to install a lot
- not sure which image you put on the card - using the Intel(R) IoT developer kit image from https://software.intel.com/en-us/iot/downloads should have a different partitioning by default - at least I can't recall running into the issues you describe. Moreover "cmake" is already on that image.
I am using the SD-Card Linux Image from the following link:
I don’t understand why the full 16 GB is not available to use. Is it something that I missed during installing the image?
Is there a way to change the roofts partition now and give it more space?
How can I allocate entire 16GB and not only 3GB as I intend to use this SD card only for my galileo project?
I don't know that image too well. If I remember correctly, the rootfs (ext4 fs) comes as a file within a FAT formatted partition. But leaving the experts to answer.
In contrary the image from from https://software.intel.com/en-us/iot/download which I mentioned comes with 2 separate partitions, a relatively small FAT partition which is required for the bootloader to work and all the rest the rootfs in the 2nd partition. Again with Linux tools you can relatively easy modify the 2nd partition + fs to fit the whole 2nd partition (e.g. using "gparted")