How To Install ucx-devel on CentOS 8

ucx-devel is Header files required for developing with UCX

Introduction

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

What is ucx-devel

Provides header files and examples for developing with UCX.

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

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

sudo dnf -y install ucx-devel

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

sudo yum -y install ucx-devel

How To Uninstall ucx-devel on CentOS 8

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

sudo dnf remove ucx-devel

ucx-devel Package Contents on CentOS 8

/usr/include/ucm
/usr/include/ucm/api
/usr/include/ucm/api/ucm.h
/usr/include/ucp
/usr/include/ucp/api
/usr/include/ucp/api/ucp.h
/usr/include/ucp/api/ucp_compat.h
/usr/include/ucp/api/ucp_def.h
/usr/include/ucp/api/ucp_version.h
/usr/include/ucs
/usr/include/ucs/algorithm
/usr/include/ucs/algorithm/crc.h
/usr/include/ucs/algorithm/qsort_r.h
/usr/include/ucs/arch
/usr/include/ucs/arch/aarch64
/usr/include/ucs/arch/aarch64/bitops.h
/usr/include/ucs/arch/aarch64/global_opts.h
/usr/include/ucs/arch/bitops.h
/usr/include/ucs/arch/global_opts.h
/usr/include/ucs/arch/ppc64
/usr/include/ucs/arch/ppc64/bitops.h
/usr/include/ucs/arch/ppc64/global_opts.h
/usr/include/ucs/arch/x86_64
/usr/include/ucs/arch/x86_64/bitops.h
/usr/include/ucs/arch/x86_64/global_opts.h
/usr/include/ucs/async
/usr/include/ucs/async/async_fwd.h
/usr/include/ucs/config
/usr/include/ucs/config/global_opts.h
/usr/include/ucs/config/parser.h
/usr/include/ucs/config/types.h
/usr/include/ucs/datastruct
/usr/include/ucs/datastruct/callbackq.h
/usr/include/ucs/datastruct/hlist.h
/usr/include/ucs/datastruct/khash.h
/usr/include/ucs/datastruct/linear_func.h
/usr/include/ucs/datastruct/list.h
/usr/include/ucs/datastruct/mpool.h
/usr/include/ucs/datastruct/pgtable.h
/usr/include/ucs/datastruct/queue_types.h
/usr/include/ucs/datastruct/strided_alloc.h
/usr/include/ucs/datastruct/string_buffer.h
/usr/include/ucs/datastruct/string_set.h
/usr/include/ucs/debug
/usr/include/ucs/debug/log_def.h
/usr/include/ucs/memory
/usr/include/ucs/memory/memory_type.h
/usr/include/ucs/memory/memtype_cache.h
/usr/include/ucs/memory/rcache.h
/usr/include/ucs/profile
/usr/include/ucs/profile/profile_defs.h
/usr/include/ucs/profile/profile_off.h
/usr/include/ucs/profile/profile_on.h
/usr/include/ucs/stats
/usr/include/ucs/stats/libstats.h
/usr/include/ucs/stats/stats_fwd.h
/usr/include/ucs/sys
/usr/include/ucs/sys/compiler_def.h
/usr/include/ucs/sys/event_set.h
/usr/include/ucs/sys/math.h
/usr/include/ucs/sys/preprocessor.h
/usr/include/ucs/sys/sock.h
/usr/include/ucs/sys/string.h
/usr/include/ucs/sys/stubs.h
/usr/include/ucs/sys/topo.h
/usr/include/ucs/time
/usr/include/ucs/time/time_def.h
/usr/include/ucs/type
/usr/include/ucs/type/class.h
/usr/include/ucs/type/cpu_set.h
/usr/include/ucs/type/init_once.h
/usr/include/ucs/type/spinlock.h
/usr/include/ucs/type/status.h
/usr/include/ucs/type/thread_mode.h
/usr/include/uct
/usr/include/uct/api
/usr/include/uct/api/tl.h
/usr/include/uct/api/uct.h
/usr/include/uct/api/uct_def.h
/usr/include/uct/api/version.h
/usr/lib64/libucm.so
/usr/lib64/libucp.so
/usr/lib64/libucs.so
/usr/lib64/libuct.so
/usr/lib64/pkgconfig/ucx.pc
/usr/share/ucx/examples
/usr/share/ucx/examples/hello_world_util.h
/usr/share/ucx/examples/ucp_client_server.c
/usr/share/ucx/examples/ucp_hello_world.c
/usr/share/ucx/examples/uct_hello_world.c

References

Summary

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