Installing Python 2.7 without root

前端 未结 5 1070
伪装坚强ぢ
伪装坚强ぢ 2020-12-14 04:17

I tried installing Python 2.7 without root on a remote linux machine. I ran the commands

./configure prefix=/  
make install DESTDIR=/xxx/yyy/ 
5条回答
  •  执念已碎
    2020-12-14 04:55

    Instead of building from source manually, I'd suggest letting linuxbrew do the build for you. DigitalOcean has a nice tutorial on installing linuxbrew. Once that's complete, you can just say brew install python and have a nicely managed python installation, including pip.

提交回复
热议问题