2

I have a fresh install of a Ubuntu 14.04 on a flash drive with 4GB persistence space, and I want to install easy_install, pip, ipython, and other external python libraries that can easily be accessed whenever the Live Boot version of Ubuntu is running from that USB.

What is the easiest way to accomplish this? I already tried to do this in general using

sudo apt-get install python-dev python-pip 

as usual, but I quickly learned that any programs/libraries I installed on my persistence drive using this method were thrown away whenever I started a new session of the Live Boot.

Loonuh
  • 121
  • 3
  • Are you sure you enabled persistence? – muru Jul 13 '15 at 22:22
  • I followed these instructions and set the space allowed to maximum, was that not the correct procedure to enable persistence? http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-ubuntu – Loonuh Jul 13 '15 at 22:23
  • Yes, that is the correct procedure. But with persistence, programs installed by apt are not discarded on shutdown. I'd say something went wrong in how persistence was set up. – muru Jul 13 '15 at 22:25
  • I mean, there's not much I could have messed up though right? I just made sure that the option to store changes was clicked and moved the slider, should I try redoing the disk creator? – Loonuh Jul 13 '15 at 22:27

1 Answers1

0

The easiest way is to follow this Q&A with two small exceptions:

Don't delete the home directory and don't link to an external HDD (steps 4 & 5)

Then you'll have a fully working Ubuntu-on-a-stick… :-)

Fabby
  • 34,259