How to Install Hyper.js Terminal on CentOS 8

29/12/2020
Hyper terminal is built with web technologies such as HTML, CSS, JavaScript, Electron.js etc. It looks very modern and has lots of customization options. In this article, I am going to show you how to install Hyper terminal on CentOS 8. So, let’s get started.

Downloading Hyper Terminal:

Hyper terminal is not available in the official package repository of CentOS 8. But you can easily download it from the official website of Hyper terminal and install it on CentOS 8 very easily.

First, visit the official website of Hyper terminal from your favorite browser and click on Download.

Now, click on the AppImage download link  as marked in the screenshot below.

Your browser should prompt you to save the Hyper AppImage file. Click on Save File.

Your browser should start downloading Hyper AppImage file. It may take a while to complete.

Installing Hyper Terminal Dependencies:

Hyper AppImage depends on libXss.so.1. It may not be available on your CentOS 8 machine. libXss.so.1 is available in the libXScrnSaver package. So, make sure you have libXScrnSaver package installed on your CentOS 8 machine.

You can install libXScrnSaver package using DNF package manager as follows:

$ sudo dnf install libXScrnSaver

To confirm the installation, press Y and then press <Enter>.

libXScrnSaver should be installed.

Installing Hyper Terminal:

Once Hyper AppImage is downloaded and libXScrnSaver is installed, navigate to the ~/Downloads directory as follows:

$ cd ~/Downloads

As you can see, the Hyper AppImage file hyper-3.0.2-x86_64.AppImage is there.

$ ls -lh

Now, add execute permission to the Hyper AppImage file hyper-3.0.2-x86_64.AppImage as follows:

$ chmod +x hyper-3.0.2-x86_64.AppImage

Now, hyper-3.0.2-x86_64.AppImage file should have execute permission.

Now, you have to move the Hyper AppImage file to somewhere safe. So, you won’t accidentally delete it.

I’ve decided to put the Hyper AppImage file in ~/.local/apps/ directory in this article. It should be a safe enough directory.

First, create the directory ~/.local/apps/ with the following command:

$ mkdir ~/.local/apps

Now, move the Hyper AppImage to the newly create directory ~/.local/apps/ with the following command:

$ mv -v hyper-3.0.2-x86_64.AppImage ~/.local/apps/

The Hyper AppImage file should be moved to the newly created directory.

Now, run Hyper AppImage app as follows:

$ ~/.local/apps/hyper-3.0.2-x86_64.AppImage

On first run, it will ask you whether you want to create a desktop shortcut for easily accessing Hyper terminal later. Click on Yes.

Hyper terminal should start.

Starting Hyper Terminal:

Once Hyper terminal is installed, you can start Hyper terminal from the Application Menu of CentOS 8.

Hyper terminal should start.

You can run any command you like on Hyper terminal as you usually do in other terminal apps. No difference there.

Hyper Terminal Configuration File:

The configuration file of Hyper terminal is in the path ~/.hyper.js

To configure Hyper terminal, open Hyper terminal and click on the hamburger menu.

Then, go to Edit > Preferences…

Hyper configuration file ~/.hyper.js should be opened with your default text editor. It is a nicely formatted JSON file. It is very self-explanatory. You should be able to configure it very easily.

But if you need any assistance configuring Hyper terminal, please check the article How to Install and Use Hyper Terminal on Ubuntu 18.04 LTS at LinuxHint.com.

Installing Rainglow Themes on Hyper Terminal:

Rainglow has a rich set of color schemes. Rainglow officially supports Hyper terminal. You can easily install Rainglow plugin on Hyper terminal.

First, install Git with the following command:

$ sudo dnf install git

To confirm the installation, press Y and then press <Enter>.

Git should be installed.

Now, navigate to the local plugins directory of Hyper terminal as follows:

$ cd ~/.hyper_plugins/local

Now, clone the Rainglow Hyper git repository with the following command:

$ git clone https://github.com/rainglow/hyper.git rainglow

The Rainglow Git repository should be cloned.

A new directory rainglow/ should be created.

Now, open the Hyper configuration file ~/.hyper.js and scroll to the end of the configuration file. Find the localPlugins parameter and add rainglow there as marked in the screenshot below.

Now, go to the top of the configuration file and after the updateChannel property, add a new property rainglow.

The format of the rainglow property:

rainglow: ‘THEME_NAME’

Here I’ve set the peacock theme.

All the themes are saved in the ~/.hyper_plugins/local/rainglow/colors directory as you can see in the screenshot below.

$ ls ~/.hyper_plugins/local/rainglow/colors

You can go to the official Rainglow Preview website to find out how each theme looks like. Every Rainglow theme has 3 variants,

  • Normal (Dark)
  • Light
  • Contrast

I went to the Rainglow Preview website and I really liked the Earthsong theme. Let’s set this theme on Hyper terminal.

You can find the theme file name (in my case Earthsong) using grep as follows:

$ ls ~/.hyper_plugins/local/rainglow/colors/ | grep earth

As you can see, the theme I picked has 3 files earthsong-contrast.js (Contrast variant), earthsong.js (Normal variant) and earthsong-light.js (Light variant).

To set the earthsong.js theme file on Hyper terminal, set the rainglow parameter to earthsong (without the .js extension) as you can see in the screenshot below.

The same way, to set the earthsong-light.js theme, set rainglow parameter to earthsong-light as you can see in the screenshot below.

To set the earthsong-contrast.js theme, set rainglow parameter to earthsong-contrast as you can see in the screenshot below.

So, that’s how you install Hyper terminal on CentOS 8. Thanks for reading this article.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

[Ubuntu 18.4] Hướng dẫn đặt địa chỉ IP trên Ubuntu 18.4

Chắc hẳn nhiều người đã không còn xa lạ với thao tác cấu hình địa chỉ IP bằng CLI trong các...
30/12/2020

Jitsi [Part 4] – Hướng dẫn các thao tác sử dụng trong phòng họp trực tuyến

Trong bài viết trước, Onet đã hướng dẫn cách tạo và thiết lập cơ bản cho phòng họp trên Jitsi. Hôm...
30/12/2020

Nextcloud [Part 6] – Cài đặt App tính năng trên NextCloud

Mục lục : Quản lý App trên NextCloud Cài đặt ứng dụng trên NextCloud 1. Quản lý App trên...
30/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Tìm Hiểu Về Thuê Proxy US – Lợi Ích và Cách Sử Dụng Hiệu Quả
11/12/2024

Mua Proxy V6 Nuôi Facebook Spam Hiệu Quả Tại Onetcomvn
03/06/2024

Hướng dẫn cách sử dụng ProxyDroid để duyệt web ẩn danh
03/06/2024

Mua proxy Onet uy tín tại Onet.com.vn
03/06/2024

Thuê mua IPv4 giá rẻ, tốc độ nhanh, uy tín #1
28/05/2024