In this tutorial, we will show you how to install Terminalizer on Ubuntu 20.04 LTS. For those of you who didn’t know, Terminalizer is a very useful terminal recording tool designed for different distributions of the Linux operating system. Terminalizer works in the same way as a desktop screen recorder but instead runs in your terminal. It has the capability to record all the activities that you perform on the Linux terminal and then save them in the form of an animated GIF.
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 Terminalizer on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.
Prerequisites
- A server running one of the following operating systems: Ubuntu 20.04, 18.04, and any other Debian-based distribution like Linux Mint or elementary OS.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Terminalizer on Ubuntu 20.04 LTS Focal Fossa
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 sudo apt install build-essential
Step 2. Installing Node.js.
Now we install Node.js and npm to your Ubuntu system:
sudo apt install nodejs
Upon successful installation of node.js, you can verify the version of Node.js using the command below:
nodejs --version
Next, install npm which is the package manager for Node.js:
sudo apt install npm
To verify npm’s version run:
npm --version
Step 3. Installing Terminalizer on Ubuntu 20.04.
Once all dependencies have been installed, proceed to install Terminalizer on your Ubuntu system using the npm package manager:
sudo npm install -g terminalizer
Step 4. Using Terminalizer.
Once the installation completes, you can start recording your Linux terminal using the record command as shown:
terminalizer record test
Output:
The recording session has started Press Ctrl+D to exit and save the recording
After stopping the recording, a new file called test.yml
will be created in the current working directory. You can replay your recording using the play command below:
terminalizer play test
To render your recording as an animated gif, use the render command as shown:
sudo terminalizer render test
Congratulations! You have successfully installed Terminalizer. Thanks for using this tutorial for installing the Terminalizer on Ubuntu 20.04 LTS Focal Fossa system. For additional help or useful information, we recommend you check the official Terminalizer website.