I was wanting to tinker around with TCL/TK programming.
I tried to invoke the wish shell, but got this error:
$ wish
The program 'wish' is currently not installed. You can install it by typing:
sudo apt-get install tk
So, I tried to apt-get install tk:
$ sudo apt-get install tk
Reading package lists... Done
Building dependency tree
Reading state information... Done
tk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
But it's already installed...
Where did wish go?
UPDATE:
I installed some python-tk packages and now I have wish, but I don't know which package provided it.
However, here is the information requested by the two posters:
Update Alternatives Output:
$ update-alternatives --list wish
update-alternatives: error: no alternatives for wish
LSB Release info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
And now, due to the python-tk packages, when I run the which command I get:
$ which -a wish
/usr/bin/wish
Lastly, here's where it gets interesting, I asked dpkg who is providing /bin/wish:
$ dpkg -S /usr/bin/wish
tk: /usr/bin/wish
I can only imagine than something was corrected during the install of the python-tk packages... Otherwise, I'm stumped... But at least it's working now...
update-alternatives --list wish
? Please add it to your original post using the 'edit' button. – steeldriver Aug 24 '14 at 22:43lsb_release -a
,which -a wish wish8.6 wish8.5 wish8.4
, andecho $PATH
? – Eliah Kagan Aug 24 '14 at 22:49