A little help: After following @RoamingBlue 's very helpful instructions here (http://openstudy.com/study#/updates/502ee916e4b0e46adced0063) one of our MechMOOCers is still confronted by the following when trying to install Python (From his e-mail):
mike@ubuntu:~$ python -V
Still have to install Idle... Holding thumbs!
One minor nit: the line
for i in `cat list`; do apt-get -y install $i; done
has to be run as root. I.e.
$ sudo su
# for i in `cat list`; do apt-get -y install $i; done
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW)
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
First, did he install the version of Python he wanted using Pythonbrew?
Second, can he find that version in whatever directory Pythonbrew is storing his versions in?
Third, if he looks in ./bin under that directory, is the python executable there? If so, is idle? ... If idle is there, he probably needs to repeat the step about updating his .bashrc file. If not, then yes he needs to install idle.
I've not used idle under Pythonbrew, though I'm relatively certain Pythonbrew installs it. Like I posted in the link you reference, I highly recommend (and personally use) Wing101 instead.
The prompt that the user is getting suggests, and the error message confirms, that the installation needs to be done by the super user, root. su is the Substitute User command so that the user can become root in the shell (window) that they're in.
It's just the command apt-get that has to be performed by the SuperUser.
Easiest way is just "sudo su" before the loop (and "exit" after it)