Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I install Ubuntu to a USB key?

I boot ubuntu from my usb. The vim package vanishes automatically every time I reboot the system. Is it because I am using a usb to boot ubuntu? Suggest me a way to install the vim package permanently on my usb.

share|improve this question

marked as duplicate by Jorge Castro, James Apr 5 '12 at 20:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Try this link to set up a persistent usb so that it saves your settings and changes.

share|improve this answer

I'm no expert, but it sounds like your USB has a liveCd install (i.e. not persistent). This would mean that most (perhaps all) changes you make will not persist between reboots. I never had much luck with persistent USB installations either.

You could try adding

apt-get install vim

to the end of the file ~/.bashrc

I'm not sure that will work though unless your installation logs in automatically as root.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.