2

enter image description here

i am using 16 gb sd card for raspberry pi 2.but when i want to install opencv its showing very less memory.it is unable to install.out of 16 gb only 2.9 is used then where is the rest 11 gb memory.

Wilf
  • 2,513
  • 3
  • 22
  • 38
ankita
  • 21
  • 1

1 Answers1

3

I assume that is Raspbian ?

  1. sudo raspi-config
  2. Select 1st option Expand your file system. Tab, tab, finish.
  3. sudo reboot
  4. df -h to see if it worked.

Additional reads : http://elinux.org/RPi_Resize_Flash_Partitions#Raspi-config

Bonus :

To install OpenCV,

  1. sudo apt-get update && sudo apt-get install libopencv-dev python-opencv

Hope it helps. :)

dhruvvyas90
  • 2,853
  • 3
  • 19
  • 32