I was recently attempting to update some files using apt-get
and was given an out space error. I then realized everything was being installed to the boot partition which is only 40mb (on a 32gb card). I am using the Raspbian Stretch Desktop image from https://www.raspberrypi.org/downloads/raspbian/. I simply flashed my card with that image.
How I do install stuff from apt to the other partition and rely on them always being in the system path?