How To Install dex on Fedora 34
Introduction
In this tutorial we learn how to install dex
on Fedora 34.
What is dex
dex is a small and easy to use text editor. Colors and bindings can be fully customized to your liking. It has some features useful to programmers, like ctags support and it can parse compiler errors, but it does not aim to become an IDE.
We can use yum
or dnf
to install dex
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install dex.
Install dex 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 dex
using dnf
by running the following command:
sudo dnf -y install dex
Install dex 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 dex
using yum
by running the following command:
sudo yum -y install dex
How To Uninstall dex on Fedora 34
To uninstall only the dex
package we can use the following command:
sudo dnf remove dex
dex Package Contents on Fedora 34
/usr/bin/dex
/usr/lib/.build-id
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/57a5f6350e7955600c368990eaf578d5c66198
/usr/share/dex
/usr/share/dex/binding
/usr/share/dex/binding/default
/usr/share/dex/color
/usr/share/dex/color/darkgray
/usr/share/dex/color/light
/usr/share/dex/color/light256
/usr/share/dex/compiler
/usr/share/dex/compiler/gcc
/usr/share/dex/compiler/go
/usr/share/dex/filetype
/usr/share/dex/rc
/usr/share/dex/syntax
/usr/share/dex/syntax/awk
/usr/share/dex/syntax/c
/usr/share/dex/syntax/config
/usr/share/dex/syntax/css
/usr/share/dex/syntax/dex
/usr/share/dex/syntax/diff
/usr/share/dex/syntax/gitcommit
/usr/share/dex/syntax/gitrebase
/usr/share/dex/syntax/go
/usr/share/dex/syntax/html
/usr/share/dex/syntax/html+smarty
/usr/share/dex/syntax/java
/usr/share/dex/syntax/javascript
/usr/share/dex/syntax/lua
/usr/share/dex/syntax/mail
/usr/share/dex/syntax/make
/usr/share/dex/syntax/php
/usr/share/dex/syntax/python
/usr/share/dex/syntax/sh
/usr/share/dex/syntax/smarty
/usr/share/dex/syntax/sql
/usr/share/dex/syntax/xml
/usr/share/doc/dex
/usr/share/doc/dex/COPYING
/usr/share/doc/dex/FAQ
/usr/share/doc/dex/README.md
/usr/share/man/man1/dex.1.gz
/usr/share/man/man7/dex-syntax.7.gz
References
Summary
In this tutorial we learn how to install dex
on Fedora 34 using yum and dnf.