How To Install flann-devel on CentOS 8

flann-devel is Development headers and libraries for flann

Introduction

In this tutorial we learn how to install flann-devel on CentOS 8.

What is flann-devel

Development headers and libraries for flann.

We can use yum or dnf to install flann-devel on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install flann-devel.

Install flann-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install flann-devel using dnf by running the following command:

sudo dnf -y install flann-devel

Install flann-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install flann-devel using yum by running the following command:

sudo yum -y install flann-devel

How To Uninstall flann-devel on CentOS 8

To uninstall only the flann-devel package we can use the following command:

sudo dnf remove flann-devel

flann-devel Package Contents on CentOS 8

/usr/include/flann
/usr/include/flann/algorithms
/usr/include/flann/algorithms/all_indices.h
/usr/include/flann/algorithms/autotuned_index.h
/usr/include/flann/algorithms/center_chooser.h
/usr/include/flann/algorithms/composite_index.h
/usr/include/flann/algorithms/dist.h
/usr/include/flann/algorithms/hierarchical_clustering_index.h
/usr/include/flann/algorithms/kdtree_cuda_3d_index.h
/usr/include/flann/algorithms/kdtree_cuda_builder.h
/usr/include/flann/algorithms/kdtree_index.h
/usr/include/flann/algorithms/kdtree_single_index.h
/usr/include/flann/algorithms/kmeans_index.h
/usr/include/flann/algorithms/linear_index.h
/usr/include/flann/algorithms/lsh_index.h
/usr/include/flann/algorithms/nn_index.h
/usr/include/flann/config.h
/usr/include/flann/defines.h
/usr/include/flann/ext
/usr/include/flann/ext/lz4.h
/usr/include/flann/ext/lz4hc.h
/usr/include/flann/flann.h
/usr/include/flann/flann.hpp
/usr/include/flann/general.h
/usr/include/flann/io
/usr/include/flann/io/hdf5.h
/usr/include/flann/mpi
/usr/include/flann/mpi/client.h
/usr/include/flann/mpi/index.h
/usr/include/flann/mpi/matrix.h
/usr/include/flann/mpi/queries.h
/usr/include/flann/mpi/server.h
/usr/include/flann/nn
/usr/include/flann/nn/ground_truth.h
/usr/include/flann/nn/index_testing.h
/usr/include/flann/nn/simplex_downhill.h
/usr/include/flann/util
/usr/include/flann/util/allocator.h
/usr/include/flann/util/any.h
/usr/include/flann/util/cuda
/usr/include/flann/util/cuda/heap.h
/usr/include/flann/util/cuda/result_set.h
/usr/include/flann/util/cutil_math.h
/usr/include/flann/util/dynamic_bitset.h
/usr/include/flann/util/heap.h
/usr/include/flann/util/logger.h
/usr/include/flann/util/lsh_table.h
/usr/include/flann/util/matrix.h
/usr/include/flann/util/object_factory.h
/usr/include/flann/util/params.h
/usr/include/flann/util/random.h
/usr/include/flann/util/result_set.h
/usr/include/flann/util/sampling.h
/usr/include/flann/util/saving.h
/usr/include/flann/util/serialization.h
/usr/include/flann/util/timer.h
/usr/lib64/libflann.so
/usr/lib64/libflann_cpp.so
/usr/lib64/pkgconfig/flann.pc

References

Summary

In this tutorial we learn how to install flann-devel on CentOS 8 using yum and dnf.