How To Install hxaddid on Fedora 34
In this tutorial, we will discuss How To Install hxaddid on Fedora 34
using dnf
and yum
package managers.
Also, we will demonstrate how to uninstall and update
hxaddid
as well.
One-liner Install Command
If you are only interested in the installation command, here is a quick answer for you:
sudo yum makecache && sudo yum -y install html-xml-utils
or if you use dnf
:
sudo dnf makecache && sudo dnf -y install html-xml-utils
But if you are interested in the details with step-by-step instructions, the following information will be helpful.
What is hxaddid
and How to Install It?
Short description: HTML and XML manipulation utilities
First things first, you will need access to a server or computer running Fedora 34. This guide was written specifically with a server running Fedora 34 in mind, although it should also work on older, supported versions of the operating system.
Also, make sure you are running a regular, non-root user with sudo privileges configured on your server. When you have an account available, log in as your non-root user to begin.
There are several ways to install hxaddid on Fedora 34. You can use (links are clickable):
In the following sections, we will describe each method in detail. You can choose one of them or refer to the recommended one.
Install hxaddid on Fedora 34 using dnf
First, update dnf packages database with dnf
by running the next command:
sudo dnf makecache --refresh
After updating database,
You can install hxaddid using dnf
by running the
following command:
sudo dnf -y install html-xml-utils
Install hxaddid on Fedora 34 using yum
Because hxaddid is available in Fedora 34’s default
repositories,
it is possible to install it from these repositories using the yum
packaging
system.
To begin, update local packages database with yum
using the following command.
sudo yum makecache --refresh
Now can install hxaddid package on your server/computer by running the following command:
sudo yum -y install html-xml-utils
How to upgrade (update) a single package hxaddid using yum?
To update all the packages available on the system:
yum update
If you want to update a specific package like hxaddid in this example you should use the following command:
yum update html-xml-utils
To downgrade a package to an earlier version:
yum downgrade html-xml-utils
How to Upgrade hxaddid on Fedora 34 with dnf?
When you run the dnf update
, all system packages with available updates are updated.
However, if you want to upgrade a single package, then you would have to pass the package name as
the argument to the dnf update command.
dnf update html-xml-utils
How To remove hxaddid from Fedora 34
To uninstall only the hxaddid
package you can execute
the
following command:
sudo dnf remove html-xml-utils
Extra info and code examples
HTML-XML-utils provides a number of simple utilities for manipulating and converting HTML and XML files in various ways. The suite consists of the following tools: asc2xml - convert from UTF-8 to nnn; entities xml2asc - convert from nnn; entities to UTF-8 hxaddid - add IDs to selected elements hxcite - replace bibliographic references by hyperlinks hxcite-mkbib - expand references and create bibliography hxclean - apply heuristics to correct an HTML file hxcopy - copy an HTML file while preserving relative links hxcount - count elements and attributes in HTML or XML files hxextract - extract selected elements hxincl - expand included HTML or XML files hxindex - create an alphabetically sorted index hxmkbib - create bibliography from a template hxmultitoc - create a table of contents for a set of HTML files hxname2id - move some ID= or NAME= from A elements to their parents hxnormalize - pretty-print an HTML file hxnsxml - convert output of hxxmlns back to normal XML hxnum - number section headings in an HTML file hxpipe - convert XML to a format easier to parse with Perl or AWK hxprintlinks - number links & add table of URLs at end of an HTML file hxprune - remove marked elements from an HTML file hxref - generate cross-references hxselect - extract elements that match a (CSS) selector hxtoc - insert a table of contents in an HTML file hxuncdata - replace CDATA sections by character entities hxunent - replace HTML predefined character entities to UTF-8 hxunpipe - convert output of pipe back to XML format hxunxmlns - replace "global names" by XML Namespace prefixes hxwls - list links in an HTML file hxxmlns - replace XML Namespace prefixes by "global names"
- Maintainer: Robin Naundorf
- Sources url: https://www.w3.org/Tools/HTML-XML-utils/
- Section/Category: text
Conclusion
You now have a full guide on how to install hxaddid
using dnf
and yum
package managers.
Also, we showed how to update manually as a single package and different ways to uninstall
the hxaddid from Fedora 34.