How To Install xsd on Fedora 34
Introduction
In this tutorial we learn how to install xsd
on Fedora 34.
What is xsd
CodeSynthesis XSD is an open-source, cross-platform W3C XML Schema to C++ data binding compiler. Provided with an XML instance specification (XML Schema), it generates C++ classes that represent the given vocabulary as well as parsing and serialization code. You can then access the data stored in XML using types and functions that semantically correspond to your application domain rather than dealing with intricacies of reading and writing XML.
We can use yum
or dnf
to install xsd
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install xsd.
Install xsd 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 xsd
using dnf
by running the following command:
sudo dnf -y install xsd
Install xsd 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 xsd
using yum
by running the following command:
sudo yum -y install xsd
How To Uninstall xsd on Fedora 34
To uninstall only the xsd
package we can use the following command:
sudo dnf remove xsd
xsd Package Contents on Fedora 34
/usr/bin/xsdcxx
/usr/include/xsd
/usr/include/xsd/cxx
/usr/include/xsd/cxx/auto-array.hxx
/usr/include/xsd/cxx/config.hxx
/usr/include/xsd/cxx/exceptions.hxx
/usr/include/xsd/cxx/parser
/usr/include/xsd/cxx/parser/document.hxx
/usr/include/xsd/cxx/parser/document.txx
/usr/include/xsd/cxx/parser/elements.hxx
/usr/include/xsd/cxx/parser/elements.txx
/usr/include/xsd/cxx/parser/error-handler.hxx
/usr/include/xsd/cxx/parser/error-handler.txx
/usr/include/xsd/cxx/parser/exceptions.hxx
/usr/include/xsd/cxx/parser/exceptions.ixx
/usr/include/xsd/cxx/parser/exceptions.txx
/usr/include/xsd/cxx/parser/expat
/usr/include/xsd/cxx/parser/expat/elements.hxx
/usr/include/xsd/cxx/parser/expat/elements.txx
/usr/include/xsd/cxx/parser/map.hxx
/usr/include/xsd/cxx/parser/map.ixx
/usr/include/xsd/cxx/parser/map.txx
/usr/include/xsd/cxx/parser/non-validating
/usr/include/xsd/cxx/parser/non-validating/parser.hxx
/usr/include/xsd/cxx/parser/non-validating/parser.txx
/usr/include/xsd/cxx/parser/non-validating/xml-schema-pimpl.hxx
/usr/include/xsd/cxx/parser/non-validating/xml-schema-pimpl.ixx
/usr/include/xsd/cxx/parser/non-validating/xml-schema-pimpl.txx
/usr/include/xsd/cxx/parser/non-validating/xml-schema-pskel.hxx
/usr/include/xsd/cxx/parser/non-validating/xml-schema-pskel.ixx
/usr/include/xsd/cxx/parser/non-validating/xml-schema-pskel.txx
/usr/include/xsd/cxx/parser/schema-exceptions.hxx
/usr/include/xsd/cxx/parser/schema-exceptions.ixx
/usr/include/xsd/cxx/parser/schema-exceptions.txx
/usr/include/xsd/cxx/parser/substitution-map.hxx
/usr/include/xsd/cxx/parser/substitution-map.txx
/usr/include/xsd/cxx/parser/validating
/usr/include/xsd/cxx/parser/validating/exceptions.hxx
/usr/include/xsd/cxx/parser/validating/exceptions.ixx
/usr/include/xsd/cxx/parser/validating/exceptions.txx
/usr/include/xsd/cxx/parser/validating/inheritance-map.hxx
/usr/include/xsd/cxx/parser/validating/inheritance-map.txx
/usr/include/xsd/cxx/parser/validating/parser.hxx
/usr/include/xsd/cxx/parser/validating/parser.txx
/usr/include/xsd/cxx/parser/validating/xml-schema-pimpl.hxx
/usr/include/xsd/cxx/parser/validating/xml-schema-pimpl.ixx
/usr/include/xsd/cxx/parser/validating/xml-schema-pimpl.txx
/usr/include/xsd/cxx/parser/validating/xml-schema-pskel.hxx
/usr/include/xsd/cxx/parser/validating/xml-schema-pskel.ixx
/usr/include/xsd/cxx/parser/validating/xml-schema-pskel.txx
/usr/include/xsd/cxx/parser/xerces
/usr/include/xsd/cxx/parser/xerces/elements.hxx
/usr/include/xsd/cxx/parser/xerces/elements.txx
/usr/include/xsd/cxx/parser/xml-schema.hxx
/usr/include/xsd/cxx/parser/xml-schema.ixx
/usr/include/xsd/cxx/parser/xml-schema.txx
/usr/include/xsd/cxx/post.hxx
/usr/include/xsd/cxx/pre.hxx
/usr/include/xsd/cxx/ro-string.hxx
/usr/include/xsd/cxx/ro-string.txx
/usr/include/xsd/cxx/tree
/usr/include/xsd/cxx/tree/ace-cdr-stream-common.hxx
/usr/include/xsd/cxx/tree/ace-cdr-stream-extraction.hxx
/usr/include/xsd/cxx/tree/ace-cdr-stream-insertion.hxx
/usr/include/xsd/cxx/tree/bits
/usr/include/xsd/cxx/tree/bits/literals.hxx
/usr/include/xsd/cxx/tree/bits/literals.ixx
/usr/include/xsd/cxx/tree/buffer.hxx
/usr/include/xsd/cxx/tree/buffer.txx
/usr/include/xsd/cxx/tree/comparison-map.hxx
/usr/include/xsd/cxx/tree/comparison-map.txx
/usr/include/xsd/cxx/tree/containers-wildcard.hxx
/usr/include/xsd/cxx/tree/containers.hxx
/usr/include/xsd/cxx/tree/containers.txx
/usr/include/xsd/cxx/tree/date-time-extraction.txx
/usr/include/xsd/cxx/tree/date-time-insertion.txx
/usr/include/xsd/cxx/tree/date-time-ostream.txx
/usr/include/xsd/cxx/tree/date-time.hxx
/usr/include/xsd/cxx/tree/date-time.ixx
/usr/include/xsd/cxx/tree/date-time.txx
/usr/include/xsd/cxx/tree/element-map.hxx
/usr/include/xsd/cxx/tree/element-map.txx
/usr/include/xsd/cxx/tree/elements.hxx
/usr/include/xsd/cxx/tree/elements.ixx
/usr/include/xsd/cxx/tree/elements.txx
/usr/include/xsd/cxx/tree/error-handler.hxx
/usr/include/xsd/cxx/tree/error-handler.txx
/usr/include/xsd/cxx/tree/exceptions.hxx
/usr/include/xsd/cxx/tree/exceptions.txx
/usr/include/xsd/cxx/tree/facet.hxx
/usr/include/xsd/cxx/tree/istream-fwd.hxx
/usr/include/xsd/cxx/tree/istream.hxx
/usr/include/xsd/cxx/tree/iterator-adapter.hxx
/usr/include/xsd/cxx/tree/list.hxx
/usr/include/xsd/cxx/tree/ostream.hxx
/usr/include/xsd/cxx/tree/parsing
/usr/include/xsd/cxx/tree/parsing.hxx
/usr/include/xsd/cxx/tree/parsing.txx
/usr/include/xsd/cxx/tree/parsing/boolean.hxx
/usr/include/xsd/cxx/tree/parsing/byte.hxx
/usr/include/xsd/cxx/tree/parsing/date-time.txx
/usr/include/xsd/cxx/tree/parsing/decimal.hxx
/usr/include/xsd/cxx/tree/parsing/double.hxx
/usr/include/xsd/cxx/tree/parsing/element-map.txx
/usr/include/xsd/cxx/tree/parsing/float.hxx
/usr/include/xsd/cxx/tree/parsing/int.hxx
/usr/include/xsd/cxx/tree/parsing/long.hxx
/usr/include/xsd/cxx/tree/parsing/short.hxx
/usr/include/xsd/cxx/tree/parsing/unsigned-byte.hxx
/usr/include/xsd/cxx/tree/parsing/unsigned-int.hxx
/usr/include/xsd/cxx/tree/parsing/unsigned-long.hxx
/usr/include/xsd/cxx/tree/parsing/unsigned-short.hxx
/usr/include/xsd/cxx/tree/serialization
/usr/include/xsd/cxx/tree/serialization.hxx
/usr/include/xsd/cxx/tree/serialization.txx
/usr/include/xsd/cxx/tree/serialization/boolean.hxx
/usr/include/xsd/cxx/tree/serialization/byte.hxx
/usr/include/xsd/cxx/tree/serialization/date-time.txx
/usr/include/xsd/cxx/tree/serialization/decimal.hxx
/usr/include/xsd/cxx/tree/serialization/double.hxx
/usr/include/xsd/cxx/tree/serialization/element-map.txx
/usr/include/xsd/cxx/tree/serialization/float.hxx
/usr/include/xsd/cxx/tree/serialization/int.hxx
/usr/include/xsd/cxx/tree/serialization/long.hxx
/usr/include/xsd/cxx/tree/serialization/short.hxx
/usr/include/xsd/cxx/tree/serialization/unsigned-byte.hxx
/usr/include/xsd/cxx/tree/serialization/unsigned-int.hxx
/usr/include/xsd/cxx/tree/serialization/unsigned-long.hxx
/usr/include/xsd/cxx/tree/serialization/unsigned-short.hxx
/usr/include/xsd/cxx/tree/std-ostream-map.hxx
/usr/include/xsd/cxx/tree/std-ostream-map.txx
/usr/include/xsd/cxx/tree/std-ostream-operators.hxx
/usr/include/xsd/cxx/tree/stream-extraction-map.hxx
/usr/include/xsd/cxx/tree/stream-extraction-map.txx
/usr/include/xsd/cxx/tree/stream-extraction.hxx
/usr/include/xsd/cxx/tree/stream-insertion-map.hxx
/usr/include/xsd/cxx/tree/stream-insertion-map.txx
/usr/include/xsd/cxx/tree/stream-insertion.hxx
/usr/include/xsd/cxx/tree/text.hxx
/usr/include/xsd/cxx/tree/text.txx
/usr/include/xsd/cxx/tree/type-factory-map.hxx
/usr/include/xsd/cxx/tree/type-factory-map.txx
/usr/include/xsd/cxx/tree/type-serializer-map.hxx
/usr/include/xsd/cxx/tree/type-serializer-map.txx
/usr/include/xsd/cxx/tree/types.hxx
/usr/include/xsd/cxx/tree/types.txx
/usr/include/xsd/cxx/tree/xdr-stream-common.hxx
/usr/include/xsd/cxx/tree/xdr-stream-extraction.hxx
/usr/include/xsd/cxx/tree/xdr-stream-insertion.hxx
/usr/include/xsd/cxx/version.hxx
/usr/include/xsd/cxx/xml
/usr/include/xsd/cxx/xml/bits
/usr/include/xsd/cxx/xml/bits/literals.hxx
/usr/include/xsd/cxx/xml/bits/literals.ixx
/usr/include/xsd/cxx/xml/char-iso8859-1.hxx
/usr/include/xsd/cxx/xml/char-iso8859-1.txx
/usr/include/xsd/cxx/xml/char-lcp.hxx
/usr/include/xsd/cxx/xml/char-lcp.txx
/usr/include/xsd/cxx/xml/char-utf8.hxx
/usr/include/xsd/cxx/xml/char-utf8.txx
/usr/include/xsd/cxx/xml/dom
/usr/include/xsd/cxx/xml/dom/auto-ptr.hxx
/usr/include/xsd/cxx/xml/dom/bits
/usr/include/xsd/cxx/xml/dom/bits/error-handler-proxy.hxx
/usr/include/xsd/cxx/xml/dom/bits/error-handler-proxy.txx
/usr/include/xsd/cxx/xml/dom/elements.hxx
/usr/include/xsd/cxx/xml/dom/elements.txx
/usr/include/xsd/cxx/xml/dom/parsing-header.hxx
/usr/include/xsd/cxx/xml/dom/parsing-source.hxx
/usr/include/xsd/cxx/xml/dom/parsing-source.txx
/usr/include/xsd/cxx/xml/dom/serialization-header.hxx
/usr/include/xsd/cxx/xml/dom/serialization-header.txx
/usr/include/xsd/cxx/xml/dom/serialization-source.hxx
/usr/include/xsd/cxx/xml/dom/serialization-source.txx
/usr/include/xsd/cxx/xml/dom/wildcard-source.hxx
/usr/include/xsd/cxx/xml/dom/wildcard-source.txx
/usr/include/xsd/cxx/xml/elements.hxx
/usr/include/xsd/cxx/xml/elements.txx
/usr/include/xsd/cxx/xml/error-handler.hxx
/usr/include/xsd/cxx/xml/exceptions.hxx
/usr/include/xsd/cxx/xml/qualified-name.hxx
/usr/include/xsd/cxx/xml/sax
/usr/include/xsd/cxx/xml/sax/bits
/usr/include/xsd/cxx/xml/sax/bits/error-handler-proxy.hxx
/usr/include/xsd/cxx/xml/sax/bits/error-handler-proxy.txx
/usr/include/xsd/cxx/xml/sax/std-input-source.hxx
/usr/include/xsd/cxx/xml/std-memory-manager.hxx
/usr/include/xsd/cxx/xml/string.hxx
/usr/include/xsd/cxx/xml/string.ixx
/usr/include/xsd/cxx/xml/string.txx
/usr/include/xsd/cxx/zc-istream.hxx
/usr/include/xsd/cxx/zc-istream.txx
/usr/lib/.build-id
/usr/lib/.build-id/af
/usr/lib/.build-id/af/2fecb383ca5cbc7e46b26c18bdd7add12388cd
/usr/share/doc/xsd
/usr/share/doc/xsd/FLOSSE
/usr/share/doc/xsd/NEWS
/usr/share/doc/xsd/README
/usr/share/licenses/xsd
/usr/share/licenses/xsd/GPLv2
/usr/share/licenses/xsd/LICENSE
/usr/share/man/man1/xsdcxx.1.gz
References
Summary
In this tutorial we learn how to install xsd
on Fedora 34 using yum and dnf.