tcldocstrip command not found

In this troubleshooting guide we learn how to fix tcldocstrip command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

tcldocstrip: command not found

or when using sudo you get the following error message

sudo: tcldocstrip: command not found

Solutions to tcldocstrip: command not found

How To Fix tcldocstrip: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tcldocstrip is provided by tcllib package.

tcllib is:

Tcllib, the standard Tcl library, is a collection of common utility functions and modules all written in high-level Tcl.

Modules included:

  • aes: advanced encryption standard
  • amazon-s3: Amazon S3 web service interface
  • asn: an ASN.1 encoder and decoder
  • base32: a base32 encoder and decoder
  • base64: a base64 encoder and decoder
  • bee: bittorrent serialization encoder and decoder
  • bench: benchmark tool
  • bibtex: parser for bibliographies in BibTeX format
  • blowfish: blowfish encryption
  • cache: asynchronous in-memory cache
  • clay: clay framework
  • clock: date/time utilities
  • cmdline: a command line argument processor similar to opt
  • comm: remote communications facility
  • control: procedures for control flow structures
  • coroutine: coroutine utilities
  • counter: provides a counter facility and can compute statistics and histograms over the collected data.
  • crc: checksum-calculation routines (crc32, cksum, sum)
  • cron: automating the period callback of commands
  • csv: functions to handle CSV (comma-separated values) data
  • debug: debug messages infrastructure
  • defer: deferred execution
  • des: DES and 3DES encryption
  • dicttool: dictionary tools
  • dns: DNS and resolver library-related functions
  • docstrip: tools for literate programming, often used with (La)TeX
  • doctools: documentation tools
  • dtplite: lightweight doctools markup processor
  • fileutil: Tcl implementations of some standard Unix utilities
  • ftp: Tcl interface to the FTP protocol
  • ftpd: implementation of functions needed for an FTP server
  • fumagic: file utilities
  • generator: Tcl generator commands
  • gpx: GPS eXchange Format (GPX)
  • grammar_aycock: Aycock-Horspool-Earley parser generator for Tcl
  • grammar_fa: finite automaton operations and usage
  • grammar_me: grammar operations and usage
  • grammar_peg: grammar operations and usage
  • hook: hooks
  • html: generate and control HTML tags
  • htmlparse: parse HTML strings
  • http: HTTP protocol helper modules
  • httpd: HTTP server
  • httpwget: tool to download files over HTTP
  • ident: client interface to the ident protocol
  • imap4: IMAP client
  • inifile: parsing of Windows INI files
  • interp: interpreter utilities
  • irc: low-level IRC protocol interface
  • javascript: Tcl shortcuts to create common javascript functions
  • jpeg: functions to query and modify JPEG images
  • json: JSON parser
  • lambda: utility commands for anonymous procedures
  • lazyset: lazy evaluation for variables and arrays
  • ldap: LDAP client and extended object interface
  • log: functions to log messages with various facilities and levels
  • map: mapping utilities
  • mapproj: map projection routines
  • markdown: Markdown processor
  • math: Tcl math library
  • md4: md4 hashing functions
  • md5: md5 hashing functions
  • md5crypt: md5 based password hashing
  • mime: a MIME encoder and decoder
  • multiplexer: message multiplexing
  • namespacex: namespace utility commands
  • ncgi: a new CGI processing module
  • nettool: tools for networked applications
  • nmea: NMEA protocol implementation
  • nns: name service facility
  • nntp: Tcl functions for the NNTP protocol
  • ntp: functions for an NTP client
  • oauth: oauth API base signature
  • oodialect: build TclOO based DSLs
  • oometa: data registry service for TclOO classes
  • ooutil: utility commands for TclOO
  • otp: RFC 2289 a one-time password system
  • page: parser generator
  • pki: RSA public key encryption
  • pluginmgr: plugin management
  • png: functions to query and modify PNG images
  • pop3: a POP3 protocol implementation
  • pop3d: a POP3 server implementation
  • practcl: tool for integrating large modules for C API Tcl code that requires custom Tcl types and TclOO objects
  • processman: manage child processes
  • profiler: a function level Tcl source code profiler
  • pt: parser tools
  • rc4: implementation of the RC4 stream cipher
  • rcs: RCS low level utilities
  • report: provides objects which can be used to generate and format reports
  • rest: a framework for RESTful web services
  • ripemd: RIPEMD message-digest algorithm
  • sasl: Simple Authentication and Security Layer implementation
  • sha1: sha1 hashing functions
  • simulation: Tcl simulation tools
  • smtpd: implementation of functions needed for an SMTP server
  • snit: snit’s not incr Tcl, OO system
  • soundex: comparison of words based on their phonetic likeness
  • stooop: simple Tcl-only object oriented programming scheme - provides C++/Java-like OOP interfaces
  • string: tokenize strings
  • stringprep: preparation of internationalized strings
  • struct: Tcl implementations of common data structures (tree, graph, etc)
  • tar: functions to manipulate tar files
  • tepam: Tcl’s enhanced procedure and argument manager
  • term: terminal control
  • textutil: string manipulation library
  • tie: framework for creating persistent Tcl arrays
  • tiff: TIFF image manipulation
  • tool: dictionary tools
  • tool::datatype: dictionary tools
  • tool-ui: abstractions to allow Tao to express Native Tk, HTML5, and Tao-Layout interfaces
  • transfer: data transfer facilities
  • treeql: tree query language
  • try: trap and process errors and exceptions
  • udpcluster: UDP peer-to-peer cluster
  • uev: user events
  • units: convert and manipulate quantities with units
  • uri: functions to generate and manipulate commonly-used URIs
  • uuid: generator of universally unique identifiers (UUID)
  • valtype: validation types
  • virtchannel: reflected/virtual channel support
  • websocket: implementation of the websocket protocol
  • wip: word interpreter
  • yaml: YAML format encoder/decoder
  • zip: working with zip archives

To fix this problem, we can install more using the command below.

sudo apt-get -y install tcllib

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install tcllib.

sudo apt -y install tcllib

Or if you have aptitude installed you can use the following command.

sudo aptitude install tcllib

Summary

In this tutorial we learn how to fix tcldocstrip command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.