How to install Python Tkinter in Gentoo Linux

Tkinter is a library for Python, and is not set to install by default in Gentoo Linux. Tkinter is required by a number of programs such as Inkscape.

=Install= The way to get tkinter is to set the use flag tk for dev-lang/python: * * If you have just upgraded from an older version of python you * will need to run: * * /usr/sbin/python-updater * * This will automatically rebuild all the python dependent modules * to run with python-2.4. * * Your original Python is still installed and can be accessed via * /usr/bin/python2.x. *
 * Edit /etc/portage/package.use
 * Set the USE flag by adding a new line for python:
 * dev-lang/python tk
 * in the past the flag for Tkinter was tcltk
 * Recompile python
 * emerge --newuse python
 * Message from emerge output

=References=
 * http://linuxlah.blogspot.com/2005/11/how-to-install-tkinter-at-gentoo-linux.html

From HowTo Wiki, a Wikia wiki.