In this tutorial, we will show you how to install WezTerm on Ubuntu 22.04 LTS. In the world of Linux, having a powerful and versatile terminal emulator can greatly enhance your workflow and productivity. One such standout terminal emulator is WezTerm. It offers a modern and feature-rich environment for your command-line tasks.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the WezTerm terminal emulator on Ubuntu 22.04. You can follow the same instructions for Ubuntu 22.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well.
- A server running one of the following operating systems: Ubuntu 22.04, 20.04, and any other Debian-based distribution like Linux Mint.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for WezTerm.
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install WezTerm on Ubuntu 22.04 LTS Jammy Jellyfish
Step 1. First, make sure that all your system packages are up-to-date by running the following
apt commands in the terminal.
sudo apt update sudo apt upgrade
Step 2. Installing WezTerm on Ubuntu 22.04.
- Method 1. Install WezTerm using Flatpak √
Flatpak is a universal packaging system that allows you to install applications across different Linux distributions. You can install Flatpak on Ubuntu 22.04 LTS using the following command:
sudo apt install flatpak
After installing Flatpak, you need to add the Flathub repository to your system using the following command:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Verify Flatpak installation:
flatpak – version
Once Flatpak is installed on your system, you can install WezTerm using the following command:
flatpak install flathub org.wezfurlong.wezterm
For additional resources on installing Flatpak, read the post below:
- Method 2: Building from the source.
Building WezTerm from source requires some technical knowledge and may take longer than using the Snap package manager. However, it allows you to customize the installation and use the latest version of WezTerm.
First, install the dependencies required to build WezTerm by running the following command:
sudo apt install build-essential cmake libfreetype6-dev libfontconfig1-dev xclip
Clone the WezTerm repository by running the following command:
git clone https://github.com/wez/wezterm.git
Change to the WezTerm directory by running the following command:
Build WezTerm by running the following command:
cargo build --release
Install WezTerm by running the following command:
sudo cp target/release/wezterm /usr/local/bin/
Step 3. Accessing WezTerm on Ubuntu.
Once you have successfully installed WezTerm on your Ubuntu 22.04 system, you can open WezTerm by searching for it in the Ubuntu application menu or by running the following command in the terminal:
Alternatively, Flatpak users must launch using the command below from a terminal instance:
flatpak run org.wezfurlong.wezterm
Congratulations! You have successfully installed WezTerm. Thanks for using this tutorial for installing the WezTerm terminal emulator on the Ubuntu system. For additional help or useful information, we recommend you check the official WezTerm website.