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.

I want to download the Python on my Ubuntu 12.04, but I run it on USB flash drive. Do I have any choice to let the Python download on my flash drive? FYI it is my first time touching Ubuntu so try to make it simple.

share|improve this question
    
You want to run python portably? –  Anwar Shah Sep 23 '12 at 13:55
    
@Anwar I think he need persistent mode , right ? –  AgentCool Sep 23 '12 at 14:08
4  
Python is already included in Ubuntu. You don't need to install it. –  Anwar Shah Sep 23 '12 at 14:11
    
what OS are you trying to use python under? portable python is more popular on windows since it's not included by default. on the linux side it's more on the programmer to include or require dependencies as needed –  hbdgaf Sep 23 '12 at 18:42

2 Answers 2

up vote 1 down vote accepted

If you want to run python in Ubuntu, just open a terminal with Ctrl-Alt-T and execute this command

python

Then you will have an interactive python interpreter running in the termnal.

I am assuming you want to run python portably from the USB drive and use it anywhere with Linux system. You can achieve this by downloading portable python from this site

  1. Download it

  2. Install it to your USB drive

    I am quoting from the site

    Portable Python can be installed on any USB storage device, local hard drive or network location. It is possible to install several different distributions of Portable Python on the same USB storage device (or local hard drive) and have them running side by side. This makes Portable Python ideal environment to test your code with different Python engines.

  3. Then run from the USB directly to program python

Enjoy Portable Pythonning!!

share|improve this answer
    
But how can I run the Python in Ubuntu? –  Frontier_Alex Sep 23 '12 at 14:41
    
@Frontier_Alex I updated my answer –  Anwar Shah Sep 23 '12 at 14:43

Yes you can save the Software installing on Live USB Ubuntu with Live Persistent mode . for more information click at https://wiki.ubuntu.com/LiveUsbPendrivePersistent

share|improve this answer
    
python is already included in Ubuntu –  Anwar Shah Sep 23 '12 at 14:10
1  
@Anwar yes you right again :P –  AgentCool Sep 23 '12 at 14:14

Your Answer

 
discard

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

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