Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Can I install software using apt-get and specify where I want them to be installed? I have a USB stick auto mounted on /media/usb and I want to tell aptitude to install ruby and java JRE on a USB stick. How can I do that?

Thanks in advance.

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.