How To Install asciinema on CentOS 8

Hostnbit
asciinema is Terminal session recorder

Introduction

In this tutorial we learn how to install asciinema on CentOS 8.

What is asciinema

Asciinema is a free and open source solution for recording the terminal sessions and sharing them on the web.

We can use yum or dnf to install asciinema on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install asciinema.

Install asciinema on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install asciinema using dnf by running the following command:

sudo dnf -y install asciinema

Install asciinema on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install asciinema using yum by running the following command:

sudo yum -y install asciinema

How To Uninstall asciinema on CentOS 8

To uninstall only the asciinema package we can use the following command:

sudo dnf remove asciinema

asciinema Package Contents on CentOS 8

/usr/bin/asciinema
/usr/lib/python3.6/site-packages/asciinema
/usr/lib/python3.6/site-packages/asciinema-2.0.2-py3.6.egg-info
/usr/lib/python3.6/site-packages/asciinema-2.0.2-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/asciinema-2.0.2-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/asciinema-2.0.2-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/asciinema-2.0.2-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/asciinema-2.0.2-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/asciinema/__init__.py
/usr/lib/python3.6/site-packages/asciinema/__main__.py
/usr/lib/python3.6/site-packages/asciinema/__pycache__
/usr/lib/python3.6/site-packages/asciinema/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/api.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/api.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/http_adapter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/http_adapter.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/player.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/player.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/pty.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/pty.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/term.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/term.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/urllib_http_adapter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/__pycache__/urllib_http_adapter.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/api.py
/usr/lib/python3.6/site-packages/asciinema/asciicast
/usr/lib/python3.6/site-packages/asciinema/asciicast/__init__.py
/usr/lib/python3.6/site-packages/asciinema/asciicast/__pycache__
/usr/lib/python3.6/site-packages/asciinema/asciicast/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/asciicast/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/asciicast/__pycache__/events.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/asciicast/__pycache__/events.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/asciicast/__pycache__/raw.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/asciicast/__pycache__/raw.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/asciicast/__pycache__/v1.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/asciicast/__pycache__/v1.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/asciicast/__pycache__/v2.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/asciicast/__pycache__/v2.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/asciicast/events.py
/usr/lib/python3.6/site-packages/asciinema/asciicast/raw.py
/usr/lib/python3.6/site-packages/asciinema/asciicast/v1.py
/usr/lib/python3.6/site-packages/asciinema/asciicast/v2.py
/usr/lib/python3.6/site-packages/asciinema/commands
/usr/lib/python3.6/site-packages/asciinema/commands/__init__.py
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/auth.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/auth.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/cat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/cat.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/command.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/command.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/play.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/play.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/record.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/record.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/upload.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/__pycache__/upload.cpython-36.pyc
/usr/lib/python3.6/site-packages/asciinema/commands/auth.py
/usr/lib/python3.6/site-packages/asciinema/commands/cat.py
/usr/lib/python3.6/site-packages/asciinema/commands/command.py
/usr/lib/python3.6/site-packages/asciinema/commands/play.py
/usr/lib/python3.6/site-packages/asciinema/commands/record.py
/usr/lib/python3.6/site-packages/asciinema/commands/upload.py
/usr/lib/python3.6/site-packages/asciinema/config.py
/usr/lib/python3.6/site-packages/asciinema/http_adapter.py
/usr/lib/python3.6/site-packages/asciinema/player.py
/usr/lib/python3.6/site-packages/asciinema/pty.py
/usr/lib/python3.6/site-packages/asciinema/term.py
/usr/lib/python3.6/site-packages/asciinema/urllib_http_adapter.py
/usr/share/doc/asciinema
/usr/share/doc/asciinema/CHANGELOG.md
/usr/share/doc/asciinema/CODE_OF_CONDUCT.md
/usr/share/doc/asciinema/CONTRIBUTING.md
/usr/share/doc/asciinema/README.md
/usr/share/doc/asciinema/asciicast-v1.md
/usr/share/doc/asciinema/asciicast-v2.md
/usr/share/licenses/asciinema
/usr/share/licenses/asciinema/LICENSE
/usr/share/man/man1/asciinema.1.gz

References

Summary

In this tutorial we learn how to install asciinema on CentOS 8 using yum and dnf.

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top