내 ubuntu16.04 시스템에 tcl/tk8.4 버전을 설치하려고합니다. apt-get install 명령을 완료 한 후. 내가 tclsh 명령을 입력하면. 이 오류 메시지는 다음과 같이 말합니다. 'tclsh'프로그램이 현재 설치되지 않았습니다. 입력하여 설치할 수 있습니다. sudo atp-get 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
여기서 환경 변수를 설정해야합니까? 제발 제안 해주세요.
8.4로 다운 그레이드하려는 이유가 무엇입니까? Tcl은 다른 언어와 달리 매우 호환성이 있습니다. 8.6에서 tcl 7.0 프로그램을 아무 문제없이 실행할 수 있습니다. 어쨌든 최근 버전의 bash 캐시는 실행 파일에 대한 경로입니다. 일반적으로이 문제를 해결하려면 터미널을 닫고 다른 터미널을 열면됩니다. – slebetman
@slebetman : 네, spirent test center linux env를 설치해야합니다. tv 8.4 ~ 8.5.14의 하위 버전을 지원합니다. STC 사양에 언급되어 있습니다. –