2

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.

4
  • You do realize that Python is installed per default? Any reason you need Python 2.5.4?
    – Takkat
    Sep 30, 2012 at 19:06
  • I need this version specifically for educational purposes, link..
    – Muhammad
    Sep 30, 2012 at 19:09
  • 1
    problem solved using sudo make install
    – Muhammad
    Sep 30, 2012 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. Oct 1, 2012 at 1:21

1 Answer 1

3

You need to make

sudo make install

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

3
  • @Muhammad What other problem you are facing now
    – Anwar
    Oct 1, 2012 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, 2012 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, 2012 at 19:44

Not the answer you're looking for? Browse other questions tagged .