I've created a chroot with the help of jailkit and now I'm trying to install some other libraries and tools.
First I tried to install
clear library. I've copied the file from the
/bin folder and copied the dependencies to the chroot. However, when I entered the
clear command, it says:
TERM environment variable not set.
So, when I'm logged in as root, the value of
xterm-256color. But when I enter
export TERM=xterm-256color, it says unknown terminal type.
What should I do?