How To Install lyx on Fedora 34

lyx is WYSIWYM (What You See Is What You Mean) document processor

Introduction

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

What is lyx

LyX is a modern approach to writing documents which breaks with the obsolete “typewriter paradigm” of most other document preparation systems. It is designed for people who want professional quality output with a minimum of time and effort, without becoming specialists in typesetting. The major innovation in LyX is WYSIWYM (What You See Is What You Mean). That is, the author focuses on content, not on the details of formatting. This allows for greater productivity, and leaves the final typesetting to the backends (like LaTeX) that are specifically designed for the task. With LyX, the author can concentrate on the contents of his writing, and let the computer take care of the rest.

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

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

sudo dnf -y install lyx

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

sudo yum -y install lyx

How To Uninstall lyx on Fedora 34

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

sudo dnf remove lyx

lyx Package Contents on Fedora 34

/usr/bin/lyx
/usr/bin/lyxclient
/usr/bin/tex2lyx
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/40e711d3a8673d5000f07c4368cf9c251bd484
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/9b4c34e9b765ddb99c4c8cf62165a8e294ad42
/usr/lib/.build-id/91
/usr/lib/.build-id/91/9ab4b45b137d3152d6f6a9c7864ae3f3fa6fdb
/usr/share/doc/lyx
/usr/share/doc/lyx/ANNOUNCE
/usr/share/doc/lyx/CREDITS
/usr/share/doc/lyx/NEWS
/usr/share/doc/lyx/README
/usr/share/licenses/lyx
/usr/share/licenses/lyx/COPYING

References

Summary

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