How To Install xterm on Ubuntu 20.04
Introduction
In this tutorial we learn how to install xterm
on Ubuntu 20.04.
What is xterm
xterm is:
xterm is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals for programs that cannot use the window system directly. This version implements ISO/ANSI colors and most of the control sequences used by DEC VT220 terminals.
This package provides four commands: xterm, which is the traditional terminal emulator; uxterm, which is a wrapper around xterm that is intelligent about locale settings (especially those which use the UTF-8 character encoding), but which requires the luit program from the x11-utils package; koi8rxterm, a wrapper similar to uxterm for locales that use the KOI8-R character set; and lxterm, a simple wrapper that chooses which of the previous commands to execute based on the user’s locale settings.
A complete list of control sequences supported by the X terminal emulator is provided in /usr/share/doc/xterm.
The xterm program uses bitmap images provided by the xbitmaps package.
Those interested in using koi8rxterm will likely want to install the xfonts-cyrillic package as well. Task: xubuntu-core, xubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop
Package: xterm Architecture: amd64 Version: 353-1ubuntu1 Multi-Arch: foreign Priority: optional Section: universe/x11 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian X Strike Force [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2274 Provides: x-terminal-emulator Depends: xbitmaps, libc6 (>= 2.15), libfontconfig1 (>= 2.12.6), libfreetype6 (>= 2.2.1), libice6 (>= 1:1.0.0), libtinfo6 (>= 6), libutempter0 (>= 1.1.5), libx11-6, libxaw7, libxext6, libxft2 (» 2.1.1), libxinerama1, libxmu6, libxpm4, libxt6 Recommends: x11-utils Suggests: xfonts-cyrillic Filename: pool/universe/x/xterm/xterm_353-1ubuntu1_amd64.deb Size: 764744 MD5sum: 0d4d731615670162fbe7dfc081cd20ce SHA1: 53c2f318a9f6db9868f5ae133712b4634671df18 SHA256: 495e901134d937021321131ec817ca0922daaea5724f178de2b9074ed98b8078 Homepage: https://invisible-island.net/xterm/xterm.html Description-en: X terminal emulator xterm is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals for programs that cannot use the window system directly. This version implements ISO/ANSI colors and most of the control sequences used by DEC VT220 terminals.
This package provides four commands: xterm, which is the traditional terminal emulator; uxterm, which is a wrapper around xterm that is intelligent about locale settings (especially those which use the UTF-8 character encoding), but which requires the luit program from the x11-utils package; koi8rxterm, a wrapper similar to uxterm for locales that use the KOI8-R character set; and lxterm, a simple wrapper that chooses which of the previous commands to execute based on the user’s locale settings.
A complete list of control sequences supported by the X terminal emulator is provided in /usr/share/doc/xterm.
The xterm program uses bitmap images provided by the xbitmaps package.
Those interested in using koi8rxterm will likely want to install the xfonts-cyrillic package as well. Task: xubuntu-core, xubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop
There are three methods to install xterm
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install xterm Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install xterm
using apt-get
by running the following command:
sudo apt-get -y install xterm
Install xterm Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install xterm
using apt
by running the following command:
sudo apt -y install xterm
Install xterm Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install xterm
using aptitude
by running the following command:
sudo aptitude -y install xterm
How To Uninstall xterm on Ubuntu 20.04
To uninstall only the xterm
package we can use the following command:
sudo apt-get remove xterm
Uninstall xterm And Its Dependencies
To uninstall xterm
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove xterm
Remove xterm Configurations and Data
To remove xterm
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge xterm
Remove xterm configuration, data, and all of its dependencies
We can use the following command to remove xterm
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xterm
References
Summary
In this tutorial we learn how to install xterm
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.