How To Install php-geshi on Fedora 36

In this tutorial we learn how to install php-geshi in Fedora 36. php-geshi is Generic syntax highlighter

Introduction

In this tutorial we learn how to install php-geshi on Fedora 36.

What is php-geshi

GeSHi aims to be a simple but powerful highlighting class, with the following goals * Support for a wide range of popular languages * Easy to add a new language for highlighting * Highly customisable output formats

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

Install php-geshi on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-geshi using dnf by running the following command:

sudo dnf -y install php-geshi

Install php-geshi on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-geshi using yum by running the following command:

sudo yum -y install php-geshi

How To Uninstall php-geshi on Fedora 36

To uninstall only the php-geshi package we can use the following command:

sudo dnf remove php-geshi

php-geshi Package Contents on Fedora 36

/usr/share/doc/php-geshi
/usr/share/doc/php-geshi/BUGS
/usr/share/doc/php-geshi/CHANGELOG
/usr/share/doc/php-geshi/README.md
/usr/share/doc/php-geshi/THANKS
/usr/share/doc/php-geshi/composer.json
/usr/share/doc/php-geshi/contrib
/usr/share/doc/php-geshi/contrib/aliased.php
/usr/share/doc/php-geshi/contrib/cssgen.php
/usr/share/doc/php-geshi/contrib/cssgen2.php
/usr/share/doc/php-geshi/contrib/example.php
/usr/share/doc/php-geshi/contrib/geshi-cli.php
/usr/share/doc/php-geshi/contrib/langwiz.php
/usr/share/doc/php-geshi/geshi-doc.html
/usr/share/licenses/php-geshi
/usr/share/licenses/php-geshi/LICENSE
/usr/share/php/geshi
/usr/share/php/geshi.php
/usr/share/php/geshi/4cs.php
/usr/share/php/geshi/6502acme.php
/usr/share/php/geshi/6502kickass.php
/usr/share/php/geshi/6502tasm.php
/usr/share/php/geshi/68000devpac.php
/usr/share/php/geshi/abap.php
/usr/share/php/geshi/actionscript.php
/usr/share/php/geshi/actionscript3.php
/usr/share/php/geshi/ada.php
/usr/share/php/geshi/aimms.php
/usr/share/php/geshi/algol68.php
/usr/share/php/geshi/apache.php
/usr/share/php/geshi/applescript.php
/usr/share/php/geshi/apt_sources.php
/usr/share/php/geshi/arm.php
/usr/share/php/geshi/asm.php
/usr/share/php/geshi/asp.php
/usr/share/php/geshi/asymptote.php
/usr/share/php/geshi/autoconf.php
/usr/share/php/geshi/autohotkey.php
/usr/share/php/geshi/autoit.php
/usr/share/php/geshi/avisynth.php
/usr/share/php/geshi/awk.php
/usr/share/php/geshi/bascomavr.php
/usr/share/php/geshi/bash.php
/usr/share/php/geshi/basic4gl.php
/usr/share/php/geshi/batch.php
/usr/share/php/geshi/bf.php
/usr/share/php/geshi/biblatex.php
/usr/share/php/geshi/bibtex.php
/usr/share/php/geshi/blitzbasic.php
/usr/share/php/geshi/bnf.php
/usr/share/php/geshi/boo.php
/usr/share/php/geshi/c.php
/usr/share/php/geshi/c_loadrunner.php
/usr/share/php/geshi/c_mac.php
/usr/share/php/geshi/c_winapi.php
/usr/share/php/geshi/caddcl.php
/usr/share/php/geshi/cadlisp.php
/usr/share/php/geshi/ceylon.php
/usr/share/php/geshi/cfdg.php
/usr/share/php/geshi/cfm.php
/usr/share/php/geshi/chaiscript.php
/usr/share/php/geshi/chapel.php
/usr/share/php/geshi/cil.php
/usr/share/php/geshi/clojure.php
/usr/share/php/geshi/cmake.php
/usr/share/php/geshi/cobol.php
/usr/share/php/geshi/coffeescript.php
/usr/share/php/geshi/cpp-qt.php
/usr/share/php/geshi/cpp-winapi.php
/usr/share/php/geshi/cpp.php
/usr/share/php/geshi/csharp.php
/usr/share/php/geshi/css.php
/usr/share/php/geshi/cuesheet.php
/usr/share/php/geshi/d.php
/usr/share/php/geshi/dart.php
/usr/share/php/geshi/dcl.php
/usr/share/php/geshi/dcpu16.php
/usr/share/php/geshi/dcs.php
/usr/share/php/geshi/delphi.php
/usr/share/php/geshi/diff.php
/usr/share/php/geshi/div.php
/usr/share/php/geshi/dos.php
/usr/share/php/geshi/dot.php
/usr/share/php/geshi/e.php
/usr/share/php/geshi/ecmascript.php
/usr/share/php/geshi/eiffel.php
/usr/share/php/geshi/email.php
/usr/share/php/geshi/epc.php
/usr/share/php/geshi/erlang.php
/usr/share/php/geshi/euphoria.php
/usr/share/php/geshi/ezt.php
/usr/share/php/geshi/f1.php
/usr/share/php/geshi/falcon.php
/usr/share/php/geshi/fo.php
/usr/share/php/geshi/fortran.php
/usr/share/php/geshi/freebasic.php
/usr/share/php/geshi/freeswitch.php
/usr/share/php/geshi/fsharp.php
/usr/share/php/geshi/gambas.php
/usr/share/php/geshi/gdb.php
/usr/share/php/geshi/genero.php
/usr/share/php/geshi/genie.php
/usr/share/php/geshi/gettext.php
/usr/share/php/geshi/glsl.php
/usr/share/php/geshi/gml.php
/usr/share/php/geshi/gnuplot.php
/usr/share/php/geshi/go.php
/usr/share/php/geshi/groovy.php
/usr/share/php/geshi/gwbasic.php
/usr/share/php/geshi/haskell.php
/usr/share/php/geshi/haxe.php
/usr/share/php/geshi/hicest.php
/usr/share/php/geshi/hq9plus.php
/usr/share/php/geshi/html4strict.php
/usr/share/php/geshi/html5.php
/usr/share/php/geshi/icon.php
/usr/share/php/geshi/idl.php
/usr/share/php/geshi/ini.php
/usr/share/php/geshi/inno.php
/usr/share/php/geshi/intercal.php
/usr/share/php/geshi/io.php
/usr/share/php/geshi/ispfpanel.php
/usr/share/php/geshi/j.php
/usr/share/php/geshi/java.php
/usr/share/php/geshi/java5.php
/usr/share/php/geshi/javascript.php
/usr/share/php/geshi/jcl.php
/usr/share/php/geshi/jquery.php
/usr/share/php/geshi/julia.php
/usr/share/php/geshi/kixtart.php
/usr/share/php/geshi/klonec.php
/usr/share/php/geshi/klonecpp.php
/usr/share/php/geshi/kotlin.php
/usr/share/php/geshi/latex.php
/usr/share/php/geshi/lb.php
/usr/share/php/geshi/ldif.php
/usr/share/php/geshi/lisp.php
/usr/share/php/geshi/llvm.php
/usr/share/php/geshi/locobasic.php
/usr/share/php/geshi/logtalk.php
/usr/share/php/geshi/lolcode.php
/usr/share/php/geshi/lotusformulas.php
/usr/share/php/geshi/lotusscript.php
/usr/share/php/geshi/lscript.php
/usr/share/php/geshi/lsl2.php
/usr/share/php/geshi/lua.php
/usr/share/php/geshi/m68k.php
/usr/share/php/geshi/magiksf.php
/usr/share/php/geshi/make.php
/usr/share/php/geshi/mapbasic.php
/usr/share/php/geshi/mathematica.php
/usr/share/php/geshi/matlab.php
/usr/share/php/geshi/mercury.php
/usr/share/php/geshi/metapost.php
/usr/share/php/geshi/mirc.php
/usr/share/php/geshi/mk-61.php
/usr/share/php/geshi/mmix.php
/usr/share/php/geshi/modula2.php
/usr/share/php/geshi/modula3.php
/usr/share/php/geshi/mpasm.php
/usr/share/php/geshi/mxml.php
/usr/share/php/geshi/mysql.php
/usr/share/php/geshi/nagios.php
/usr/share/php/geshi/netrexx.php
/usr/share/php/geshi/newlisp.php
/usr/share/php/geshi/nginx.php
/usr/share/php/geshi/nimrod.php
/usr/share/php/geshi/nsis.php
/usr/share/php/geshi/oberon2.php
/usr/share/php/geshi/objc.php
/usr/share/php/geshi/objeck.php
/usr/share/php/geshi/ocaml-brief.php
/usr/share/php/geshi/ocaml.php
/usr/share/php/geshi/octave.php
/usr/share/php/geshi/oobas.php
/usr/share/php/geshi/oorexx.php
/usr/share/php/geshi/oracle11.php
/usr/share/php/geshi/oracle8.php
/usr/share/php/geshi/oxygene.php
/usr/share/php/geshi/oz.php
/usr/share/php/geshi/parasail.php
/usr/share/php/geshi/parigp.php
/usr/share/php/geshi/pascal.php
/usr/share/php/geshi/pcre.php
/usr/share/php/geshi/per.php
/usr/share/php/geshi/perl.php
/usr/share/php/geshi/perl6.php
/usr/share/php/geshi/pf.php
/usr/share/php/geshi/phix.php
/usr/share/php/geshi/php-brief.php
/usr/share/php/geshi/php.php
/usr/share/php/geshi/pic16.php
/usr/share/php/geshi/pike.php
/usr/share/php/geshi/pixelbender.php
/usr/share/php/geshi/pli.php
/usr/share/php/geshi/plsql.php
/usr/share/php/geshi/postgresql.php
/usr/share/php/geshi/postscript.php
/usr/share/php/geshi/povray.php
/usr/share/php/geshi/powerbuilder.php
/usr/share/php/geshi/powershell.php
/usr/share/php/geshi/proftpd.php
/usr/share/php/geshi/progress.php
/usr/share/php/geshi/prolog.php
/usr/share/php/geshi/properties.php
/usr/share/php/geshi/providex.php
/usr/share/php/geshi/purebasic.php
/usr/share/php/geshi/pycon.php
/usr/share/php/geshi/pys60.php
/usr/share/php/geshi/python.php
/usr/share/php/geshi/q.php
/usr/share/php/geshi/qbasic.php
/usr/share/php/geshi/qml.php
/usr/share/php/geshi/racket.php
/usr/share/php/geshi/rails.php
/usr/share/php/geshi/rbs.php
/usr/share/php/geshi/rebol.php
/usr/share/php/geshi/reg.php
/usr/share/php/geshi/rexx.php
/usr/share/php/geshi/robots.php
/usr/share/php/geshi/roff.php
/usr/share/php/geshi/rpmspec.php
/usr/share/php/geshi/rsplus.php
/usr/share/php/geshi/ruby.php
/usr/share/php/geshi/rust.php
/usr/share/php/geshi/sas.php
/usr/share/php/geshi/sass.php
/usr/share/php/geshi/scala.php
/usr/share/php/geshi/scheme.php
/usr/share/php/geshi/scilab.php
/usr/share/php/geshi/scl.php
/usr/share/php/geshi/sdlbasic.php
/usr/share/php/geshi/smalltalk.php
/usr/share/php/geshi/smarty.php
/usr/share/php/geshi/spark.php
/usr/share/php/geshi/sparql.php
/usr/share/php/geshi/sql.php
/usr/share/php/geshi/sshconfig.php
/usr/share/php/geshi/standardml.php
/usr/share/php/geshi/stonescript.php
/usr/share/php/geshi/swift.php
/usr/share/php/geshi/systemverilog.php
/usr/share/php/geshi/tcl.php
/usr/share/php/geshi/tclegg.php
/usr/share/php/geshi/teraterm.php
/usr/share/php/geshi/texgraph.php
/usr/share/php/geshi/text.php
/usr/share/php/geshi/thinbasic.php
/usr/share/php/geshi/tsql.php
/usr/share/php/geshi/twig.php
/usr/share/php/geshi/typoscript.php
/usr/share/php/geshi/unicon.php
/usr/share/php/geshi/upc.php
/usr/share/php/geshi/urbi.php
/usr/share/php/geshi/uscript.php
/usr/share/php/geshi/vala.php
/usr/share/php/geshi/vb.php
/usr/share/php/geshi/vbnet.php
/usr/share/php/geshi/vbscript.php
/usr/share/php/geshi/vedit.php
/usr/share/php/geshi/verilog.php
/usr/share/php/geshi/vhdl.php
/usr/share/php/geshi/vim.php
/usr/share/php/geshi/visualfoxpro.php
/usr/share/php/geshi/visualprolog.php
/usr/share/php/geshi/whitespace.php
/usr/share/php/geshi/whois.php
/usr/share/php/geshi/winbatch.php
/usr/share/php/geshi/wolfram.php
/usr/share/php/geshi/xbasic.php
/usr/share/php/geshi/xml.php
/usr/share/php/geshi/xojo.php
/usr/share/php/geshi/xorg_conf.php
/usr/share/php/geshi/xpp.php
/usr/share/php/geshi/yaml.php
/usr/share/php/geshi/z80.php
/usr/share/php/geshi/zxbasic.php

References

Summary

In this tutorial we learn how to install php-geshi on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).