如何安装 nng-devel Fedora 36

在本教程中,我们学习如何安装 nng-devel Fedora 36. nng-devel 是nng套接字库的开发文件

介绍

在本教程中我们学习如何安装 nng-devel 在 Fedora 36.

什么是 nng-devel

该软件包包含使用 nanomsg 开发应用程序所需的文件,nanomsg 是一个提供多种常见通信模式的套接字库。

我们可以用 yum 或者 dnf 安装 nng-devel 在 Fedora 36. 在本教程中,我们讨论这两种方法,但您只需选择一种方法来安装 nng-devel。

安装 nng-devel Fedora 36 使用dnf

更新 yum 数据库 dnf 使用以下命令。

sudo dnf makecache --refresh

更新 yum 数据库后,我们可以安装 nng-devel 使用 dnf 通过运行以下命令:

sudo dnf -y install nng-devel

安装 nng-devel Fedora 36 使用 yum

更新 yum 数据库 yum 使用以下命令。

sudo yum makecache --refresh

更新 yum 数据库后,我们可以安装 nng-devel 使用 yum 通过运行以下命令:

sudo yum -y install nng-devel

如何卸载 nng-devel Fedora 36

仅卸载 nng-devel 打包我们可以使用以下命令:

sudo dnf remove nng-devel

nng-devel 包内容位于 Fedora 36

