How To Install lua-ldoc on Fedora 36
Introduction
In this tutorial we learn how to install lua-ldoc
on Fedora 36.
What is lua-ldoc
LDoc is a second-generation documentation tool that can be used as a replacement for LuaDoc. It is mostly compatible with LuaDoc, except that certain workarounds are no longer needed. For instance, it is not so married to the idea that Lua modules should be defined using the module function.
We can use yum
or dnf
to install lua-ldoc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lua-ldoc.
Install lua-ldoc 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 lua-ldoc
using dnf
by running the following command:
sudo dnf -y install lua-ldoc
Install lua-ldoc 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 lua-ldoc
using yum
by running the following command:
sudo yum -y install lua-ldoc
How To Uninstall lua-ldoc on Fedora 36
To uninstall only the lua-ldoc
package we can use the following command:
sudo dnf remove lua-ldoc
lua-ldoc Package Contents on Fedora 36
/usr/bin/ldoc
/usr/share/doc/lua-ldoc
/usr/share/doc/lua-ldoc/readme.html
/usr/share/licenses/lua-ldoc
/usr/share/licenses/lua-ldoc/COPYRIGHT
/usr/share/lua/5.4/ldoc
/usr/share/lua/5.4/ldoc.lua
/usr/share/lua/5.4/ldoc/builtin
/usr/share/lua/5.4/ldoc/builtin/coroutine.lua
/usr/share/lua/5.4/ldoc/builtin/debug.lua
/usr/share/lua/5.4/ldoc/builtin/global.lua
/usr/share/lua/5.4/ldoc/builtin/globals.lua
/usr/share/lua/5.4/ldoc/builtin/io.lua
/usr/share/lua/5.4/ldoc/builtin/lfs.lua
/usr/share/lua/5.4/ldoc/builtin/lpeg.lua
/usr/share/lua/5.4/ldoc/builtin/math.lua
/usr/share/lua/5.4/ldoc/builtin/os.lua
/usr/share/lua/5.4/ldoc/builtin/package.lua
/usr/share/lua/5.4/ldoc/builtin/string.lua
/usr/share/lua/5.4/ldoc/builtin/table.lua
/usr/share/lua/5.4/ldoc/builtin/utf8.lua
/usr/share/lua/5.4/ldoc/doc.lua
/usr/share/lua/5.4/ldoc/html
/usr/share/lua/5.4/ldoc/html.lua
/usr/share/lua/5.4/ldoc/html/_code_css.lua
/usr/share/lua/5.4/ldoc/html/_reset_css.lua
/usr/share/lua/5.4/ldoc/html/ldoc_css.lua
/usr/share/lua/5.4/ldoc/html/ldoc_fixed_css.lua
/usr/share/lua/5.4/ldoc/html/ldoc_ltp.lua
/usr/share/lua/5.4/ldoc/html/ldoc_md_ltp.lua
/usr/share/lua/5.4/ldoc/html/ldoc_one_css.lua
/usr/share/lua/5.4/ldoc/html/ldoc_pale_css.lua
/usr/share/lua/5.4/ldoc/lang.lua
/usr/share/lua/5.4/ldoc/lexer.lua
/usr/share/lua/5.4/ldoc/markup.lua
/usr/share/lua/5.4/ldoc/parse.lua
/usr/share/lua/5.4/ldoc/prettify.lua
/usr/share/lua/5.4/ldoc/tools.lua
References
Summary
In this tutorial we learn how to install lua-ldoc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).