How To Install khal on Fedora 34

khal is CLI calendar application

Introduction

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

What is khal

Khal is a standards based CLI (console) calendar program. CalDAV compatibility is achieved by using vdir/vdirsyncer as a back-end, allowing syncing of calendars with a variety of other programs on a host of different platforms.

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

Install khal 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 khal using dnf by running the following command:

sudo dnf -y install khal

Install khal 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 khal using yum by running the following command:

sudo yum -y install khal

How To Uninstall khal on Fedora 34

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

sudo dnf remove khal

khal Package Contents on Fedora 34

/usr/bin/ikhal
/usr/bin/khal
/usr/lib/python3.9/site-packages/khal
/usr/lib/python3.9/site-packages/khal-0.9.10-py3.9.egg-info
/usr/lib/python3.9/site-packages/khal-0.9.10-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/khal-0.9.10-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/khal-0.9.10-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/khal-0.9.10-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/khal-0.9.10-py3.9.egg-info/not-zip-safe
/usr/lib/python3.9/site-packages/khal-0.9.10-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/khal-0.9.10-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/khal/__init__.py
/usr/lib/python3.9/site-packages/khal/__main__.py
/usr/lib/python3.9/site-packages/khal/__pycache__
/usr/lib/python3.9/site-packages/khal/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/__main__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/__main__.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/calendar_display.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/calendar_display.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/cli.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/cli.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/configwizard.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/configwizard.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/controllers.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/controllers.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/exceptions.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/exceptions.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/log.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/log.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/terminal.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/terminal.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/utils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/utils.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/version.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/__pycache__/version.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/calendar_display.py
/usr/lib/python3.9/site-packages/khal/cli.py
/usr/lib/python3.9/site-packages/khal/configwizard.py
/usr/lib/python3.9/site-packages/khal/controllers.py
/usr/lib/python3.9/site-packages/khal/exceptions.py
/usr/lib/python3.9/site-packages/khal/khalendar
/usr/lib/python3.9/site-packages/khal/khalendar/__init__.py
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/backend.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/backend.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/event.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/event.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/exceptions.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/exceptions.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/khalendar.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/khalendar.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/utils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/utils.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/vdir.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/__pycache__/vdir.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/khalendar/backend.py
/usr/lib/python3.9/site-packages/khal/khalendar/event.py
/usr/lib/python3.9/site-packages/khal/khalendar/exceptions.py
/usr/lib/python3.9/site-packages/khal/khalendar/khalendar.py
/usr/lib/python3.9/site-packages/khal/khalendar/utils.py
/usr/lib/python3.9/site-packages/khal/khalendar/vdir.py
/usr/lib/python3.9/site-packages/khal/log.py
/usr/lib/python3.9/site-packages/khal/settings
/usr/lib/python3.9/site-packages/khal/settings/__init__.py
/usr/lib/python3.9/site-packages/khal/settings/__pycache__
/usr/lib/python3.9/site-packages/khal/settings/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/settings/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/settings/__pycache__/exceptions.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/settings/__pycache__/exceptions.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/settings/__pycache__/settings.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/settings/__pycache__/settings.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/settings/__pycache__/utils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/settings/__pycache__/utils.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/settings/exceptions.py
/usr/lib/python3.9/site-packages/khal/settings/khal.spec
/usr/lib/python3.9/site-packages/khal/settings/settings.py
/usr/lib/python3.9/site-packages/khal/settings/utils.py
/usr/lib/python3.9/site-packages/khal/terminal.py
/usr/lib/python3.9/site-packages/khal/ui
/usr/lib/python3.9/site-packages/khal/ui/__init__.py
/usr/lib/python3.9/site-packages/khal/ui/__pycache__
/usr/lib/python3.9/site-packages/khal/ui/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/ui/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/ui/__pycache__/base.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/ui/__pycache__/base.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/ui/__pycache__/calendarwidget.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/ui/__pycache__/calendarwidget.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/ui/__pycache__/colors.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/ui/__pycache__/colors.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/ui/__pycache__/editor.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/ui/__pycache__/editor.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/ui/__pycache__/widgets.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khal/ui/__pycache__/widgets.cpython-39.pyc
/usr/lib/python3.9/site-packages/khal/ui/base.py
/usr/lib/python3.9/site-packages/khal/ui/calendarwidget.py
/usr/lib/python3.9/site-packages/khal/ui/colors.py
/usr/lib/python3.9/site-packages/khal/ui/editor.py
/usr/lib/python3.9/site-packages/khal/ui/widgets.py
/usr/lib/python3.9/site-packages/khal/utils.py
/usr/lib/python3.9/site-packages/khal/version.py
/usr/share/doc/khal
/usr/share/doc/khal/AUTHORS.txt
/usr/share/doc/khal/CONTRIBUTING.rst
/usr/share/doc/khal/README.rst
/usr/share/doc/khal/html
/usr/share/doc/khal/html/_images
/usr/share/doc/khal/html/_images/rss.png
/usr/share/doc/khal/html/_static
/usr/share/doc/khal/html/_static/alabaster.css
/usr/share/doc/khal/html/_static/basic.css
/usr/share/doc/khal/html/_static/custom.css
/usr/share/doc/khal/html/_static/doctools.js
/usr/share/doc/khal/html/_static/documentation_options.js
/usr/share/doc/khal/html/_static/file.png
/usr/share/doc/khal/html/_static/jquery-3.5.1.js
/usr/share/doc/khal/html/_static/jquery.js
/usr/share/doc/khal/html/_static/language_data.js
/usr/share/doc/khal/html/_static/minus.png
/usr/share/doc/khal/html/_static/plus.png
/usr/share/doc/khal/html/_static/pygments.css
/usr/share/doc/khal/html/_static/searchtools.js
/usr/share/doc/khal/html/_static/underscore-1.3.1.js
/usr/share/doc/khal/html/_static/underscore.js
/usr/share/doc/khal/html/changelog.html
/usr/share/doc/khal/html/configure.html
/usr/share/doc/khal/html/faq.html
/usr/share/doc/khal/html/feedback.html
/usr/share/doc/khal/html/genindex.html
/usr/share/doc/khal/html/hacking.html
/usr/share/doc/khal/html/index.html
/usr/share/doc/khal/html/install.html
/usr/share/doc/khal/html/license.html
/usr/share/doc/khal/html/man.html
/usr/share/doc/khal/html/news
/usr/share/doc/khal/html/news.html
/usr/share/doc/khal/html/news/30c3.html
/usr/share/doc/khal/html/news/31c3.html
/usr/share/doc/khal/html/news/callfortesting.html
/usr/share/doc/khal/html/news/khal01.html
/usr/share/doc/khal/html/news/khal011.html
/usr/share/doc/khal/html/news/khal02.html
/usr/share/doc/khal/html/news/khal03.html
/usr/share/doc/khal/html/news/khal031.html
/usr/share/doc/khal/html/news/khal04.html
/usr/share/doc/khal/html/news/khal05.html
/usr/share/doc/khal/html/news/khal06.html
/usr/share/doc/khal/html/news/khal07.html
/usr/share/doc/khal/html/news/khal071.html
/usr/share/doc/khal/html/news/khal08.html
/usr/share/doc/khal/html/news/khal081.html
/usr/share/doc/khal/html/news/khal082.html
/usr/share/doc/khal/html/news/khal083.html
/usr/share/doc/khal/html/news/khal084.html
/usr/share/doc/khal/html/news/khal09.html
/usr/share/doc/khal/html/news/khal091.html
/usr/share/doc/khal/html/news/khal092.html
/usr/share/doc/khal/html/news/khal093.html
/usr/share/doc/khal/html/news/khal094.html
/usr/share/doc/khal/html/news/khal095.html
/usr/share/doc/khal/html/news/khal096.html
/usr/share/doc/khal/html/news/khal097.html
/usr/share/doc/khal/html/news/khal098.html
/usr/share/doc/khal/html/news/khal099.html
/usr/share/doc/khal/html/search.html
/usr/share/doc/khal/html/searchindex.js
/usr/share/doc/khal/html/standards.html
/usr/share/doc/khal/html/usage.html
/usr/share/doc/khal/khal.conf.sample
/usr/share/doc/khal/text
/usr/share/doc/khal/text/changelog.txt
/usr/share/doc/khal/text/configure.txt
/usr/share/doc/khal/text/faq.txt
/usr/share/doc/khal/text/feedback.txt
/usr/share/doc/khal/text/hacking.txt
/usr/share/doc/khal/text/index.txt
/usr/share/doc/khal/text/install.txt
/usr/share/doc/khal/text/license.txt
/usr/share/doc/khal/text/man.txt
/usr/share/doc/khal/text/news
/usr/share/doc/khal/text/news.txt
/usr/share/doc/khal/text/news/30c3.txt
/usr/share/doc/khal/text/news/31c3.txt
/usr/share/doc/khal/text/news/callfortesting.txt
/usr/share/doc/khal/text/news/khal01.txt
/usr/share/doc/khal/text/news/khal011.txt
/usr/share/doc/khal/text/news/khal02.txt
/usr/share/doc/khal/text/news/khal03.txt
/usr/share/doc/khal/text/news/khal031.txt
/usr/share/doc/khal/text/news/khal04.txt
/usr/share/doc/khal/text/news/khal05.txt
/usr/share/doc/khal/text/news/khal06.txt
/usr/share/doc/khal/text/news/khal07.txt
/usr/share/doc/khal/text/news/khal071.txt
/usr/share/doc/khal/text/news/khal08.txt
/usr/share/doc/khal/text/news/khal081.txt
/usr/share/doc/khal/text/news/khal082.txt
/usr/share/doc/khal/text/news/khal083.txt
/usr/share/doc/khal/text/news/khal084.txt
/usr/share/doc/khal/text/news/khal09.txt
/usr/share/doc/khal/text/news/khal091.txt
/usr/share/doc/khal/text/news/khal092.txt
/usr/share/doc/khal/text/news/khal093.txt
/usr/share/doc/khal/text/news/khal094.txt
/usr/share/doc/khal/text/news/khal095.txt
/usr/share/doc/khal/text/news/khal096.txt
/usr/share/doc/khal/text/news/khal097.txt
/usr/share/doc/khal/text/news/khal098.txt
/usr/share/doc/khal/text/news/khal099.txt
/usr/share/doc/khal/text/standards.txt
/usr/share/doc/khal/text/usage.txt
/usr/share/licenses/khal
/usr/share/licenses/khal/COPYING
/usr/share/man/man1/khal.1.gz

References

Summary

In this tutorial we learn how to install khal on Fedora 34 using yum and dnf.