Question

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...

Was it helpful?

Solution

Like this :

emerge =django-1.4

OTHER TIPS

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...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top