How To Install libxdiff on Fedora 36
Introduction
In this tutorial we learn how to install libxdiff
on Fedora 36.
What is libxdiff
The LibXDiff library implements basic and yet complete functionalities to create file differences/patches to both binary and text files. The library uses memory files as file abstraction to achieve both performance and portability. For binary files, LibXDiff implements both (with some modification) the algorithm described in File System Support for Delta Compression by Joshua P. MacDonald, and the algorithm described in Fingerprinting By Random Polynomials by Michael O. Rabin. While for text files it follows directives described in An O(ND) Difference Algorithm and Its Variations by Eugene W. Myers. This is a merged fork of the forks of the original libxdiff (0.23) found in the git and libgit2 source code, converted into a shared library.
We can use yum
or dnf
to install libxdiff
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libxdiff.
Install libxdiff 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 libxdiff
using dnf
by running the following command:
sudo dnf -y install libxdiff
Install libxdiff 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 libxdiff
using yum
by running the following command:
sudo yum -y install libxdiff
How To Uninstall libxdiff on Fedora 36
To uninstall only the libxdiff
package we can use the following command:
sudo dnf remove libxdiff
libxdiff Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/77d113ee9840d6ca1755382e263001ff9b0127
/usr/lib/libxdiff.so.1
/usr/lib/libxdiff.so.1.0.0
/usr/share/doc/libxdiff
/usr/share/doc/libxdiff/AUTHORS
/usr/share/doc/libxdiff/COPYING
/usr/share/doc/libxdiff/ChangeLog
/usr/share/doc/libxdiff/NEWS
/usr/share/doc/libxdiff/README.md
References
Summary
In this tutorial we learn how to install libxdiff
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install libxdiff on Fedora 36” linkTitle: “libxdiff” type: “docs” description: “In this tutorial we learn how to install libxdiff in Fedora 36. libxdiff is Basic functionality to create difference/patches in binary and text” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libxdiff-featured.png
Introduction
In this tutorial we learn how to install libxdiff
on Fedora 36.
What is libxdiff
The LibXDiff library implements basic and yet complete functionalities to create file differences/patches to both binary and text files. The library uses memory files as file abstraction to achieve both performance and portability. For binary files, LibXDiff implements both (with some modification) the algorithm described in File System Support for Delta Compression by Joshua P. MacDonald, and the algorithm described in Fingerprinting By Random Polynomials by Michael O. Rabin. While for text files it follows directives described in An O(ND) Difference Algorithm and Its Variations by Eugene W. Myers. This is a merged fork of the forks of the original libxdiff (0.23) found in the git and libgit2 source code, converted into a shared library.
We can use yum
or dnf
to install libxdiff
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libxdiff.
Install libxdiff 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 libxdiff
using dnf
by running the following command:
sudo dnf -y install libxdiff
Install libxdiff 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 libxdiff
using yum
by running the following command:
sudo yum -y install libxdiff
How To Uninstall libxdiff on Fedora 36
To uninstall only the libxdiff
package we can use the following command:
sudo dnf remove libxdiff
libxdiff Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/d28f733fffa33d3fe716f78d3ac49a8e9b0cfd
/usr/lib64/libxdiff.so.1
/usr/lib64/libxdiff.so.1.0.0
/usr/share/doc/libxdiff
/usr/share/doc/libxdiff/AUTHORS
/usr/share/doc/libxdiff/COPYING
/usr/share/doc/libxdiff/ChangeLog
/usr/share/doc/libxdiff/NEWS
/usr/share/doc/libxdiff/README.md
References
Summary
In this tutorial we learn how to install libxdiff
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).