문제

I want to install django 1.4, but the default install version is 1.3.2, how can I change the version to install.

I only know that to change dir to /usr/portage/dev-python/django and install the django1.4's .ebuild file

Is there another way? I read the use flag document but not found the way...

도움이 되었습니까?

해결책

Like this :

emerge =django-1.4

다른 팁

You can check what package versions are available:

equery list -po vim

Select required package with atom notation

emerge -av =app-editors/vim-7.4.273

emerge -av =dev-python/django-1.4

As long as there is an ebuild available, it will be merged or show a hint about unmasking the requested version number. For our example this should do the trick:

echo =dev-python/django-1.4 >> /etc/portage/package.keywords

To stick with that version, be sure to mask higher versions by adding an entry to /etc/portage/package.mask:

echo >=dev-python/django-1.4 >> /etc/portage/package.mask

but careful with that... it might break updates in the future...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top