How To Install asciinema on Fedora 34

asciinema is Terminal session recorder

Introduction

In this tutorial we learn how to install asciinema on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install asciinema.

Install asciinema on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

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

sudo dnf remove asciinema

asciinema Package Contents on Fedora 34

/usr/bin/asciinema
/usr/lib/python3.9/site-packages/asciinema
/usr/lib/python3.9/site-packages/asciinema-2.0.2-py3.9.egg-info
/usr/lib/python3.9/site-packages/asciinema-2.0.2-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/asciinema-2.0.2-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/asciinema-2.0.2-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/asciinema-2.0.2-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/asciinema-2.0.2-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/asciinema/__init__.py
/usr/lib/python3.9/site-packages/asciinema/__main__.py
/usr/lib/python3.9/site-packages/asciinema/__pycache__
/usr/lib/python3.9/site-packages/asciinema/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/__main__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/__main__.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/api.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/api.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/http_adapter.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/http_adapter.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/player.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/player.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/pty.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/pty.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/term.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/term.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/urllib_http_adapter.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/__pycache__/urllib_http_adapter.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/api.py
/usr/lib/python3.9/site-packages/asciinema/asciicast
/usr/lib/python3.9/site-packages/asciinema/asciicast/__init__.py
/usr/lib/python3.9/site-packages/asciinema/asciicast/__pycache__
/usr/lib/python3.9/site-packages/asciinema/asciicast/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/asciicast/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/asciicast/__pycache__/events.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/asciicast/__pycache__/events.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/asciicast/__pycache__/raw.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/asciicast/__pycache__/raw.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/asciicast/__pycache__/v1.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/asciicast/__pycache__/v1.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/asciicast/__pycache__/v2.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/asciicast/__pycache__/v2.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/asciicast/events.py
/usr/lib/python3.9/site-packages/asciinema/asciicast/raw.py
/usr/lib/python3.9/site-packages/asciinema/asciicast/v1.py
/usr/lib/python3.9/site-packages/asciinema/asciicast/v2.py
/usr/lib/python3.9/site-packages/asciinema/commands
/usr/lib/python3.9/site-packages/asciinema/commands/__init__.py
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/auth.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/auth.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/cat.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/cat.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/command.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/command.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/play.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/play.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/record.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/record.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/upload.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/__pycache__/upload.cpython-39.pyc
/usr/lib/python3.9/site-packages/asciinema/commands/auth.py
/usr/lib/python3.9/site-packages/asciinema/commands/cat.py
/usr/lib/python3.9/site-packages/asciinema/commands/command.py
/usr/lib/python3.9/site-packages/asciinema/commands/play.py
/usr/lib/python3.9/site-packages/asciinema/commands/record.py
/usr/lib/python3.9/site-packages/asciinema/commands/upload.py
/usr/lib/python3.9/site-packages/asciinema/config.py
/usr/lib/python3.9/site-packages/asciinema/http_adapter.py
/usr/lib/python3.9/site-packages/asciinema/player.py
/usr/lib/python3.9/site-packages/asciinema/pty.py
/usr/lib/python3.9/site-packages/asciinema/term.py
/usr/lib/python3.9/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 Fedora 34 using yum and dnf.