LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   tcl/tk on Slackware 9.0 (https://www.linuxquestions.org/questions/slackware-14/tcl-tk-on-slackware-9-0-a-72335/)

causticmtl 07-13-2003 12:29 PM

tcl/tk on Slackware 9.0
 
Hey all,

I need to write a simple "cash register" program that would save "receipts" as small text files. At first, I though of doing this in BASH using Dialog that comes intalled with Slackware 9.0. Then I figured it might be wiser to do it in python.

I'm quite new to Slackware and to Linux as a whole. One of the more interesting (pleasant) experiences I've had using Slackware 9.0 is that whenever I wanted to poke around with something like Apache or MySQL or PHP, lo-and-behold it's already installed. I just need to alter some configuration files to get things rolling.

Now, I know python and tcl are installed. I get a specific prompt when typing either at CLI. Tk however, does not seem to be installed. I downloaded some tk demos and they crashed looking for wish4.1. After an slocate wish, nothing turned up.

Do I need to install tk? There is an entry for it under /usr/doc so I'm not entirely sure how to proceed.

Rodrin 07-13-2003 04:52 PM

If you picked "everything" for your Slackware 9.0 install, then Tk 8.4.2 should already be installed. Wish is part of the Tk package, however, and is on my computer from my Slack 9.0 install, so it would seem that you didn't get it for some reason. If you want to look to see whether a particular package is installed on your computer, then you can run pkgtool as root and pick the view option from the menu. You can skip down to packages that start with a particular letter by simply typing that letter on your keyboard. If you find that Tk is not installed you may be able to install it from your Slackware CD. If not, you can download it from a Slackware mirror. It is in the slackware9.0/slackware/tcl directory.

causticmtl 07-13-2003 07:12 PM

Thanks Rodrin. I can't believe I didn't think of doing that.

Anyhow, for those of you searching the forums for an answer to this, wish is located in /usr/bin

Angelo 07-13-2003 09:33 PM

Quote:

Originally posted by Rodrin
If you want to look to see whether a particular package is installed on your computer, then you can run pkgtool as root and pick the view option from the menu.
Alternatively you could look in /var/log/packages :)


All times are GMT -5. The time now is 08:47 AM.