How To Install ensmallen-devel on CentOS 8

ensmallen-devel is Header-only C++ library for efficient mathematical optimization

Introduction

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

What is ensmallen-devel

ensmallen is a header-only C++ library for efficient mathematical optimization. It provides a simple set of abstractions for writing an objective function to optimize. It also provides a large set of standard and cutting-edge optimizers that can be used for virtually any mathematical optimization task. These include full-batch gradient descent techniques, small-batch techniques, gradient-free optimizers, and constrained optimization.

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

Install ensmallen-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 ensmallen-devel using dnf by running the following command:

sudo dnf -y install ensmallen-devel

Install ensmallen-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 ensmallen-devel using yum by running the following command:

sudo yum -y install ensmallen-devel

How To Uninstall ensmallen-devel on CentOS 8

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

sudo dnf remove ensmallen-devel

ensmallen-devel Package Contents on CentOS 8

/usr/include/ensmallen.hpp
/usr/include/ensmallen_bits
/usr/include/ensmallen_bits/ada_bound
/usr/include/ensmallen_bits/ada_bound/ada_bound.hpp
/usr/include/ensmallen_bits/ada_bound/ada_bound_impl.hpp
/usr/include/ensmallen_bits/ada_bound/ada_bound_update.hpp
/usr/include/ensmallen_bits/ada_bound/ams_bound_update.hpp
/usr/include/ensmallen_bits/ada_delta
/usr/include/ensmallen_bits/ada_delta/ada_delta.hpp
/usr/include/ensmallen_bits/ada_delta/ada_delta_impl.hpp
/usr/include/ensmallen_bits/ada_delta/ada_delta_update.hpp
/usr/include/ensmallen_bits/ada_grad
/usr/include/ensmallen_bits/ada_grad/ada_grad.hpp
/usr/include/ensmallen_bits/ada_grad/ada_grad_impl.hpp
/usr/include/ensmallen_bits/ada_grad/ada_grad_update.hpp
/usr/include/ensmallen_bits/adam
/usr/include/ensmallen_bits/adam/adam.hpp
/usr/include/ensmallen_bits/adam/adam_impl.hpp
/usr/include/ensmallen_bits/adam/adam_update.hpp
/usr/include/ensmallen_bits/adam/adamax_update.hpp
/usr/include/ensmallen_bits/adam/amsgrad_update.hpp
/usr/include/ensmallen_bits/adam/nadam_update.hpp
/usr/include/ensmallen_bits/adam/nadamax_update.hpp
/usr/include/ensmallen_bits/adam/optimisticadam_update.hpp
/usr/include/ensmallen_bits/aug_lagrangian
/usr/include/ensmallen_bits/aug_lagrangian/aug_lagrangian.hpp
/usr/include/ensmallen_bits/aug_lagrangian/aug_lagrangian_function.hpp
/usr/include/ensmallen_bits/aug_lagrangian/aug_lagrangian_function_impl.hpp
/usr/include/ensmallen_bits/aug_lagrangian/aug_lagrangian_impl.hpp
/usr/include/ensmallen_bits/bigbatch_sgd
/usr/include/ensmallen_bits/bigbatch_sgd/adaptive_stepsize.hpp
/usr/include/ensmallen_bits/bigbatch_sgd/backtracking_line_search.hpp
/usr/include/ensmallen_bits/bigbatch_sgd/bigbatch_sgd.hpp
/usr/include/ensmallen_bits/bigbatch_sgd/bigbatch_sgd_impl.hpp
/usr/include/ensmallen_bits/callbacks
/usr/include/ensmallen_bits/callbacks/callbacks.hpp
/usr/include/ensmallen_bits/callbacks/early_stop_at_min_loss.hpp
/usr/include/ensmallen_bits/callbacks/print_loss.hpp
/usr/include/ensmallen_bits/callbacks/progress_bar.hpp
/usr/include/ensmallen_bits/callbacks/store_best_coordinates.hpp
/usr/include/ensmallen_bits/callbacks/timer_stop.hpp
/usr/include/ensmallen_bits/callbacks/traits.hpp
/usr/include/ensmallen_bits/cmaes
/usr/include/ensmallen_bits/cmaes/cmaes.hpp
/usr/include/ensmallen_bits/cmaes/cmaes_impl.hpp
/usr/include/ensmallen_bits/cmaes/full_selection.hpp
/usr/include/ensmallen_bits/cmaes/random_selection.hpp
/usr/include/ensmallen_bits/cne
/usr/include/ensmallen_bits/cne/cne.hpp
/usr/include/ensmallen_bits/cne/cne_impl.hpp
/usr/include/ensmallen_bits/config.hpp
/usr/include/ensmallen_bits/de
/usr/include/ensmallen_bits/de/de.hpp
/usr/include/ensmallen_bits/de/de_impl.hpp
/usr/include/ensmallen_bits/ens_version.hpp
/usr/include/ensmallen_bits/eve
/usr/include/ensmallen_bits/eve/eve.hpp
/usr/include/ensmallen_bits/eve/eve_impl.hpp
/usr/include/ensmallen_bits/ftml
/usr/include/ensmallen_bits/ftml/ftml.hpp
/usr/include/ensmallen_bits/ftml/ftml_impl.hpp
/usr/include/ensmallen_bits/ftml/ftml_update.hpp
/usr/include/ensmallen_bits/function
/usr/include/ensmallen_bits/function.hpp
/usr/include/ensmallen_bits/function/add_evaluate.hpp
/usr/include/ensmallen_bits/function/add_evaluate_with_gradient.hpp
/usr/include/ensmallen_bits/function/add_gradient.hpp
/usr/include/ensmallen_bits/function/add_separable_evaluate.hpp
/usr/include/ensmallen_bits/function/add_separable_evaluate_with_gradient.hpp
/usr/include/ensmallen_bits/function/add_separable_gradient.hpp
/usr/include/ensmallen_bits/function/arma_traits.hpp
/usr/include/ensmallen_bits/function/sfinae_utility.hpp
/usr/include/ensmallen_bits/function/static_checks.hpp
/usr/include/ensmallen_bits/function/traits.hpp
/usr/include/ensmallen_bits/fw
/usr/include/ensmallen_bits/fw/atoms.hpp
/usr/include/ensmallen_bits/fw/constr_lpball.hpp
/usr/include/ensmallen_bits/fw/constr_structure_group.hpp
/usr/include/ensmallen_bits/fw/frank_wolfe.hpp
/usr/include/ensmallen_bits/fw/frank_wolfe_impl.hpp
/usr/include/ensmallen_bits/fw/func_sq.hpp
/usr/include/ensmallen_bits/fw/line_search
/usr/include/ensmallen_bits/fw/line_search/line_search.hpp
/usr/include/ensmallen_bits/fw/line_search/line_search_impl.hpp
/usr/include/ensmallen_bits/fw/proximal
/usr/include/ensmallen_bits/fw/proximal/proximal.hpp
/usr/include/ensmallen_bits/fw/proximal/proximal_impl.hpp
/usr/include/ensmallen_bits/fw/update_classic.hpp
/usr/include/ensmallen_bits/fw/update_full_correction.hpp
/usr/include/ensmallen_bits/fw/update_linesearch.hpp
/usr/include/ensmallen_bits/fw/update_span.hpp
/usr/include/ensmallen_bits/gradient_descent
/usr/include/ensmallen_bits/gradient_descent/gradient_descent.hpp
/usr/include/ensmallen_bits/gradient_descent/gradient_descent_impl.hpp
/usr/include/ensmallen_bits/grid_search
/usr/include/ensmallen_bits/grid_search/grid_search.hpp
/usr/include/ensmallen_bits/grid_search/grid_search_impl.hpp
/usr/include/ensmallen_bits/iqn
/usr/include/ensmallen_bits/iqn/iqn.hpp
/usr/include/ensmallen_bits/iqn/iqn_impl.hpp
/usr/include/ensmallen_bits/katyusha
/usr/include/ensmallen_bits/katyusha/katyusha.hpp
/usr/include/ensmallen_bits/katyusha/katyusha_impl.hpp
/usr/include/ensmallen_bits/lbfgs
/usr/include/ensmallen_bits/lbfgs/lbfgs.hpp
/usr/include/ensmallen_bits/lbfgs/lbfgs_impl.hpp
/usr/include/ensmallen_bits/log.hpp
/usr/include/ensmallen_bits/lookahead
/usr/include/ensmallen_bits/lookahead/lookahead.hpp
/usr/include/ensmallen_bits/lookahead/lookahead_impl.hpp
/usr/include/ensmallen_bits/nsga2
/usr/include/ensmallen_bits/nsga2/nsga2.hpp
/usr/include/ensmallen_bits/nsga2/nsga2_impl.hpp
/usr/include/ensmallen_bits/padam
/usr/include/ensmallen_bits/padam/padam.hpp
/usr/include/ensmallen_bits/padam/padam_update.hpp
/usr/include/ensmallen_bits/parallel_sgd
/usr/include/ensmallen_bits/parallel_sgd/decay_policies
/usr/include/ensmallen_bits/parallel_sgd/decay_policies/constant_step.hpp
/usr/include/ensmallen_bits/parallel_sgd/decay_policies/exponential_backoff.hpp
/usr/include/ensmallen_bits/parallel_sgd/parallel_sgd.hpp
/usr/include/ensmallen_bits/parallel_sgd/parallel_sgd_impl.hpp
/usr/include/ensmallen_bits/problems
/usr/include/ensmallen_bits/problems/ackley_function.hpp
/usr/include/ensmallen_bits/problems/ackley_function_impl.hpp
/usr/include/ensmallen_bits/problems/aug_lagrangian_test_functions.hpp
/usr/include/ensmallen_bits/problems/aug_lagrangian_test_functions_impl.hpp
/usr/include/ensmallen_bits/problems/beale_function.hpp
/usr/include/ensmallen_bits/problems/beale_function_impl.hpp
/usr/include/ensmallen_bits/problems/booth_function.hpp
/usr/include/ensmallen_bits/problems/booth_function_impl.hpp
/usr/include/ensmallen_bits/problems/bukin_function.hpp
/usr/include/ensmallen_bits/problems/bukin_function_impl.hpp
/usr/include/ensmallen_bits/problems/colville_function.hpp
/usr/include/ensmallen_bits/problems/colville_function_impl.hpp
/usr/include/ensmallen_bits/problems/cross_in_tray_function.hpp
/usr/include/ensmallen_bits/problems/cross_in_tray_function_impl.hpp
/usr/include/ensmallen_bits/problems/drop_wave_function.hpp
/usr/include/ensmallen_bits/problems/drop_wave_function_impl.hpp
/usr/include/ensmallen_bits/problems/easom_function.hpp
/usr/include/ensmallen_bits/problems/easom_function_impl.hpp
/usr/include/ensmallen_bits/problems/eggholder_function.hpp
/usr/include/ensmallen_bits/problems/eggholder_function_impl.hpp
/usr/include/ensmallen_bits/problems/fonseca_fleming_function.hpp
/usr/include/ensmallen_bits/problems/fw_test_function.hpp
/usr/include/ensmallen_bits/problems/generalized_rosenbrock_function.hpp
/usr/include/ensmallen_bits/problems/generalized_rosenbrock_function_impl.hpp
/usr/include/ensmallen_bits/problems/goldstein_price_function.hpp
/usr/include/ensmallen_bits/problems/goldstein_price_function_impl.hpp
/usr/include/ensmallen_bits/problems/gradient_descent_test_function.hpp
/usr/include/ensmallen_bits/problems/gradient_descent_test_function_impl.hpp
/usr/include/ensmallen_bits/problems/himmelblau_function.hpp
/usr/include/ensmallen_bits/problems/himmelblau_function_impl.hpp
/usr/include/ensmallen_bits/problems/holder_table_function.hpp
/usr/include/ensmallen_bits/problems/holder_table_function_impl.hpp
/usr/include/ensmallen_bits/problems/levy_function_n13.hpp
/usr/include/ensmallen_bits/problems/levy_function_n13_impl.hpp
/usr/include/ensmallen_bits/problems/logistic_regression_function.hpp
/usr/include/ensmallen_bits/problems/logistic_regression_function_impl.hpp
/usr/include/ensmallen_bits/problems/matyas_function.hpp
/usr/include/ensmallen_bits/problems/matyas_function_impl.hpp
/usr/include/ensmallen_bits/problems/mc_cormick_function.hpp
/usr/include/ensmallen_bits/problems/mc_cormick_function_impl.hpp
/usr/include/ensmallen_bits/problems/problems.hpp
/usr/include/ensmallen_bits/problems/rastrigin_function.hpp
/usr/include/ensmallen_bits/problems/rastrigin_function_impl.hpp
/usr/include/ensmallen_bits/problems/rosenbrock_function.hpp
/usr/include/ensmallen_bits/problems/rosenbrock_function_impl.hpp
/usr/include/ensmallen_bits/problems/rosenbrock_wood_function.hpp
/usr/include/ensmallen_bits/problems/rosenbrock_wood_function_impl.hpp
/usr/include/ensmallen_bits/problems/schaffer_function_n1.hpp
/usr/include/ensmallen_bits/problems/schaffer_function_n2.hpp
/usr/include/ensmallen_bits/problems/schaffer_function_n2_impl.hpp
/usr/include/ensmallen_bits/problems/schaffer_function_n4.hpp
/usr/include/ensmallen_bits/problems/schaffer_function_n4_impl.hpp
/usr/include/ensmallen_bits/problems/schwefel_function.hpp
/usr/include/ensmallen_bits/problems/schwefel_function_impl.hpp
/usr/include/ensmallen_bits/problems/sgd_test_function.hpp
/usr/include/ensmallen_bits/problems/sgd_test_function_impl.hpp
/usr/include/ensmallen_bits/problems/softmax_regression_function.hpp
/usr/include/ensmallen_bits/problems/softmax_regression_function_impl.hpp
/usr/include/ensmallen_bits/problems/sparse_test_function.hpp
/usr/include/ensmallen_bits/problems/sparse_test_function_impl.hpp
/usr/include/ensmallen_bits/problems/sphere_function.hpp
/usr/include/ensmallen_bits/problems/sphere_function_impl.hpp
/usr/include/ensmallen_bits/problems/styblinski_tang_function.hpp
/usr/include/ensmallen_bits/problems/styblinski_tang_function_impl.hpp
/usr/include/ensmallen_bits/problems/three_hump_camel_function.hpp
/usr/include/ensmallen_bits/problems/three_hump_camel_function_impl.hpp
/usr/include/ensmallen_bits/problems/wood_function.hpp
/usr/include/ensmallen_bits/problems/wood_function_impl.hpp
/usr/include/ensmallen_bits/pso
/usr/include/ensmallen_bits/pso/init_policies
/usr/include/ensmallen_bits/pso/init_policies/default_init.hpp
/usr/include/ensmallen_bits/pso/pso.hpp
/usr/include/ensmallen_bits/pso/pso_impl.hpp
/usr/include/ensmallen_bits/pso/update_policies
/usr/include/ensmallen_bits/pso/update_policies/lbest_update.hpp
/usr/include/ensmallen_bits/qhadam
/usr/include/ensmallen_bits/qhadam/qhadam.hpp
/usr/include/ensmallen_bits/qhadam/qhadam_impl.hpp
/usr/include/ensmallen_bits/qhadam/qhadam_update.hpp
/usr/include/ensmallen_bits/rmsprop
/usr/include/ensmallen_bits/rmsprop/rmsprop.hpp
/usr/include/ensmallen_bits/rmsprop/rmsprop_update.hpp
/usr/include/ensmallen_bits/sa
/usr/include/ensmallen_bits/sa/exponential_schedule.hpp
/usr/include/ensmallen_bits/sa/sa.hpp
/usr/include/ensmallen_bits/sa/sa_impl.hpp
/usr/include/ensmallen_bits/sarah
/usr/include/ensmallen_bits/sarah/sarah.hpp
/usr/include/ensmallen_bits/sarah/sarah_impl.hpp
/usr/include/ensmallen_bits/sarah/sarah_plus_update.hpp
/usr/include/ensmallen_bits/sarah/sarah_update.hpp
/usr/include/ensmallen_bits/scd
/usr/include/ensmallen_bits/scd/descent_policies
/usr/include/ensmallen_bits/scd/descent_policies/cyclic_descent.hpp
/usr/include/ensmallen_bits/scd/descent_policies/greedy_descent.hpp
/usr/include/ensmallen_bits/scd/descent_policies/random_descent.hpp
/usr/include/ensmallen_bits/scd/scd.hpp
/usr/include/ensmallen_bits/scd/scd_impl.hpp
/usr/include/ensmallen_bits/sdp
/usr/include/ensmallen_bits/sdp/lin_alg.hpp
/usr/include/ensmallen_bits/sdp/lrsdp.hpp
/usr/include/ensmallen_bits/sdp/lrsdp_function.hpp
/usr/include/ensmallen_bits/sdp/lrsdp_function_impl.hpp
/usr/include/ensmallen_bits/sdp/lrsdp_impl.hpp
/usr/include/ensmallen_bits/sdp/primal_dual.hpp
/usr/include/ensmallen_bits/sdp/primal_dual_impl.hpp
/usr/include/ensmallen_bits/sdp/sdp.hpp
/usr/include/ensmallen_bits/sdp/sdp_impl.hpp
/usr/include/ensmallen_bits/sgd
/usr/include/ensmallen_bits/sgd/decay_policies
/usr/include/ensmallen_bits/sgd/decay_policies/no_decay.hpp
/usr/include/ensmallen_bits/sgd/sgd.hpp
/usr/include/ensmallen_bits/sgd/sgd_impl.hpp
/usr/include/ensmallen_bits/sgd/update_policies
/usr/include/ensmallen_bits/sgd/update_policies/gradient_clipping.hpp
/usr/include/ensmallen_bits/sgd/update_policies/momentum_update.hpp
/usr/include/ensmallen_bits/sgd/update_policies/nesterov_momentum_update.hpp
/usr/include/ensmallen_bits/sgd/update_policies/quasi_hyperbolic_update.hpp
/usr/include/ensmallen_bits/sgd/update_policies/vanilla_update.hpp
/usr/include/ensmallen_bits/sgdr
/usr/include/ensmallen_bits/sgdr/cyclical_decay.hpp
/usr/include/ensmallen_bits/sgdr/sgdr.hpp
/usr/include/ensmallen_bits/sgdr/sgdr_impl.hpp
/usr/include/ensmallen_bits/sgdr/snapshot_ensembles.hpp
/usr/include/ensmallen_bits/sgdr/snapshot_sgdr.hpp
/usr/include/ensmallen_bits/sgdr/snapshot_sgdr_impl.hpp
/usr/include/ensmallen_bits/smorms3
/usr/include/ensmallen_bits/smorms3/smorms3.hpp
/usr/include/ensmallen_bits/smorms3/smorms3_impl.hpp
/usr/include/ensmallen_bits/smorms3/smorms3_update.hpp
/usr/include/ensmallen_bits/spalera_sgd
/usr/include/ensmallen_bits/spalera_sgd/spalera_sgd.hpp
/usr/include/ensmallen_bits/spalera_sgd/spalera_sgd_impl.hpp
/usr/include/ensmallen_bits/spalera_sgd/spalera_stepsize.hpp
/usr/include/ensmallen_bits/spsa
/usr/include/ensmallen_bits/spsa/spsa.hpp
/usr/include/ensmallen_bits/spsa/spsa_impl.hpp
/usr/include/ensmallen_bits/svrg
/usr/include/ensmallen_bits/svrg/barzilai_borwein_decay.hpp
/usr/include/ensmallen_bits/svrg/svrg.hpp
/usr/include/ensmallen_bits/svrg/svrg_impl.hpp
/usr/include/ensmallen_bits/svrg/svrg_update.hpp
/usr/include/ensmallen_bits/swats
/usr/include/ensmallen_bits/swats/swats.hpp
/usr/include/ensmallen_bits/swats/swats_impl.hpp
/usr/include/ensmallen_bits/swats/swats_update.hpp
/usr/include/ensmallen_bits/utility
/usr/include/ensmallen_bits/utility/any.hpp
/usr/include/ensmallen_bits/utility/arma_traits.hpp
/usr/include/ensmallen_bits/wn_grad
/usr/include/ensmallen_bits/wn_grad/wn_grad.hpp
/usr/include/ensmallen_bits/wn_grad/wn_grad_impl.hpp
/usr/include/ensmallen_bits/wn_grad/wn_grad_update.hpp
/usr/lib64/cmake/ensmallen/ensmallen-config-version.cmake
/usr/lib64/cmake/ensmallen/ensmallen-config.cmake
/usr/lib64/cmake/ensmallen/ensmallen-targets.cmake
/usr/share/licenses/ensmallen-devel
/usr/share/licenses/ensmallen-devel/LICENSE.txt

References

Summary

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