LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-13-2003, 01:29 PM   #1
causticmtl
Member
 
Registered: May 2003
Distribution: Slackware 10.0
Posts: 41

Rep: Reputation: 15
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.
 
Old 07-13-2003, 05:52 PM   #2
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 247

Rep: Reputation: 31
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.
 
Old 07-13-2003, 08:12 PM   #3
causticmtl
Member
 
Registered: May 2003
Distribution: Slackware 10.0
Posts: 41

Original Poster
Rep: Reputation: 15
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
 
Old 07-13-2003, 10:33 PM   #4
Angelo
Member
 
Registered: Mar 2003
Location: Connecticut
Distribution: Slackware, OpenBSD
Posts: 60

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
where are tcl.h and tk.h?? kartheekpn Linux - Software 1 05-21-2005 10:08 AM
Tcl/Tk 8.4.7 dakota rob Solaris / OpenSolaris 3 10-27-2004 03:51 PM
What is tcl.h? divoibs Red Hat 3 09-25-2004 10:37 AM
TCL/TK vs. Qt liguorir Linux - Software 1 02-12-2004 05:54 AM
Tcl help anyone? CanadianPenguin Programming 4 12-30-2003 06:42 PM


All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration