How To Install gitit on Fedora 34
Introduction
In this tutorial we learn how to install gitit
on Fedora 34.
What is gitit
Gitit is a wiki backed by a git, darcs, or mercurial filestore. Pages and uploaded files can be modified either directly via the VCS’s command-line tools or through the wiki’s web interface. Pandoc is used for markup processing, so pages may be written in (extended) markdown, reStructuredText, LaTeX, HTML, or literate Haskell, and exported in ten different formats, including LaTeX, ConTeXt, DocBook, RTF, OpenOffice ODT, and MediaWiki markup. Notable features include * plugins “Network.Gitit.Interface”) * conversion of TeX math to MathML for display in web browsers * syntax highlighting of source code files and code snippets * Atom feeds (site-wide and per-page) * a library, “Network.Gitit”, that makes it simple to include a gitit wiki in any happstack application You can see a running demo at <http For usage information
We can use yum
or dnf
to install gitit
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install gitit.
Install gitit 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 gitit
using dnf
by running the following command:
sudo dnf -y install gitit
Install gitit 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 gitit
using yum
by running the following command:
sudo yum -y install gitit
How To Uninstall gitit on Fedora 34
To uninstall only the gitit
package we can use the following command:
sudo dnf remove gitit
gitit Package Contents on Fedora 34
/etc/gitit
/etc/gitit/gitit.conf
/usr/bin/expireGititCache
/usr/bin/gitit
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/0311094b2733fb619f70842576f8f048428ac7
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/8df47a684cb45934887eda105a76f6f0e7336e
/usr/lib/systemd/system/gitit.service
/usr/share/doc/gitit
/usr/share/doc/gitit/CHANGES
/usr/share/doc/gitit/README.markdown
/var/lib/gitit
/var/lib/gitit/wiki
References
Summary
In this tutorial we learn how to install gitit
on Fedora 34 using yum and dnf.