Introduction
In this tutorial we learn how to install ceres-solver-devel
on CentOS 8.
What is ceres-solver-devel
The ceres-solver-devel package contains libraries and header files for developing applications that use ceres-solver.
We can use yum
or dnf
to install ceres-solver-devel
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install ceres-solver-devel.
Install ceres-solver-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 ceres-solver-devel
using dnf
by running the following command:
sudo dnf -y install ceres-solver-devel
Install ceres-solver-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 ceres-solver-devel
using yum
by running the following command:
sudo yum -y install ceres-solver-devel
How To Uninstall ceres-solver-devel on CentOS 8
To uninstall only the ceres-solver-devel
package we can use the following command:
sudo dnf remove ceres-solver-devel
ceres-solver-devel Package Contents on CentOS 8
/usr/include/ceres
/usr/include/ceres/autodiff_cost_function.h
/usr/include/ceres/autodiff_local_parameterization.h
/usr/include/ceres/c_api.h
/usr/include/ceres/ceres.h
/usr/include/ceres/conditioned_cost_function.h
/usr/include/ceres/context.h
/usr/include/ceres/cost_function.h
/usr/include/ceres/cost_function_to_functor.h
/usr/include/ceres/covariance.h
/usr/include/ceres/crs_matrix.h
/usr/include/ceres/cubic_interpolation.h
/usr/include/ceres/dynamic_autodiff_cost_function.h
/usr/include/ceres/dynamic_cost_function.h
/usr/include/ceres/dynamic_cost_function_to_functor.h
/usr/include/ceres/dynamic_numeric_diff_cost_function.h
/usr/include/ceres/evaluation_callback.h
/usr/include/ceres/fpclassify.h
/usr/include/ceres/gradient_checker.h
/usr/include/ceres/gradient_problem.h
/usr/include/ceres/gradient_problem_solver.h
/usr/include/ceres/internal
/usr/include/ceres/internal/autodiff.h
/usr/include/ceres/internal/config.h
/usr/include/ceres/internal/disable_warnings.h
/usr/include/ceres/internal/eigen.h
/usr/include/ceres/internal/fixed_array.h
/usr/include/ceres/internal/macros.h
/usr/include/ceres/internal/manual_constructor.h
/usr/include/ceres/internal/numeric_diff.h
/usr/include/ceres/internal/port.h
/usr/include/ceres/internal/reenable_warnings.h
/usr/include/ceres/internal/scoped_ptr.h
/usr/include/ceres/internal/variadic_evaluate.h
/usr/include/ceres/iteration_callback.h
/usr/include/ceres/jet.h
/usr/include/ceres/local_parameterization.h
/usr/include/ceres/loss_function.h
/usr/include/ceres/normal_prior.h
/usr/include/ceres/numeric_diff_cost_function.h
/usr/include/ceres/numeric_diff_options.h
/usr/include/ceres/ordered_groups.h
/usr/include/ceres/problem.h
/usr/include/ceres/rotation.h
/usr/include/ceres/sized_cost_function.h
/usr/include/ceres/solver.h
/usr/include/ceres/tiny_solver.h
/usr/include/ceres/tiny_solver_autodiff_function.h
/usr/include/ceres/tiny_solver_cost_function_adapter.h
/usr/include/ceres/types.h
/usr/include/ceres/version.h
/usr/lib64/cmake/Ceres
/usr/lib64/cmake/Ceres/CeresConfig.cmake
/usr/lib64/cmake/Ceres/CeresConfigVersion.cmake
/usr/lib64/cmake/Ceres/CeresTargets-release.cmake
/usr/lib64/cmake/Ceres/CeresTargets.cmake
/usr/lib64/cmake/Ceres/FindEigen.cmake
/usr/lib64/cmake/Ceres/FindGflags.cmake
/usr/lib64/cmake/Ceres/FindGlog.cmake
/usr/lib64/libceres.so
References
Summary
In this tutorial we learn how to install ceres-solver-devel
on CentOS 8 using yum and dnf.