Using apt-get install in a live environment

It writes it to the available RAM, thus when you restart your computer it will be gone... That is unless you are using a persistent USB Live Disc, Then it will put it on the flash drive, but at 2GB's you are going to fill it pretty quickly...