To bring tcl/tk programming language and some database connectivity for tcl on OpenBSD do command below as root :
pkg_add tcl tk sqlite3-tcl pgtcl
OpenBSD 6.6 can install tcl/tk 8.5 and 8.6.
Two extra package named sqlite3-tcl and pgtcl will give tcl capability to work with sqlite3 database and postgresql database.
Tdbc also a good choice for database connectivity. Tdbc packages on OpenBSD available for mysql, postgres, sqlite3. To add tdbc , we can do pkg_add tdbc-postgres tdbc-mysql tdbc-sqlite3.
Later will write more about tcl/tk.