I was trying to install Python 2.5.4 to my ubuntu 12.04 LTS

I downloaded the package from their website Python 2.5.4 Release and I did everything they told me to, but when trying to "execute" the command:

make install

I get the following error message:

/usr/bin/install -c python /usr/local/bin/python2.5
/usr/bin/install: cannot create regular file `/usr/local/bin/python2.5': Permiss
ion denied
make: *** [altbininstall] Error 1

Help will be much appreciated.

closed as too localized by Takkat, hexafraction, Tom Brossman, Anwar, Jjed Oct 1 '12 at 13:49

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • You do realize that Python is installed per default? Any reason you need Python 2.5.4? – Takkat Sep 30 '12 at 19:06
  • I need this version specifically for educational purposes, link.. – Muhammad Sep 30 '12 at 19:09
  • 1
    problem solved using sudo make install – Muhammad Sep 30 '12 at 19:15
  • To people considering close-voting: This has an answer and will be potentially useful others. Rather than casting a close vote, I recommend upvoting the answer that solved the problem. – Eliah Kagan Oct 1 '12 at 1:21

You need to make

sudo make install

Without using sudo, you do not gain the root privileges necessary to install files in system directories.

  • @Muhammad What other problem you are facing now – Anwar Oct 1 '12 at 5:18
  • @Anwar could find the IDLE for python 2.5.4, I am using it by typing python2.5 in the Terminal, any solution for that?? – Muhammad Oct 1 '12 at 19:43
  • @Muhammad I suggest you to ask another question regarding this new problem and also mention about this question there. – Anwar Oct 1 '12 at 19:44

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