Introduction
In this tutorial we learn how to install capnproto-devel
on CentOS 8.
What is capnproto-devel
The capnproto-devel package contains libraries and header files for developing applications that use capnproto.
We can use yum
or dnf
to install capnproto-devel
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install capnproto-devel.
Install capnproto-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 capnproto-devel
using dnf
by running the following command:
sudo dnf -y install capnproto-devel
Install capnproto-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 capnproto-devel
using yum
by running the following command:
sudo yum -y install capnproto-devel
How To Uninstall capnproto-devel on CentOS 8
To uninstall only the capnproto-devel
package we can use the following command:
sudo dnf remove capnproto-devel
capnproto-devel Package Contents on CentOS 8
/usr/include/capnp
/usr/include/capnp/any.h
/usr/include/capnp/blob.h
/usr/include/capnp/c++.capnp
/usr/include/capnp/c++.capnp.h
/usr/include/capnp/capability.h
/usr/include/capnp/common.h
/usr/include/capnp/compat
/usr/include/capnp/compat/json.capnp
/usr/include/capnp/compat/json.capnp.h
/usr/include/capnp/compat/json.h
/usr/include/capnp/dynamic.h
/usr/include/capnp/endian.h
/usr/include/capnp/ez-rpc.h
/usr/include/capnp/generated-header-support.h
/usr/include/capnp/layout.h
/usr/include/capnp/list.h
/usr/include/capnp/membrane.h
/usr/include/capnp/message.h
/usr/include/capnp/orphan.h
/usr/include/capnp/persistent.capnp
/usr/include/capnp/persistent.capnp.h
/usr/include/capnp/pointer-helpers.h
/usr/include/capnp/pretty-print.h
/usr/include/capnp/raw-schema.h
/usr/include/capnp/rpc-prelude.h
/usr/include/capnp/rpc-twoparty.capnp
/usr/include/capnp/rpc-twoparty.capnp.h
/usr/include/capnp/rpc-twoparty.h
/usr/include/capnp/rpc.capnp
/usr/include/capnp/rpc.capnp.h
/usr/include/capnp/rpc.h
/usr/include/capnp/schema-lite.h
/usr/include/capnp/schema-loader.h
/usr/include/capnp/schema-parser.h
/usr/include/capnp/schema.capnp
/usr/include/capnp/schema.capnp.h
/usr/include/capnp/schema.h
/usr/include/capnp/serialize-async.h
/usr/include/capnp/serialize-packed.h
/usr/include/capnp/serialize-text.h
/usr/include/capnp/serialize.h
/usr/include/kj
/usr/include/kj/arena.h
/usr/include/kj/array.h
/usr/include/kj/async-inl.h
/usr/include/kj/async-io.h
/usr/include/kj/async-prelude.h
/usr/include/kj/async-unix.h
/usr/include/kj/async-win32.h
/usr/include/kj/async.h
/usr/include/kj/common.h
/usr/include/kj/compat
/usr/include/kj/compat/gtest.h
/usr/include/kj/compat/gzip.h
/usr/include/kj/compat/http.h
/usr/include/kj/compat/url.h
/usr/include/kj/debug.h
/usr/include/kj/encoding.h
/usr/include/kj/exception.h
/usr/include/kj/filesystem.h
/usr/include/kj/function.h
/usr/include/kj/hash.h
/usr/include/kj/io.h
/usr/include/kj/main.h
/usr/include/kj/map.h
/usr/include/kj/memory.h
/usr/include/kj/mutex.h
/usr/include/kj/one-of.h
/usr/include/kj/parse
/usr/include/kj/parse/char.h
/usr/include/kj/parse/common.h
/usr/include/kj/refcount.h
/usr/include/kj/std
/usr/include/kj/std/iostream.h
/usr/include/kj/string-tree.h
/usr/include/kj/string.h
/usr/include/kj/table.h
/usr/include/kj/test.h
/usr/include/kj/thread.h
/usr/include/kj/threadlocal.h
/usr/include/kj/time.h
/usr/include/kj/timer.h
/usr/include/kj/tuple.h
/usr/include/kj/units.h
/usr/include/kj/vector.h
/usr/include/kj/windows-sanity.h
/usr/lib64/cmake/CapnProto
/usr/lib64/cmake/CapnProto/CapnProtoConfig.cmake
/usr/lib64/cmake/CapnProto/CapnProtoConfigVersion.cmake
/usr/lib64/cmake/CapnProto/CapnProtoMacros.cmake
/usr/lib64/cmake/CapnProto/CapnProtoTargets-noconfig.cmake
/usr/lib64/cmake/CapnProto/CapnProtoTargets.cmake
/usr/lib64/libcapnp-json.so
/usr/lib64/libcapnp-rpc.so
/usr/lib64/libcapnp.so
/usr/lib64/libcapnpc.so
/usr/lib64/libkj-async.so
/usr/lib64/libkj-gzip.so
/usr/lib64/libkj-http.so
/usr/lib64/libkj-test.so
/usr/lib64/libkj.so
/usr/lib64/pkgconfig/capnp-json.pc
/usr/lib64/pkgconfig/capnp-rpc.pc
/usr/lib64/pkgconfig/capnp.pc
/usr/lib64/pkgconfig/kj-async.pc
/usr/lib64/pkgconfig/kj-http.pc
/usr/lib64/pkgconfig/kj-test.pc
/usr/lib64/pkgconfig/kj.pc
References
Summary
In this tutorial we learn how to install capnproto-devel
on CentOS 8 using yum and dnf.