/usr/include/nng
/usr/include/nng/compat
/usr/include/nng/compat/nanomsg
/usr/include/nng/compat/nanomsg/bus.h
/usr/include/nng/compat/nanomsg/inproc.h
/usr/include/nng/compat/nanomsg/ipc.h
/usr/include/nng/compat/nanomsg/nn.h
/usr/include/nng/compat/nanomsg/pair.h
/usr/include/nng/compat/nanomsg/pipeline.h
/usr/include/nng/compat/nanomsg/pubsub.h
/usr/include/nng/compat/nanomsg/reqrep.h
/usr/include/nng/compat/nanomsg/survey.h
/usr/include/nng/compat/nanomsg/tcp.h
/usr/include/nng/compat/nanomsg/ws.h
/usr/include/nng/nng.h
/usr/include/nng/protocol
/usr/include/nng/protocol/bus0
/usr/include/nng/protocol/bus0/bus.h
/usr/include/nng/protocol/pair0
/usr/include/nng/protocol/pair0/pair.h
/usr/include/nng/protocol/pair1
/usr/include/nng/protocol/pair1/pair.h
/usr/include/nng/protocol/pipeline0
/usr/include/nng/protocol/pipeline0/pull.h
/usr/include/nng/protocol/pipeline0/push.h
/usr/include/nng/protocol/pubsub0
/usr/include/nng/protocol/pubsub0/pub.h
/usr/include/nng/protocol/pubsub0/sub.h
/usr/include/nng/protocol/reqrep0
/usr/include/nng/protocol/reqrep0/rep.h
/usr/include/nng/protocol/reqrep0/req.h
/usr/include/nng/protocol/survey0
/usr/include/nng/protocol/survey0/respond.h
/usr/include/nng/protocol/survey0/survey.h
/usr/include/nng/supplemental
/usr/include/nng/supplemental/http
/usr/include/nng/supplemental/http/http.h
/usr/include/nng/supplemental/tls
/usr/include/nng/supplemental/tls/engine.h
/usr/include/nng/supplemental/tls/tls.h
/usr/include/nng/supplemental/util
/usr/include/nng/supplemental/util/options.h
/usr/include/nng/supplemental/util/platform.h
/usr/include/nng/transport
/usr/include/nng/transport/inproc
/usr/include/nng/transport/inproc/inproc.h
/usr/include/nng/transport/ipc
/usr/include/nng/transport/ipc/ipc.h
/usr/include/nng/transport/tcp
/usr/include/nng/transport/tcp/tcp.h
/usr/include/nng/transport/tls
/usr/include/nng/transport/tls/tls.h
/usr/include/nng/transport/ws
/usr/include/nng/transport/ws/websocket.h
/usr/include/nng/transport/zerotier
/usr/include/nng/transport/zerotier/zerotier.h
/usr/lib64/cmake/nng
/usr/lib64/cmake/nng/nng-config-version.cmake
/usr/lib64/cmake/nng/nng-config.cmake
/usr/lib64/cmake/nng/nng-targets-noconfig.cmake
/usr/lib64/cmake/nng/nng-targets.cmake
/usr/lib64/libnng.so
/usr/share/doc/nng
/usr/share/doc/nng/libnng.3.html
/usr/share/doc/nng/nn_allocmsg.3compat.html
/usr/share/doc/nng/nn_bind.3compat.html
/usr/share/doc/nng/nn_close.3compat.html
/usr/share/doc/nng/nn_cmsg.3compat.html
/usr/share/doc/nng/nn_connect.3compat.html
/usr/share/doc/nng/nn_device.3compat.html
/usr/share/doc/nng/nn_errno.3compat.html
/usr/share/doc/nng/nn_freemsg.3compat.html
/usr/share/doc/nng/nn_get_statistic.3compat.html
/usr/share/doc/nng/nn_getsockopt.3compat.html
/usr/share/doc/nng/nn_poll.3compat.html
/usr/share/doc/nng/nn_reallocmsg.3compat.html
/usr/share/doc/nng/nn_recv.3compat.html
/usr/share/doc/nng/nn_recvmsg.3compat.html
/usr/share/doc/nng/nn_send.3compat.html
/usr/share/doc/nng/nn_sendmsg.3compat.html
/usr/share/doc/nng/nn_setsockopt.3compat.html
/usr/share/doc/nng/nn_shutdown.3compat.html
/usr/share/doc/nng/nn_socket.3compat.html
/usr/share/doc/nng/nn_strerror.3compat.html
/usr/share/doc/nng/nn_term.3compat.html
/usr/share/doc/nng/nng.7.html
/usr/share/doc/nng/nng_aio.5.html
/usr/share/doc/nng/nng_aio_abort.3.html
/usr/share/doc/nng/nng_aio_alloc.3.html
/usr/share/doc/nng/nng_aio_begin.3.html
/usr/share/doc/nng/nng_aio_cancel.3.html
/usr/share/doc/nng/nng_aio_count.3.html
/usr/share/doc/nng/nng_aio_defer.3.html
/usr/share/doc/nng/nng_aio_finish.3.html
/usr/share/doc/nng/nng_aio_free.3.html
/usr/share/doc/nng/nng_aio_get_input.3.html
/usr/share/doc/nng/nng_aio_get_msg.3.html
/usr/share/doc/nng/nng_aio_get_output.3.html
/usr/share/doc/nng/nng_aio_result.3.html
/usr/share/doc/nng/nng_aio_set_input.3.html
/usr/share/doc/nng/nng_aio_set_iov.3.html
/usr/share/doc/nng/nng_aio_set_msg.3.html
/usr/share/doc/nng/nng_aio_set_output.3.html
/usr/share/doc/nng/nng_aio_set_timeout.3.html
/usr/share/doc/nng/nng_aio_stop.3.html
/usr/share/doc/nng/nng_aio_wait.3.html
/usr/share/doc/nng/nng_alloc.3.html
/usr/share/doc/nng/nng_bus.7.html
/usr/share/doc/nng/nng_bus_open.3.html
/usr/share/doc/nng/nng_clock.3supp.html
/usr/share/doc/nng/nng_close.3.html
/usr/share/doc/nng/nng_compat.3compat.html
/usr/share/doc/nng/nng_ctx.5.html
/usr/share/doc/nng/nng_ctx_close.3.html
/usr/share/doc/nng/nng_ctx_get.3.html
/usr/share/doc/nng/nng_ctx_getopt.3.html
/usr/share/doc/nng/nng_ctx_id.3.html
/usr/share/doc/nng/nng_ctx_open.3.html
/usr/share/doc/nng/nng_ctx_recv.3.html
/usr/share/doc/nng/nng_ctx_send.3.html
/usr/share/doc/nng/nng_ctx_set.3.html
/usr/share/doc/nng/nng_ctx_setopt.3.html
/usr/share/doc/nng/nng_cv_alloc.3supp.html
/usr/share/doc/nng/nng_cv_free.3supp.html
/usr/share/doc/nng/nng_cv_until.3supp.html
/usr/share/doc/nng/nng_cv_wait.3supp.html
/usr/share/doc/nng/nng_cv_wake.3supp.html
/usr/share/doc/nng/nng_cv_wake1.3supp.html
/usr/share/doc/nng/nng_device.3.html
/usr/share/doc/nng/nng_dial.3.html
/usr/share/doc/nng/nng_dialer.5.html
/usr/share/doc/nng/nng_dialer_close.3.html
/usr/share/doc/nng/nng_dialer_create.3.html
/usr/share/doc/nng/nng_dialer_get.3.html
/usr/share/doc/nng/nng_dialer_getopt.3.html
/usr/share/doc/nng/nng_dialer_id.3.html
/usr/share/doc/nng/nng_dialer_set.3.html
/usr/share/doc/nng/nng_dialer_setopt.3.html
/usr/share/doc/nng/nng_dialer_start.3.html
/usr/share/doc/nng/nng_duration.5.html
/usr/share/doc/nng/nng_free.3.html
/usr/share/doc/nng/nng_getopt.3.html
/usr/share/doc/nng/nng_http_client_alloc.3http.html
/usr/share/doc/nng/nng_http_client_connect.3http.html
/usr/share/doc/nng/nng_http_client_free.3http.html
/usr/share/doc/nng/nng_http_client_get_tls.3http.html
/usr/share/doc/nng/nng_http_client_set_tls.3http.html
/usr/share/doc/nng/nng_http_client_transact.3http.html
/usr/share/doc/nng/nng_http_conn_close.3http.html
/usr/share/doc/nng/nng_http_conn_read.3http.html
/usr/share/doc/nng/nng_http_conn_read_all.3http.html
/usr/share/doc/nng/nng_http_conn_read_req.3http.html
/usr/share/doc/nng/nng_http_conn_read_res.3http.html
/usr/share/doc/nng/nng_http_conn_transact.3http.html
/usr/share/doc/nng/nng_http_conn_write.3http.html
/usr/share/doc/nng/nng_http_conn_write_all.3http.html
/usr/share/doc/nng/nng_http_conn_write_req.3http.html
/usr/share/doc/nng/nng_http_conn_write_res.3http.html
/usr/share/doc/nng/nng_http_handler_alloc.3http.html
/usr/share/doc/nng/nng_http_handler_free.3http.html
/usr/share/doc/nng/nng_http_handler_get_data.3http.html
/usr/share/doc/nng/nng_http_handler_set_data.3http.html
/usr/share/doc/nng/nng_http_handler_set_host.3http.html
/usr/share/doc/nng/nng_http_handler_set_method.3http.html
/usr/share/doc/nng/nng_http_handler_set_tree.3http.html
/usr/share/doc/nng/nng_http_hijack.3http.html
/usr/share/doc/nng/nng_http_req_add_header.3http.html
/usr/share/doc/nng/nng_http_req_alloc.3http.html
/usr/share/doc/nng/nng_http_req_copy_data.3http.html
/usr/share/doc/nng/nng_http_req_del_header.3http.html
/usr/share/doc/nng/nng_http_req_free.3http.html
/usr/share/doc/nng/nng_http_req_get_data.3http.html
/usr/share/doc/nng/nng_http_req_get_header.3http.html
/usr/share/doc/nng/nng_http_req_get_method.3http.html
/usr/share/doc/nng/nng_http_req_get_uri.3http.html
/usr/share/doc/nng/nng_http_req_get_version.3http.html
/usr/share/doc/nng/nng_http_req_reset.3http.html
/usr/share/doc/nng/nng_http_req_set_data.3http.html
/usr/share/doc/nng/nng_http_req_set_header.3http.html
/usr/share/doc/nng/nng_http_req_set_method.3http.html
/usr/share/doc/nng/nng_http_req_set_uri.3http.html
/usr/share/doc/nng/nng_http_req_set_version.3http.html
/usr/share/doc/nng/nng_http_res_add_header.3http.html
/usr/share/doc/nng/nng_http_res_alloc.3http.html
/usr/share/doc/nng/nng_http_res_alloc_error.3http.html
/usr/share/doc/nng/nng_http_res_copy_data.3http.html
/usr/share/doc/nng/nng_http_res_del_header.3http.html
/usr/share/doc/nng/nng_http_res_free.3http.html
/usr/share/doc/nng/nng_http_res_get_data.3http.html
/usr/share/doc/nng/nng_http_res_get_header.3http.html
/usr/share/doc/nng/nng_http_res_get_reason.3http.html
/usr/share/doc/nng/nng_http_res_get_status.3http.html
/usr/share/doc/nng/nng_http_res_get_version.3http.html
/usr/share/doc/nng/nng_http_res_reset.3http.html
/usr/share/doc/nng/nng_http_res_set_data.3http.html
/usr/share/doc/nng/nng_http_res_set_header.3http.html
/usr/share/doc/nng/nng_http_res_set_reason.3http.html
/usr/share/doc/nng/nng_http_res_set_status.3http.html
/usr/share/doc/nng/nng_http_res_set_version.3http.html
/usr/share/doc/nng/nng_http_server_add_handler.3http.html
/usr/share/doc/nng/nng_http_server_del_handler.3http.html
/usr/share/doc/nng/nng_http_server_get_addr.3http.html
/usr/share/doc/nng/nng_http_server_get_tls.3http.html
/usr/share/doc/nng/nng_http_server_hold.3http.html
/usr/share/doc/nng/nng_http_server_release.3http.html
/usr/share/doc/nng/nng_http_server_set_tls.3http.html
/usr/share/doc/nng/nng_http_server_start.3http.html
/usr/share/doc/nng/nng_http_server_stop.3http.html
/usr/share/doc/nng/nng_inproc.7.html
/usr/share/doc/nng/nng_inproc_register.3.html
/usr/share/doc/nng/nng_iov.5.html
/usr/share/doc/nng/nng_ipc.7.html
/usr/share/doc/nng/nng_ipc_options.5.html
/usr/share/doc/nng/nng_ipc_register.3.html
/usr/share/doc/nng/nng_listen.3.html
/usr/share/doc/nng/nng_listener.5.html
/usr/share/doc/nng/nng_listener_close.3.html
/usr/share/doc/nng/nng_listener_create.3.html
/usr/share/doc/nng/nng_listener_get.3.html
/usr/share/doc/nng/nng_listener_getopt.3.html
/usr/share/doc/nng/nng_listener_id.3.html
/usr/share/doc/nng/nng_listener_set.3.html
/usr/share/doc/nng/nng_listener_setopt.3.html
/usr/share/doc/nng/nng_listener_start.3.html
/usr/share/doc/nng/nng_msg.5.html
/usr/share/doc/nng/nng_msg_alloc.3.html
/usr/share/doc/nng/nng_msg_append.3.html
/usr/share/doc/nng/nng_msg_body.3.html
/usr/share/doc/nng/nng_msg_chop.3.html
/usr/share/doc/nng/nng_msg_clear.3.html
/usr/share/doc/nng/nng_msg_dup.3.html
/usr/share/doc/nng/nng_msg_free.3.html
/usr/share/doc/nng/nng_msg_get_pipe.3.html
/usr/share/doc/nng/nng_msg_header.3.html
/usr/share/doc/nng/nng_msg_header_append.3.html
/usr/share/doc/nng/nng_msg_header_chop.3.html
/usr/share/doc/nng/nng_msg_header_clear.3.html
/usr/share/doc/nng/nng_msg_header_insert.3.html
/usr/share/doc/nng/nng_msg_header_len.3.html
/usr/share/doc/nng/nng_msg_header_trim.3.html
/usr/share/doc/nng/nng_msg_insert.3.html
/usr/share/doc/nng/nng_msg_len.3.html
/usr/share/doc/nng/nng_msg_realloc.3.html
/usr/share/doc/nng/nng_msg_set_pipe.3.html
/usr/share/doc/nng/nng_msg_trim.3.html
/usr/share/doc/nng/nng_msleep.3supp.html
/usr/share/doc/nng/nng_mtx_alloc.3supp.html
/usr/share/doc/nng/nng_mtx_free.3supp.html
/usr/share/doc/nng/nng_mtx_lock.3supp.html
/usr/share/doc/nng/nng_mtx_unlock.3supp.html
/usr/share/doc/nng/nng_options.5.html
/usr/share/doc/nng/nng_opts_parse.3supp.html
/usr/share/doc/nng/nng_pair.7.html
/usr/share/doc/nng/nng_pair_open.3.html
/usr/share/doc/nng/nng_pipe.5.html
/usr/share/doc/nng/nng_pipe_close.3.html
/usr/share/doc/nng/nng_pipe_dialer.3.html
/usr/share/doc/nng/nng_pipe_get.3.html
/usr/share/doc/nng/nng_pipe_getopt.3.html
/usr/share/doc/nng/nng_pipe_id.3.html
/usr/share/doc/nng/nng_pipe_listener.3.html
/usr/share/doc/nng/nng_pipe_notify.3.html
/usr/share/doc/nng/nng_pipe_socket.3.html
/usr/share/doc/nng/nng_pub.7.html
/usr/share/doc/nng/nng_pub_open.3.html
/usr/share/doc/nng/nng_pull.7.html
/usr/share/doc/nng/nng_pull_open.3.html
/usr/share/doc/nng/nng_push.7.html
/usr/share/doc/nng/nng_push_open.3.html
/usr/share/doc/nng/nng_random.3supp.html
/usr/share/doc/nng/nng_recv.3.html
/usr/share/doc/nng/nng_recv_aio.3.html
/usr/share/doc/nng/nng_recvmsg.3.html
/usr/share/doc/nng/nng_rep.7.html
/usr/share/doc/nng/nng_rep_open.3.html
/usr/share/doc/nng/nng_req.7.html
/usr/share/doc/nng/nng_req_open.3.html
/usr/share/doc/nng/nng_respondent.7.html
/usr/share/doc/nng/nng_respondent_open.3.html
/usr/share/doc/nng/nng_send.3.html
/usr/share/doc/nng/nng_send_aio.3.html
/usr/share/doc/nng/nng_sendmsg.3.html
/usr/share/doc/nng/nng_setopt.3.html
/usr/share/doc/nng/nng_sleep_aio.3.html
/usr/share/doc/nng/nng_sockaddr.5.html
/usr/share/doc/nng/nng_sockaddr_abstract.5.html
/usr/share/doc/nng/nng_sockaddr_in.5.html
/usr/share/doc/nng/nng_sockaddr_in6.5.html
/usr/share/doc/nng/nng_sockaddr_inproc.5.html
/usr/share/doc/nng/nng_sockaddr_ipc.5.html
/usr/share/doc/nng/nng_sockaddr_zt.5.html
/usr/share/doc/nng/nng_socket.5.html
/usr/share/doc/nng/nng_socket_get.3.html
/usr/share/doc/nng/nng_socket_id.3.html
/usr/share/doc/nng/nng_socket_set.3.html
/usr/share/doc/nng/nng_stat.5.html
/usr/share/doc/nng/nng_stat_bool.3.html
/usr/share/doc/nng/nng_stat_child.3.html
/usr/share/doc/nng/nng_stat_desc.3.html
/usr/share/doc/nng/nng_stat_find.3.html
/usr/share/doc/nng/nng_stat_find_dialer.3.html
/usr/share/doc/nng/nng_stat_find_listener.3.html
/usr/share/doc/nng/nng_stat_find_socket.3.html
/usr/share/doc/nng/nng_stat_name.3.html
/usr/share/doc/nng/nng_stat_next.3.html
/usr/share/doc/nng/nng_stat_string.3.html
/usr/share/doc/nng/nng_stat_timestamp.3.html
/usr/share/doc/nng/nng_stat_type.3.html
/usr/share/doc/nng/nng_stat_unit.3.html
/usr/share/doc/nng/nng_stat_value.3.html
/usr/share/doc/nng/nng_stats_free.3.html
/usr/share/doc/nng/nng_stats_get.3.html
/usr/share/doc/nng/nng_strdup.3.html
/usr/share/doc/nng/nng_stream.5.html
/usr/share/doc/nng/nng_stream_close.3str.html
/usr/share/doc/nng/nng_stream_dialer.5.html
/usr/share/doc/nng/nng_stream_dialer_alloc.3str.html
/usr/share/doc/nng/nng_stream_dialer_close.3str.html
/usr/share/doc/nng/nng_stream_dialer_dial.3str.html
/usr/share/doc/nng/nng_stream_dialer_free.3str.html
/usr/share/doc/nng/nng_stream_dialer_get.3str.html
/usr/share/doc/nng/nng_stream_dialer_set.3str.html
/usr/share/doc/nng/nng_stream_free.3str.html
/usr/share/doc/nng/nng_stream_get.3str.html
/usr/share/doc/nng/nng_stream_listener.5.html
/usr/share/doc/nng/nng_stream_listener_accept.3str.html
/usr/share/doc/nng/nng_stream_listener_alloc.3str.html
/usr/share/doc/nng/nng_stream_listener_close.3str.html
/usr/share/doc/nng/nng_stream_listener_free.3str.html
/usr/share/doc/nng/nng_stream_listener_get.3str.html
/usr/share/doc/nng/nng_stream_listener_listen.3str.html
/usr/share/doc/nng/nng_stream_listener_set.3str.html
/usr/share/doc/nng/nng_stream_recv.3str.html
/usr/share/doc/nng/nng_stream_send.3str.html
/usr/share/doc/nng/nng_stream_set.3str.html
/usr/share/doc/nng/nng_strerror.3.html
/usr/share/doc/nng/nng_strfree.3.html
/usr/share/doc/nng/nng_sub.7.html
/usr/share/doc/nng/nng_sub_open.3.html
/usr/share/doc/nng/nng_surveyor.7.html
/usr/share/doc/nng/nng_surveyor_open.3.html
/usr/share/doc/nng/nng_tcp.7.html
/usr/share/doc/nng/nng_tcp_options.5.html
/usr/share/doc/nng/nng_tcp_register.3.html
/usr/share/doc/nng/nng_thread_create.3supp.html
/usr/share/doc/nng/nng_thread_destroy.3supp.html
/usr/share/doc/nng/nng_thread_set_name.3supp.html
/usr/share/doc/nng/nng_tls.7.html
/usr/share/doc/nng/nng_tls_config.5.html
/usr/share/doc/nng/nng_tls_config_alloc.3tls.html
/usr/share/doc/nng/nng_tls_config_auth_mode.3tls.html
/usr/share/doc/nng/nng_tls_config_ca_chain.3tls.html
/usr/share/doc/nng/nng_tls_config_ca_file.3tls.html
/usr/share/doc/nng/nng_tls_config_cert_key_file.3tls.html
/usr/share/doc/nng/nng_tls_config_free.3tls.html
/usr/share/doc/nng/nng_tls_config_hold.3tls.html
/usr/share/doc/nng/nng_tls_config_own_cert.3tls.html
/usr/share/doc/nng/nng_tls_config_server_name.3tls.html
/usr/share/doc/nng/nng_tls_engine.5.html
/usr/share/doc/nng/nng_tls_engine_description.3tls.html
/usr/share/doc/nng/nng_tls_engine_fips_mode.3tls.html
/usr/share/doc/nng/nng_tls_engine_name.3tls.html
/usr/share/doc/nng/nng_tls_options.5.html
/usr/share/doc/nng/nng_tls_register.3.html
/usr/share/doc/nng/nng_url.5.html
/usr/share/doc/nng/nng_url_clone.3.html
/usr/share/doc/nng/nng_url_free.3.html
/usr/share/doc/nng/nng_url_parse.3.html
/usr/share/doc/nng/nng_version.3.html
/usr/share/doc/nng/nng_ws.7.html
/usr/share/doc/nng/nng_ws_register.3.html
/usr/share/doc/nng/nng_wss_register.3.html
/usr/share/doc/nng/nng_zerotier.7.html
/usr/share/doc/nng/nng_zt_register.3.html
/usr/share/doc/nng/nngcat.1.html

