So, I recently reinstalled Precise after I ran into some sharing issues. My friend and I discussed working on something in Python, so I checked my version. However, 12.04 comes with Python 2.7.3 installed. I wanted to upgrade to 2.7.6, so I downloaded tar for it. Then I was stupid enough to break into sudo apt-get remove python without considering the dependency problems for my desktop. (My rationale was that I wanted to get rid of the old installation.)
In short, I broke all my Python dependencies, thereby destroying Unity. I just finished reinstalling Ubuntu again.
I tried to complete this tutorial , but
make test had approximately 50% failures (a separate issue in itself).When i introduced
make install && & chmod -v 755 / usr / lib / libpython2.7.so.1.0
I got
/usr/bin/install -c python /usr/bin/python2.7 /usr/bin/install: cannot remove `/usr/bin/python2.7': Permission denied make: *** [altbininstall] Error 1
I am worried that running the command as root again will delete 2.7.3 again and again. I'm just a bash guru, so I don't have a good sense of what's going on under the hood. I'm just trying to get 2.7.6 at the moment; I am completely satisfied that 2.7.3 remains on the machine, if there are dependencies.
So, if I ...
but. just run the command as root?
Q. update Python in some other way (and with the βupdateβ I just want to get a clean install of 2.7.6)? If so, how?
eenblam
source share