Tool Command Language -- A dynamic programming language.
- The Core Planners: [email protected]
Binary package
Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.
To add core/tcl as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/tcl)
pkg_deps=(core/tcl)
To install this plan, you should run the following commands to first install, and then link the binaries this plan creates.
hab pkg install core/tcl
» Installing core/tcl
☁ Determining latest version of core/tcl in the 'stable' channel
☛ Verifying core/tcl/8.6.9/20200306004342
...
✓ Installed core/tcl/8.6.9/20200306004342
★ Install of core/tcl/8.6.9/20200306004342 complete with 1 new packages installed.
hab pkg binlink core/tcl
» Binlinking tclsh8.6 from core/tcl into /bin
★ Binlinked tclsh8.6 from core/tcl/8.6.9/20200306004342 to /bin/tclsh8.6
» Binlinking tclsh from core/tcl into /bin
★ Binlinked tclsh from core/tcl/8.6.9/20200306004342 to /bin/tclsh
» Binlinking sqlite3_analyzer from core/tcl into /bin
★ Binlinked sqlite3_analyzer from core/tcl/8.6.9/20200306004342 to /bin/sqlite3_analyzer
You can now use the binary as normal:
echo "puts {hello, world}" | /bin/tclsh
or echo "puts {hello, world}" | tclsh
hello, world