参考

概括

在本教程中我们学习如何安装 nng-devel 在 Fedora 36 使用 yum 和 [dnf]((/fedora/36/dnf/)。

标题:“如何安装 nng-devel Fedora 36” linkTitle: “nng-devel” type: “docs” 描述: “在本教程中,我们学习如何安装 nng-devel Fedora 36. nng-devel 是 nng 套接字库的开发文件” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/nng-devel-featured.png

介绍

在本教程中我们学习如何安装 nng-devel 在 Fedora 36.

什么是 nng-devel

该软件包包含使用 nanomsg 开发应用程序所需的文件,nanomsg 是一个提供多种常见通信模式的套接字库。

我们可以用 yum 或者 dnf 安装 nng-devel 在 Fedora 36. 在本教程中,我们讨论这两种方法,但您只需选择一种方法来安装 nng-devel。

安装 nng-devel Fedora 36 使用dnf

更新 yum 数据库 dnf 使用以下命令。

sudo dnf makecache --refresh

更新 yum 数据库后,我们可以安装 nng-devel 使用 dnf 通过运行以下命令:

sudo dnf -y install nng-devel

安装 nng-devel Fedora 36 使用 yum

更新 yum 数据库 yum 使用以下命令。

sudo yum makecache --refresh

更新 yum 数据库后,我们可以安装 nng-devel 使用 yum 通过运行以下命令:

sudo yum -y install nng-devel

如何卸载 nng-devel Fedora 36

仅卸载 nng-devel 打包我们可以使用以下命令:

sudo dnf remove nng-devel

nng-devel 包内容位于 Fedora 36

/usr/include/nng
/usr/include/nng/compat
/usr/include/nng/compat/nanomsg
/usr/include/nng/compat/nanomsg/bus.h
/usr/include/nng/compat/nanomsg/inproc.h
/usr/include/nng/compat/nanomsg/ipc.h
/usr/include/nng/compat/nanomsg/nn.h
/usr/include/nng/compat/nanomsg/pair.h
/usr/include/nng/compat/nanomsg/pipeline.h
/usr/include/nng/compat/nanomsg/pubsub.h
/usr/include/nng/compat/nanomsg/reqrep.h
/usr/include/nng/compat/nanomsg/survey.h
/usr/include/nng/compat/nanomsg/tcp.h
/usr/include/nng/compat/nanomsg/ws.h
/usr/include/nng/nng.h
/usr/include/nng/protocol
/usr/include/nng/protocol/bus0
/usr/include/nng/protocol/bus0/bus.h
/usr/include/nng/protocol/pair0
/usr/include/nng/protocol/pair0/pair.h
/usr/include/nng/protocol/pair1
/usr/include/nng/protocol/pair1/pair.h
/usr/include/nng/protocol/pipeline0
/usr/include/nng/protocol/pipeline0/pull.h
/usr/include/nng/protocol/pipeline0/push.h
/usr/include/nng/protocol/pubsub0
/usr/include/nng/protocol/pubsub0/pub.h
/usr/include/nng/protocol/pubsub0/sub.h
/usr/include/nng/protocol/reqrep0
/usr/include/nng/protocol/reqrep0/rep.h
/usr/include/nng/protocol/reqrep0/req.h
/usr/include/nng/protocol/survey0
/usr/include/nng/protocol/survey0/respond.h
/usr/include/nng/protocol/survey0/survey.h
/usr/include/nng/supplemental
/usr/include/nng/supplemental/http
/usr/include/nng/supplemental/http/http.h
/usr/include/nng/supplemental/tls
/usr/include/nng/supplemental/tls/engine.h
/usr/include/nng/supplemental/tls/tls.h
/usr/include/nng/supplemental/util
/usr/include/nng/supplemental/util/options.h
/usr/include/nng/supplemental/util/platform.h
/usr/include/nng/transport
/usr/include/nng/transport/inproc
/usr/include/nng/transport/inproc/inproc.h
/usr/include/nng/transport/ipc
/usr/include/nng/transport/ipc/ipc.h
/usr/include/nng/transport/tcp
/usr/include/nng/transport/tcp/tcp.h
/usr/include/nng/transport/tls
/usr/include/nng/transport/tls/tls.h
/usr/include/nng/transport/ws
/usr/include/nng/transport/ws/websocket.h
/usr/include/nng/transport/zerotier
/usr/include/nng/transport/zerotier/zerotier.h
/usr/lib/cmake/nng
/usr/lib/cmake/nng/nng-config-version.cmake
/usr/lib/cmake/nng/nng-config.cmake
/usr/lib/cmake/nng/nng-targets-noconfig.cmake
/usr/lib/cmake/nng/nng-targets.cmake
/usr/lib/libnng.so
/usr/share/doc/nng
/usr/share/doc/nng/libnng.3.html
/usr/share/doc/nng/nn_allocmsg.3compat.html
/usr/share/doc/nng/nn_bind.3compat.html
/usr/share/doc/nng/nn_close.3compat.html
/usr/share/doc/nng/nn_cmsg.3compat.html
/usr/share/doc/nng/nn_connect.3compat.html
/usr/share/doc/nng/nn_device.3compat.html
/usr/share/doc/nng/nn_errno.3compat.html
/usr/share/doc/nng/nn_freemsg.3compat.html
/usr/share/doc/nng/nn_get_statistic.3compat.html
/usr/share/doc/nng/nn_getsockopt.3compat.html
/usr/share/doc/nng/nn_poll.3compat.html
/usr/share/doc/nng/nn_reallocmsg.3compat.html
/usr/share/doc/nng/nn_recv.3compat.html
/usr/share/doc/nng/nn_recvmsg.3compat.html
/usr/share/doc/nng/nn_send.3compat.html
/usr/share/doc/nng/nn_sendmsg.3compat.html
/usr/share/doc/nng/nn_setsockopt.3compat.html
/usr/share/doc/nng/nn_shutdown.3compat.html
/usr/share/doc/nng/nn_socket.3compat.html
/usr/share/doc/nng/nn_strerror.3compat.html
/usr/share/doc/nng/nn_term.3compat.html
/usr/share/doc/nng/nng.7.html
/usr/share/doc/nng/nng_aio.5.html
/usr/share/doc/nng/nng_aio_abort.3.html
/usr/share/doc/nng/nng_aio_alloc.3.html
/usr/share/doc/nng/nng_aio_begin.3.html
/usr/share/doc/nng/nng_aio_cancel.3.html
/usr/share/doc/nng/nng_aio_count.3.html
/usr/share/doc/nng/nng_aio_defer.3.html
/usr/share/doc/nng/nng_aio_finish.3.html
/usr/share/doc/nng/nng_aio_free.3.html
/usr/share/doc/nng/nng_aio_get_input.3.html
/usr/share/doc/nng/nng_aio_get_msg.3.html
/usr/share/doc/nng/nng_aio_get_output.3.html
/usr/share/doc/nng/nng_aio_result.3.html
/usr/share/doc/nng/nng_aio_set_input.3.html
/usr/share/doc/nng/nng_aio_set_iov.3.html
/usr/share/doc/nng/nng_aio_set_msg.3.html
/usr/share/doc/nng/nng_aio_set_output.3.html
/usr/share/doc/nng/nng_aio_set_timeout.3.html
/usr/share/doc/nng/nng_aio_stop.3.html
/usr/share/doc/nng/nng_aio_wait.3.html
/usr/share/doc/nng/nng_alloc.3.html
/usr/share/doc/nng/nng_bus.7.html
/usr/share/doc/nng/nng_bus_open.3.html
/usr/share/doc/nng/nng_clock.3supp.html
/usr/share/doc/nng/nng_close.3.html
/usr/share/doc/nng/nng_compat.3compat.html
/usr/share/doc/nng/nng_ctx.5.html
/usr/share/doc/nng/nng_ctx_close.3.html
/usr/share/doc/nng/nng_ctx_get.3.html
/usr/share/doc/nng/nng_ctx_getopt.3.html
/usr/share/doc/nng/nng_ctx_id.3.html
/usr/share/doc/nng/nng_ctx_open.3.html
/usr/share/doc/nng/nng_ctx_recv.3.html
/usr/share/doc/nng/nng_ctx_send.3.html
/usr/share/doc/nng/nng_ctx_set.3.html
/usr/share/doc/nng/nng_ctx_setopt.3.html
/usr/share/doc/nng/nng_cv_alloc.3supp.html
/usr/share/doc/nng/nng_cv_free.3supp.html
/usr/share/doc/nng/nng_cv_until.3supp.html
/usr/share/doc/nng/nng_cv_wait.3supp.html
/usr/share/doc/nng/nng_cv_wake.3supp.html
/usr/share/doc/nng/nng_cv_wake1.3supp.html
/usr/share/doc/nng/nng_device.3.html
/usr/share/doc/nng/nng_dial.3.html
/usr/share/doc/nng/nng_dialer.5.html
/usr/share/doc/nng/nng_dialer_close.3.html
/usr/share/doc/nng/nng_dialer_create.3.html
/usr/share/doc/nng/nng_dialer_get.3.html
/usr/share/doc/nng/nng_dialer_getopt.3.html
/usr/share/doc/nng/nng_dialer_id.3.html
/usr/share/doc/nng/nng_dialer_set.3.html
/usr/share/doc/nng/nng_dialer_setopt.3.html
/usr/share/doc/nng/nng_dialer_start.3.html
/usr/share/doc/nng/nng_duration.5.html
/usr/share/doc/nng/nng_free.3.html
/usr/share/doc/nng/nng_getopt.3.html
/usr/share/doc/nng/nng_http_client_alloc.3http.html
/usr/share/doc/nng/nng_http_client_connect.3http.html
/usr/share/doc/nng/nng_http_client_free.3http.html
/usr/share/doc/nng/nng_http_client_get_tls.3http.html
/usr/share/doc/nng/nng_http_client_set_tls.3http.html
/usr/share/doc/nng/nng_http_client_transact.3http.html
/usr/share/doc/nng/nng_http_conn_close.3http.html
/usr/share/doc/nng/nng_http_conn_read.3http.html
/usr/share/doc/nng/nng_http_conn_read_all.3http.html
/usr/share/doc/nng/nng_http_conn_read_req.3http.html
/usr/share/doc/nng/nng_http_conn_read_res.3http.html
/usr/share/doc/nng/nng_http_conn_transact.3http.html
/usr/share/doc/nng/nng_http_conn_write.3http.html
/usr/share/doc/nng/nng_http_conn_write_all.3http.html
/usr/share/doc/nng/nng_http_conn_write_req.3http.html
/usr/share/doc/nng/nng_http_conn_write_res.3http.html
/usr/share/doc/nng/nng_http_handler_alloc.3http.html
/usr/share/doc/nng/nng_http_handler_free.3http.html
/usr/share/doc/nng/nng_http_handler_get_data.3http.html
/usr/share/doc/nng/nng_http_handler_set_data.3http.html
/usr/share/doc/nng/nng_http_handler_set_host.3http.html
/usr/share/doc/nng/nng_http_handler_set_method.3http.html
/usr/share/doc/nng/nng_http_handler_set_tree.3http.html
/usr/share/doc/nng/nng_http_hijack.3http.html
/usr/share/doc/nng/nng_http_req_add_header.3http.html
/usr/share/doc/nng/nng_http_req_alloc.3http.html
/usr/share/doc/nng/nng_http_req_copy_data.3http.html
/usr/share/doc/nng/nng_http_req_del_header.3http.html
/usr/share/doc/nng/nng_http_req_free.3http.html
/usr/share/doc/nng/nng_http_req_get_data.3http.html
/usr/share/doc/nng/nng_http_req_get_header.3http.html
/usr/share/doc/nng/nng_http_req_get_method.3http.html
/usr/share/doc/nng/nng_http_req_get_uri.3http.html
/usr/share/doc/nng/nng_http_req_get_version.3http.html
/usr/share/doc/nng/nng_http_req_reset.3http.html
/usr/share/doc/nng/nng_http_req_set_data.3http.html
/usr/share/doc/nng/nng_http_req_set_header.3http.html
/usr/share/doc/nng/nng_http_req_set_method.3http.html
/usr/share/doc/nng/nng_http_req_set_uri.3http.html
/usr/share/doc/nng/nng_http_req_set_version.3http.html
/usr/share/doc/nng/nng_http_res_add_header.3http.html
/usr/share/doc/nng/nng_http_res_alloc.3http.html
/usr/share/doc/nng/nng_http_res_alloc_error.3http.html
/usr/share/doc/nng/nng_http_res_copy_data.3http.html
/usr/share/doc/nng/nng_http_res_del_header.3http.html
/usr/share/doc/nng/nng_http_res_free.3http.html
/usr/share/doc/nng/nng_http_res_get_data.3http.html
/usr/share/doc/nng/nng_http_res_get_header.3http.html
/usr/share/doc/nng/nng_http_res_get_reason.3http.html
/usr/share/doc/nng/nng_http_res_get_status.3http.html
/usr/share/doc/nng/nng_http_res_get_version.3http.html
/usr/share/doc/nng/nng_http_res_reset.3http.html
/usr/share/doc/nng/nng_http_res_set_data.3http.html
/usr/share/doc/nng/nng_http_res_set_header.3http.html
/usr/share/doc/nng/nng_http_res_set_reason.3http.html
/usr/share/doc/nng/nng_http_res_set_status.3http.html
/usr/share/doc/nng/nng_http_res_set_version.3http.html
/usr/share/doc/nng/nng_http_server_add_handler.3http.html
/usr/share/doc/nng/nng_http_server_del_handler.3http.html
/usr/share/doc/nng/nng_http_server_get_addr.3http.html
/usr/share/doc/nng/nng_http_server_get_tls.3http.html
/usr/share/doc/nng/nng_http_server_hold.3http.html
/usr/share/doc/nng/nng_http_server_release.3http.html
/usr/share/doc/nng/nng_http_server_set_tls.3http.html
/usr/share/doc/nng/nng_http_server_start.3http.html
/usr/share/doc/nng/nng_http_server_stop.3http.html
/usr/share/doc/nng/nng_inproc.7.html
/usr/share/doc/nng/nng_inproc_register.3.html
/usr/share/doc/nng/nng_iov.5.html
/usr/share/doc/nng/nng_ipc.7.html
/usr/share/doc/nng/nng_ipc_options.5.html
/usr/share/doc/nng/nng_ipc_register.3.html
/usr/share/doc/nng/nng_listen.3.html
/usr/share/doc/nng/nng_listener.5.html
/usr/share/doc/nng/nng_listener_close.3.html
/usr/share/doc/nng/nng_listener_create.3.html
/usr/share/doc/nng/nng_listener_get.3.html
/usr/share/doc/nng/nng_listener_getopt.3.html
/usr/share/doc/nng/nng_listener_id.3.html
/usr/share/doc/nng/nng_listener_set.3.html
/usr/share/doc/nng/nng_listener_setopt.3.html
/usr/share/doc/nng/nng_listener_start.3.html
/usr/share/doc/nng/nng_msg.5.html
/usr/share/doc/nng/nng_msg_alloc.3.html
/usr/share/doc/nng/nng_msg_append.3.html
/usr/share/doc/nng/nng_msg_body.3.html
/usr/share/doc/nng/nng_msg_chop.3.html
/usr/share/doc/nng/nng_msg_clear.3.html
/usr/share/doc/nng/nng_msg_dup.3.html
/usr/share/doc/nng/nng_msg_free.3.html
/usr/share/doc/nng/nng_msg_get_pipe.3.html
/usr/share/doc/nng/nng_msg_header.3.html
/usr/share/doc/nng/nng_msg_header_append.3.html
/usr/share/doc/nng/nng_msg_header_chop.3.html
/usr/share/doc/nng/nng_msg_header_clear.3.html
/usr/share/doc/nng/nng_msg_header_insert.3.html
/usr/share/doc/nng/nng_msg_header_len.3.html
/usr/share/doc/nng/nng_msg_header_trim.3.html
/usr/share/doc/nng/nng_msg_insert.3.html
/usr/share/doc/nng/nng_msg_len.3.html
/usr/share/doc/nng/nng_msg_realloc.3.html
/usr/share/doc/nng/nng_msg_set_pipe.3.html
/usr/share/doc/nng/nng_msg_trim.3.html
/usr/share/doc/nng/nng_msleep.3supp.html
/usr/share/doc/nng/nng_mtx_alloc.3supp.html
/usr/share/doc/nng/nng_mtx_free.3supp.html
/usr/share/doc/nng/nng_mtx_lock.3supp.html
/usr/share/doc/nng/nng_mtx_unlock.3supp.html
/usr/share/doc/nng/nng_options.5.html
/usr/share/doc/nng/nng_opts_parse.3supp.html
/usr/share/doc/nng/nng_pair.7.html
/usr/share/doc/nng/nng_pair_open.3.html
/usr/share/doc/nng/nng_pipe.5.html
/usr/share/doc/nng/nng_pipe_close.3.html
/usr/share/doc/nng/nng_pipe_dialer.3.html
/usr/share/doc/nng/nng_pipe_get.3.html
/usr/share/doc/nng/nng_pipe_getopt.3.html
/usr/share/doc/nng/nng_pipe_id.3.html
/usr/share/doc/nng/nng_pipe_listener.3.html
/usr/share/doc/nng/nng_pipe_notify.3.html
/usr/share/doc/nng/nng_pipe_socket.3.html
/usr/share/doc/nng/nng_pub.7.html
/usr/share/doc/nng/nng_pub_open.3.html
/usr/share/doc/nng/nng_pull.7.html
/usr/share/doc/nng/nng_pull_open.3.html
/usr/share/doc/nng/nng_push.7.html
/usr/share/doc/nng/nng_push_open.3.html
/usr/share/doc/nng/nng_random.3supp.html
/usr/share/doc/nng/nng_recv.3.html
/usr/share/doc/nng/nng_recv_aio.3.html
/usr/share/doc/nng/nng_recvmsg.3.html
/usr/share/doc/nng/nng_rep.7.html
/usr/share/doc/nng/nng_rep_open.3.html
/usr/share/doc/nng/nng_req.7.html
/usr/share/doc/nng/nng_req_open.3.html
/usr/share/doc/nng/nng_respondent.7.html
/usr/share/doc/nng/nng_respondent_open.3.html
/usr/share/doc/nng/nng_send.3.html
/usr/share/doc/nng/nng_send_aio.3.html
/usr/share/doc/nng/nng_sendmsg.3.html
/usr/share/doc/nng/nng_setopt.3.html
/usr/share/doc/nng/nng_sleep_aio.3.html
/usr/share/doc/nng/nng_sockaddr.5.html
/usr/share/doc/nng/nng_sockaddr_abstract.5.html
/usr/share/doc/nng/nng_sockaddr_in.5.html
/usr/share/doc/nng/nng_sockaddr_in6.5.html
/usr/share/doc/nng/nng_sockaddr_inproc.5.html
/usr/share/doc/nng/nng_sockaddr_ipc.5.html
/usr/share/doc/nng/nng_sockaddr_zt.5.html
/usr/share/doc/nng/nng_socket.5.html
/usr/share/doc/nng/nng_socket_get.3.html
/usr/share/doc/nng/nng_socket_id.3.html
/usr/share/doc/nng/nng_socket_set.3.html
/usr/share/doc/nng/nng_stat.5.html
/usr/share/doc/nng/nng_stat_bool.3.html
/usr/share/doc/nng/nng_stat_child.3.html
/usr/share/doc/nng/nng_stat_desc.3.html
/usr/share/doc/nng/nng_stat_find.3.html
/usr/share/doc/nng/nng_stat_find_dialer.3.html
/usr/share/doc/nng/nng_stat_find_listener.3.html
/usr/share/doc/nng/nng_stat_find_socket.3.html
/usr/share/doc/nng/nng_stat_name.3.html
/usr/share/doc/nng/nng_stat_next.3.html
/usr/share/doc/nng/nng_stat_string.3.html
/usr/share/doc/nng/nng_stat_timestamp.3.html
/usr/share/doc/nng/nng_stat_type.3.html
/usr/share/doc/nng/nng_stat_unit.3.html
/usr/share/doc/nng/nng_stat_value.3.html
/usr/share/doc/nng/nng_stats_free.3.html
/usr/share/doc/nng/nng_stats_get.3.html
/usr/share/doc/nng/nng_strdup.3.html
/usr/share/doc/nng/nng_stream.5.html
/usr/share/doc/nng/nng_stream_close.3str.html
/usr/share/doc/nng/nng_stream_dialer.5.html
/usr/share/doc/nng/nng_stream_dialer_alloc.3str.html
/usr/share/doc/nng/nng_stream_dialer_close.3str.html
/usr/share/doc/nng/nng_stream_dialer_dial.3str.html
/usr/share/doc/nng/nng_stream_dialer_free.3str.html
/usr/share/doc/nng/nng_stream_dialer_get.3str.html
/usr/share/doc/nng/nng_stream_dialer_set.3str.html
/usr/share/doc/nng/nng_stream_free.3str.html
/usr/share/doc/nng/nng_stream_get.3str.html
/usr/share/doc/nng/nng_stream_listener.5.html
/usr/share/doc/nng/nng_stream_listener_accept.3str.html
/usr/share/doc/nng/nng_stream_listener_alloc.3str.html
/usr/share/doc/nng/nng_stream_listener_close.3str.html
/usr/share/doc/nng/nng_stream_listener_free.3str.html
/usr/share/doc/nng/nng_stream_listener_get.3str.html
/usr/share/doc/nng/nng_stream_listener_listen.3str.html
/usr/share/doc/nng/nng_stream_listener_set.3str.html
/usr/share/doc/nng/nng_stream_recv.3str.html
/usr/share/doc/nng/nng_stream_send.3str.html
/usr/share/doc/nng/nng_stream_set.3str.html
/usr/share/doc/nng/nng_strerror.3.html
/usr/share/doc/nng/nng_strfree.3.html
/usr/share/doc/nng/nng_sub.7.html
/usr/share/doc/nng/nng_sub_open.3.html
/usr/share/doc/nng/nng_surveyor.7.html
/usr/share/doc/nng/nng_surveyor_open.3.html
/usr/share/doc/nng/nng_tcp.7.html
/usr/share/doc/nng/nng_tcp_options.5.html
/usr/share/doc/nng/nng_tcp_register.3.html
/usr/share/doc/nng/nng_thread_create.3supp.html
/usr/share/doc/nng/nng_thread_destroy.3supp.html
/usr/share/doc/nng/nng_thread_set_name.3supp.html
/usr/share/doc/nng/nng_tls.7.html
/usr/share/doc/nng/nng_tls_config.5.html
/usr/share/doc/nng/nng_tls_config_alloc.3tls.html
/usr/share/doc/nng/nng_tls_config_auth_mode.3tls.html
/usr/share/doc/nng/nng_tls_config_ca_chain.3tls.html
/usr/share/doc/nng/nng_tls_config_ca_file.3tls.html
/usr/share/doc/nng/nng_tls_config_cert_key_file.3tls.html
/usr/share/doc/nng/nng_tls_config_free.3tls.html
/usr/share/doc/nng/nng_tls_config_hold.3tls.html
/usr/share/doc/nng/nng_tls_config_own_cert.3tls.html
/usr/share/doc/nng/nng_tls_config_server_name.3tls.html
/usr/share/doc/nng/nng_tls_engine.5.html
/usr/share/doc/nng/nng_tls_engine_description.3tls.html
/usr/share/doc/nng/nng_tls_engine_fips_mode.3tls.html
/usr/share/doc/nng/nng_tls_engine_name.3tls.html
/usr/share/doc/nng/nng_tls_options.5.html
/usr/share/doc/nng/nng_tls_register.3.html
/usr/share/doc/nng/nng_url.5.html
/usr/share/doc/nng/nng_url_clone.3.html
/usr/share/doc/nng/nng_url_free.3.html
/usr/share/doc/nng/nng_url_parse.3.html
/usr/share/doc/nng/nng_version.3.html
/usr/share/doc/nng/nng_ws.7.html
/usr/share/doc/nng/nng_ws_register.3.html
/usr/share/doc/nng/nng_wss_register.3.html
/usr/share/doc/nng/nng_zerotier.7.html
/usr/share/doc/nng/nng_zt_register.3.html
/usr/share/doc/nng/nngcat.1.html

参考

概括

在本教程中我们学习如何安装 nng-devel 在 Fedora 36 使用 yum 和 [dnf]((/fedora/36/dnf/)。