1
Linux는 이미 Python 2.7이 사전 설치되어 있지만 필자는 Python 3.5.2를 설치했는데 실제로 필요하지는 않습니다. 그래서 안전하게 시스템에서 제거하고 싶습니다. 어떻게해야합니까? Redhat Linux에서 Python 3.5.2 제거
나는 이전에이uninstall
스크립트해야하지만, 파이썬 정말이없는
wget https://www.python.orf.ftp/python/3.5.2/Python-3.5.2.tgz
tar -xvf Python-3.5.2.tgz
cd Python-3.5.2.tgz
./configure
make install
ls /usr/local/bin //python 3.5.2 is stored at this location
당신이 아니라면 정말 오래된 필요로 조심해야 할 수 공간, 왜 제거의 문제로 이동 (특히 당신이 당신이 _do_ 파이썬 3 필요) 실현 줄 길로? 단지'python'을'python2.7' 실행 파일에 연결하고 $ PYTHONPATH와 $ PYTHONHOME을 올바른 값으로 지정하십시오 (http://stackoverflow.com/questions/7850908/what-exactly-should-be-set-in -pythonpath). – boardrider