把emerge给干掉了,衰啊
时间:2009-08-10 来源:lifefocus
今天干了个破事,闲python-updater麻烦,就把python的低版本给干掉了,结果emerge不能用了,重新安装python也不行了,只好手动安装
cd /usr/portage/distfiles
wget http://dinsdale.python.org/ftp/python/2.6/Python-2.6.tar.bz2 cd
tar xzf Python-2.6.tgz
cd Python-2.6
./configure --with-fpectl --infodir=/usr/share/info/ --mandir=/usr/share/man
make
make install prefix=/usr
rm /usr/bin/python 2>/dev/null
ln -s /usr/bin/python2 /usr/bin/python
不过这样安装的不会进入portage管理库,需要重新安装python emerge =dev-lang/python-2.6.2-r1
cd /usr/portage/distfiles
wget http://dinsdale.python.org/ftp/python/2.6/Python-2.6.tar.bz2 cd
tar xzf Python-2.6.tgz
cd Python-2.6
./configure --with-fpectl --infodir=/usr/share/info/ --mandir=/usr/share/man
make
make install prefix=/usr
rm /usr/bin/python 2>/dev/null
ln -s /usr/bin/python2 /usr/bin/python
不过这样安装的不会进入portage管理库,需要重新安装python emerge =dev-lang/python-2.6.2-r1
相关阅读 更多 +