I want to install the math package.
I tried
apt install tcl-math
but that doesn't work. Does anyone know the correct name?
ted brown <tedbrown888@gmail.com> wrote:
I want to install the math package.
I tried
apt install tcl-math
but that doesn't work. Does anyone know the correct name?
There's a 'math' package that is part of Tcllib. If that is the one
you mean, then unless Ubuntu chops Tcllib up into individual modules,
you'd want to install tcllib.
On 9/16/2021 3:28 PM, Rich wrote:
ted brown <tedbrown888@gmail.com> wrote:
I want to install the math package.
I tried
apt install tcl-math
but that doesn't work. Does anyone know the correct name?
There's a 'math' package that is part of Tcllib. If that is the one
you mean, then unless Ubuntu chops Tcllib up into individual modules,
you'd want to install tcllib.
On windows, I simply say this using one of Ashok's tclkits
package require math
However, on my ubuntu (actually pop-os, but that's ubuntu)
[1357]$ rlwrap tclsh
% package require math
can't find package math
I couldn't run [package require Thread] either until I did:
# apt install tcl-thread
which if I do again, it says this
tcl-thread is already the newest version (1:2.8.4-1).
So, that's when I tried:
# apt install tcl-math
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package tcl-math
On 9/16/2021 3:28 PM, Rich wrote:
ted brown <tedbrown888@gmail.com> wrote:
I want to install the math package.
I tried
apt install tcl-math
but that doesn't work. Does anyone know the correct name?
There's a 'math' package that is part of Tcllib. If that is the one
you mean, then unless Ubuntu chops Tcllib up into individual modules,
you'd want to install tcllib.
On windows, I simply say this using one of Ashok's tclkits
package require math
However, on my ubuntu (actually pop-os, but that's ubuntu)
[1357]$ rlwrap tclsh
% package require math
can't find package math
% package require Math
can't find package Math
% package require tcllib
can't find package tcllib
% package require Tcllib
can't find package Tcllib
% package require Thread
2.8.4
I couldn't run [package require Thread] either until I did:
# apt install tcl-thread
which if I do again, it says this
tcl-thread is already the newest version (1:2.8.4-1).
So, that's when I tried:
# apt install tcl-math
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package tcl-math
At Thu, 16 Sep 2021 16:24:42 -0700 ted brown <tedbrown888@gmail.com> wrote:
On 9/16/2021 3:28 PM, Rich wrote:
ted brown <tedbrown888@gmail.com> wrote:
I want to install the math package.
I tried
apt install tcl-math
but that doesn't work. Does anyone know the correct name?
There's a 'math' package that is part of Tcllib. If that is the one
you mean, then unless Ubuntu chops Tcllib up into individual modules,
you'd want to install tcllib.
This is your answer:
apt install tcllib
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 26:02:45 |
Calls: | 6,448 |
Files: | 12,050 |
Messages: | 5,254,426 |