linux+tcl安装程序,程序'tclsh'目前没有安装?

我想在我的ubuntu16.04机器上安装tcl/tk8.4版本。完成apt-get install命令后。如果我输入tclsh命令。我得到这个错误消息说:程序'tclsh'目前没有安装。您可以通过键入来安装它。 sudo atp-get install tcl。程序'tclsh'目前没有安装?

The steps followed are as follows:

1. I have removed the latest tcl/tk8.6, using autoremove commands

[email protected]:~$ sudo apt-get install tk8.4 tcl8.4

[sudo] password for dccom:

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following additional packages will be installed:

libtk8.4

Suggested packages:

tcl-tclreadline

The following NEW packages will be installed:

libtk8.4 tcl8.4 tk8.4

0 upgraded, 3 newly installed, 0 to remove and 350 not upgraded.

Need to get 567 kB/581 kB of archives.

After this operation, 1.858 kB of additional disk space will be used.

Do you want to continue? [Y/n] Y

Get:1 http://id.archive.ubuntu.com/ubuntu xenial/universe i386 libtk8.4

i386 8.4.20-8 [556 kB]

Get:2 http://id.archive.ubuntu.com/ubuntu xenial/universe i386 tk8.4 i386

8.4.20-8 [11,5 kB]

Fetched 567 kB in 1s (331 kB/s)

Selecting previously unselected package libtk8.4:i386.

(Reading database ... 276714 files and directories currently installed.)

Preparing to unpack .../libtk8.4_8.4.20-8_i386.deb ...

Unpacking libtk8.4:i386 (8.4.20-8) ...

Selecting previously unselected package tcl8.4.

Preparing to unpack .../tcl8.4_8.4.20-8_i386.deb ...

Unpacking tcl8.4 (8.4.20-8) ...

Selecting previously unselected package tk8.4.

Preparing to unpack .../tk8.4_8.4.20-8_i386.deb ...

Unpacking tk8.4 (8.4.20-8) ...

Processing triggers for libc-bin (2.23-0ubuntu4) ...

Processing triggers for man-db (2.7.5-1) ...

Setting up libtk8.4:i386 (8.4.20-8) ...

Setting up tcl8.4 (8.4.20-8) ...

Setting up tk8.4 (8.4.20-8) ...

Processing triggers for libc-bin (2.23-0ubuntu4) ...

Error info:

[email protected]:~$ tclsh

The program 'tclsh' is currently not installed. You can install it by

typing:

sudo apt install tcl

我需要在这里设置任何环境变量吗?请建议。

+0

你想降级到8.4的任何原因?与其他语言不同,Tcl非常兼容。您可以在8.6上运行tcl 7.0程序而不会出现问题。无论如何,可执行文件的最新版本的bash缓存路径。通常你只需要关闭你的终端并打开另一个终端来解决这个问题。 –

+0

@slebetman:是的,我必须安装思博伦测试中心linux env,它支持较低版本的tcl 8.4到8.5.14。它在STC规范中提到。 –

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值