tsmarty2c command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tsmarty2c: command not found
or when using sudo you get the following error message
sudo: tsmarty2c: command not found
Solutions to tsmarty2c: command not found
How To Fix tsmarty2c: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tsmarty2c is provided by tsmarty2c package.
tsmarty2c is:
Smarty Gettext is a Smarty plugin providing internationalization support based on the standard gettext mechanism. Smarty is a popular PHP templating engine.
This package contains the tsmarty2c program: it lets you extract localizable strings from a Smarty template so that you can use the normal gettext tools afterwards.
To fix this problem, we can install more using the command below.
sudo apt-get -y install tsmarty2c
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tsmarty2c.
sudo apt -y install tsmarty2c
Or if you have aptitude installed you can use the following command.
sudo aptitude install tsmarty2c
Summary
In this tutorial we learn how to fix tsmarty2c command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.