How To Install khard on Fedora 34

khard is An address book for the Linux console

Introduction

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

What is khard

Khard is an address book for the Linux console. It creates, reads, modifies and removes carddav address book entries at your local machine.

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

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

sudo dnf -y install khard

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

sudo yum -y install khard

How To Uninstall khard on Fedora 34

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

sudo dnf remove khard

khard Package Contents on Fedora 34

/usr/bin/khard
/usr/lib/python3.9/site-packages/khard
/usr/lib/python3.9/site-packages/khard-0.17.0-py3.9.egg-info
/usr/lib/python3.9/site-packages/khard-0.17.0-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/khard-0.17.0-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/khard-0.17.0-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/khard-0.17.0-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/khard-0.17.0-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/khard-0.17.0-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/khard/__init__.py
/usr/lib/python3.9/site-packages/khard/__main__.py
/usr/lib/python3.9/site-packages/khard/__pycache__
/usr/lib/python3.9/site-packages/khard/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/__main__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/__main__.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/actions.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/actions.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/address_book.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/address_book.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/carddav_object.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/carddav_object.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/cli.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/cli.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/formatter.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/formatter.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/helpers.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/helpers.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/khard.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/khard.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/object_type.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/object_type.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/query.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/query.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/version.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/khard/__pycache__/version.cpython-39.pyc
/usr/lib/python3.9/site-packages/khard/actions.py
/usr/lib/python3.9/site-packages/khard/address_book.py
/usr/lib/python3.9/site-packages/khard/carddav_object.py
/usr/lib/python3.9/site-packages/khard/cli.py
/usr/lib/python3.9/site-packages/khard/config.py
/usr/lib/python3.9/site-packages/khard/data
/usr/lib/python3.9/site-packages/khard/data/config.spec
/usr/lib/python3.9/site-packages/khard/data/template.yaml
/usr/lib/python3.9/site-packages/khard/formatter.py
/usr/lib/python3.9/site-packages/khard/helpers.py
/usr/lib/python3.9/site-packages/khard/khard.py
/usr/lib/python3.9/site-packages/khard/object_type.py
/usr/lib/python3.9/site-packages/khard/query.py
/usr/lib/python3.9/site-packages/khard/version.py
/usr/share/doc/khard
/usr/share/doc/khard/CHANGES
/usr/share/doc/khard/README.md
/usr/share/doc/khard/todo.txt
/usr/share/khard
/usr/share/khard/examples
/usr/share/khard/examples/davcontroller
/usr/share/khard/examples/davcontroller/davcontroller.py
/usr/share/khard/examples/sdiff
/usr/share/khard/examples/sdiff/sdiff_khard_wrapper.sh
/usr/share/khard/examples/twinkle
/usr/share/licenses/khard
/usr/share/licenses/khard/LICENSE
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_khard

References

Summary

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