Error opening terminal:xterm解决方法

1. For error message "Error opening terminal: linux"

mkdir -p /usr/share/terminfo/l

cd /usr/share/terminfo/l

ln -s /lib/terminfo/l/linux linux



2. For error message "Error opening terminal: xterm"

mkdir -p /usr/share/terminfo/x

cd /usr/share/terminfo/x

ln -s /lib/terminfo/x/xterm xterm



3. For error message "Error opening terminal: rxvt"

mkdir -p /usr/share/terminfo/r

cd /usr/share/terminfo/r

ln -s /lib/terminfo/r/rxvt rxvt



4. For error message "Error opening terminal: dumb"

mkdir -p /usr/share/terminfo/d

cd /usr/share/terminfo/d

ln -s /lib/terminfo/d/dumb dumb



5. For error message "Error opening terminal: Eterm"

mkdir -p /usr/share/terminfo/E

cd /usr/share/terminfo/E

ln -s /lib/terminfo/E/Eterm Eterm

你可能感兴趣的:(Ubuntu基础)