How To Install boost169-static on CentOS 8

boost169-static is The Boost C++ static development libraries

Introduction

In this tutorial we learn how to install boost169-static on CentOS 8.

What is boost169-static

Static Boost C++ libraries.

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

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

sudo dnf -y install boost169-static

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

sudo yum -y install boost169-static

How To Uninstall boost169-static on CentOS 8

To uninstall only the boost169-static package we can use the following command:

sudo dnf remove boost169-static

boost169-static Package Contents on CentOS 8

/usr/lib64/boost169/libboost_atomic.a
/usr/lib64/boost169/libboost_chrono.a
/usr/lib64/boost169/libboost_container.a
/usr/lib64/boost169/libboost_context.a
/usr/lib64/boost169/libboost_contract.a
/usr/lib64/boost169/libboost_coroutine.a
/usr/lib64/boost169/libboost_date_time.a
/usr/lib64/boost169/libboost_exception.a
/usr/lib64/boost169/libboost_fiber.a
/usr/lib64/boost169/libboost_filesystem.a
/usr/lib64/boost169/libboost_graph.a
/usr/lib64/boost169/libboost_iostreams.a
/usr/lib64/boost169/libboost_locale.a
/usr/lib64/boost169/libboost_log.a
/usr/lib64/boost169/libboost_log_setup.a
/usr/lib64/boost169/libboost_math_c99.a
/usr/lib64/boost169/libboost_math_c99f.a
/usr/lib64/boost169/libboost_math_c99l.a
/usr/lib64/boost169/libboost_math_tr1.a
/usr/lib64/boost169/libboost_math_tr1f.a
/usr/lib64/boost169/libboost_math_tr1l.a
/usr/lib64/boost169/libboost_numpy27.a
/usr/lib64/boost169/libboost_numpy36.a
/usr/lib64/boost169/libboost_prg_exec_monitor.a
/usr/lib64/boost169/libboost_program_options.a
/usr/lib64/boost169/libboost_python27.a
/usr/lib64/boost169/libboost_python36.a
/usr/lib64/boost169/libboost_random.a
/usr/lib64/boost169/libboost_regex.a
/usr/lib64/boost169/libboost_serialization.a
/usr/lib64/boost169/libboost_stacktrace_addr2line.a
/usr/lib64/boost169/libboost_stacktrace_basic.a
/usr/lib64/boost169/libboost_stacktrace_noop.a
/usr/lib64/boost169/libboost_system.a
/usr/lib64/boost169/libboost_test_exec_monitor.a
/usr/lib64/boost169/libboost_thread.a
/usr/lib64/boost169/libboost_timer.a
/usr/lib64/boost169/libboost_type_erasure.a
/usr/lib64/boost169/libboost_unit_test_framework.a
/usr/lib64/boost169/libboost_wave.a
/usr/lib64/boost169/libboost_wserialization.a
/usr/lib64/mpich/lib/boost169/libboost_graph_parallel.a
/usr/lib64/mpich/lib/boost169/libboost_mpi.a
/usr/lib64/mpich/lib/boost169/libboost_mpi_python27.a
/usr/lib64/mpich/lib/boost169/libboost_mpi_python36.a
/usr/lib64/openmpi/lib/boost169/libboost_graph_parallel.a
/usr/lib64/openmpi/lib/boost169/libboost_mpi.a
/usr/lib64/openmpi/lib/boost169/libboost_mpi_python27.a
/usr/lib64/openmpi/lib/boost169/libboost_mpi_python36.a
/usr/share/licenses/boost169-static
/usr/share/licenses/boost169-static/LICENSE_1_0.txt

References

Summary

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