Results 1 to 4 of 4

Thread: Installing tkInter Python Package - How To

  1. #1

    Default Installing tkInter Python Package - How To

    Hi I'm trying to install tkinter GUI for Python on my machine. I'm working in the Command Line Shell environment exclusively and I'm trying to get the tkinter Modules installed. I'm not exactly sure how to go about doing this, whether it is through YaST or not, but when I search for the package in YaST there are none found. I am VERY new to Linux and OpenSUSE and other than using YaST or zypper to install packages I'm not too clear on the steps involved. I'm not sure how to install the tkinter MODs or any Python MODS for that matter and any suggestions would be greatly appreciated. Thanks.

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Installing tkInter Python Package - How To

    Tkinter is installed by the package python-tk.
    Just open yast software management and search for tkinter (it searches by
    default the package name and the package description).
    From command line
    Code:
    su -
    zypper in python-tk
    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.4 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.4 | nVidia
    ION | 3GB Ram

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,513
    Blog Entries
    15

    Default Re: Installing tkInter Python Package - How To

    Hi
    python-tk?
    Code:
    zypper in python-tk
    You don't say what version of openSUSE your running?

    You can search for all the python modules via zypper se or zypper search <name>, then to install use zypper in or zypper install <name> as listed in the second column.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4

    Default Re: Installing tkInter Python Package - How To

    Thanks, "zypper in python-tk" worked fine. Appreciated

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •