How To Install tinyxml2 on Fedora 34
Introduction
In this tutorial we learn how to install tinyxml2
on Fedora 34.
What is tinyxml2
TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily integrated into other programs. It uses a Document Object Model (DOM), meaning the XML data is parsed into a C++ objects that can be browsed and manipulated, and then written to disk or another output stream. TinyXML-2 doesn’t parse or use DTDs (Document Type Definitions) nor XSLs (eXtensible Stylesheet Language). TinyXML-2 uses a similar API to TinyXML-1, But the implementation of the parser was completely re-written to make it more appropriate for use in a game. It uses less memory, is faster, and uses far fewer memory allocations. tinyxml2 7.0.1 6.fc34 x86_64 43 k tinyxml2-7.0.1-6.fc34.src.rpm fedora Simple, small and efficient C++ XML parser https zlib TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily integrated into other programs. It uses a Document Object Model (DOM), meaning the XML data is parsed into a C++ objects that can be browsed and manipulated, and then written to disk or another output stream. TinyXML-2 doesn’t parse or use DTDs (Document Type Definitions) nor XSLs (eXtensible Stylesheet Language). TinyXML-2 uses a similar API to TinyXML-1, But the implementation of the parser was completely re-written to make it more appropriate for use in a game. It uses less memory, is faster, and uses far fewer memory allocations.
We can use yum
or dnf
to install tinyxml2
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install tinyxml2.
Install tinyxml2 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 tinyxml2
using dnf
by running the following command:
sudo dnf -y install tinyxml2
Install tinyxml2 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 tinyxml2
using yum
by running the following command:
sudo yum -y install tinyxml2
How To Uninstall tinyxml2 on Fedora 34
To uninstall only the tinyxml2
package we can use the following command:
sudo dnf remove tinyxml2
tinyxml2 Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/dc742f2a230328deecdc3f7f9f25dc30b0ba7b
/usr/lib/libtinyxml2.so.7
/usr/lib/libtinyxml2.so.7.0.1
/usr/share/doc/tinyxml2
/usr/share/doc/tinyxml2/readme.md
/usr/lib/.build-id
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/e19f5a738a22503377b04ff5cdd3710485d9b2
/usr/lib64/libtinyxml2.so.7
/usr/lib64/libtinyxml2.so.7.0.1
/usr/share/doc/tinyxml2
/usr/share/doc/tinyxml2/readme.md
References
- [tinyxml2 website](https://github.com/leethomason/tinyxml2 https://github.com/leethomason/tinyxml2)
Summary
In this tutorial we learn how to install tinyxml2
on Fedora 34 using yum and dnf.