How To Install ocaml-luv on Fedora 36

In this tutorial we learn how to install ocaml-luv in Fedora 36. ocaml-luv is OCaml binding to libuv for cross-platform asynchronous I/O

Introduction

In this tutorial we learn how to install ocaml-luv on Fedora 36.

What is ocaml-luv

Luv is a binding to libuv, the cross-platform C library that does asynchronous I/O in Node.js and runs its main loop. Besides asynchronous I/O, libuv also supports multiprocessing and multithreading. Multiple event loops can be run in different threads. Libuv also exposes a lot of other functionality, amounting to a full OS API, and an alternative to the standard module Unix.

We can use yum or dnf to install ocaml-luv on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-luv.

Install ocaml-luv on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ocaml-luv using dnf by running the following command:

sudo dnf -y install ocaml-luv

Install ocaml-luv on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ocaml-luv using yum by running the following command:

sudo yum -y install ocaml-luv

How To Uninstall ocaml-luv on Fedora 36

To uninstall only the ocaml-luv package we can use the following command:

sudo dnf remove ocaml-luv

ocaml-luv Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/32
/usr/lib/.build-id/32/595c59b5b196bbf245d3288c6ece67f40c1f5a
/usr/lib/.build-id/43
/usr/lib/.build-id/43/2a44b307d881df592780a86d788b042b14a5b5
/usr/lib/.build-id/45
/usr/lib/.build-id/45/e146d48d85d3178ff301746e59c1dd553c56b2
/usr/lib/.build-id/78
/usr/lib/.build-id/78/5526cfd3eab3e7d745a87eb9c1d97e405d01f8
/usr/lib/.build-id/80
/usr/lib/.build-id/80/331be0ec067a1bbb74386beb43bf841d15c6c7
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/64b3ea4bf83f6046e7a835e63f8e44435a05bb
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/e35d72632327e47a0248fd782137f95597744b
/usr/lib64/ocaml/luv
/usr/lib64/ocaml/luv/META
/usr/lib64/ocaml/luv/c
/usr/lib64/ocaml/luv/c/luv_c.cma
/usr/lib64/ocaml/luv/c/luv_c.cmxs
/usr/lib64/ocaml/luv/c/luv_c_generated_functions.cmi
/usr/lib64/ocaml/luv/c_function_descriptions
/usr/lib64/ocaml/luv/c_function_descriptions/luv_c_function_descriptions.cma
/usr/lib64/ocaml/luv/c_function_descriptions/luv_c_function_descriptions.cmi
/usr/lib64/ocaml/luv/c_function_descriptions/luv_c_function_descriptions.cmxs
/usr/lib64/ocaml/luv/c_function_descriptions/luv_c_generated_types.cmi
/usr/lib64/ocaml/luv/c_function_descriptions/luv_c_types.cmi
/usr/lib64/ocaml/luv/c_type_descriptions
/usr/lib64/ocaml/luv/c_type_descriptions/luv_c_type_descriptions.cma
/usr/lib64/ocaml/luv/c_type_descriptions/luv_c_type_descriptions.cmi
/usr/lib64/ocaml/luv/c_type_descriptions/luv_c_type_descriptions.cmxs
/usr/lib64/ocaml/luv/luv.cma
/usr/lib64/ocaml/luv/luv.cmi
/usr/lib64/ocaml/luv/luv.cmxs
/usr/lib64/ocaml/luv/luv__.cmi
/usr/lib64/ocaml/luv/luv__Async.cmi
/usr/lib64/ocaml/luv/luv__Barrier.cmi
/usr/lib64/ocaml/luv/luv__Buffer.cmi
/usr/lib64/ocaml/luv/luv__C.cmi
/usr/lib64/ocaml/luv/luv__Check.cmi
/usr/lib64/ocaml/luv/luv__Compatibility.cmi
/usr/lib64/ocaml/luv/luv__Condition.cmi
/usr/lib64/ocaml/luv/luv__DLL.cmi
/usr/lib64/ocaml/luv/luv__DNS.cmi
/usr/lib64/ocaml/luv/luv__Env.cmi
/usr/lib64/ocaml/luv/luv__Error.cmi
/usr/lib64/ocaml/luv/luv__FS_event.cmi
/usr/lib64/ocaml/luv/luv__FS_poll.cmi
/usr/lib64/ocaml/luv/luv__File.cmi
/usr/lib64/ocaml/luv/luv__Handle.cmi
/usr/lib64/ocaml/luv/luv__Helpers.cmi
/usr/lib64/ocaml/luv/luv__Idle.cmi
/usr/lib64/ocaml/luv/luv__Loop.cmi
/usr/lib64/ocaml/luv/luv__Loop_watcher.cmi
/usr/lib64/ocaml/luv/luv__Metrics.cmi
/usr/lib64/ocaml/luv/luv__Mutex.cmi
/usr/lib64/ocaml/luv/luv__Network.cmi
/usr/lib64/ocaml/luv/luv__Once.cmi
/usr/lib64/ocaml/luv/luv__Os_fd.cmi
/usr/lib64/ocaml/luv/luv__Passwd.cmi
/usr/lib64/ocaml/luv/luv__Path.cmi
/usr/lib64/ocaml/luv/luv__Pid.cmi
/usr/lib64/ocaml/luv/luv__Pipe.cmi
/usr/lib64/ocaml/luv/luv__Poll.cmi
/usr/lib64/ocaml/luv/luv__Prepare.cmi
/usr/lib64/ocaml/luv/luv__Process.cmi
/usr/lib64/ocaml/luv/luv__Random.cmi
/usr/lib64/ocaml/luv/luv__Request.cmi
/usr/lib64/ocaml/luv/luv__Require.cmi
/usr/lib64/ocaml/luv/luv__Resource.cmi
/usr/lib64/ocaml/luv/luv__Rwlock.cmi
/usr/lib64/ocaml/luv/luv__Semaphore.cmi
/usr/lib64/ocaml/luv/luv__Signal.cmi
/usr/lib64/ocaml/luv/luv__Sockaddr.cmi
/usr/lib64/ocaml/luv/luv__Stream.cmi
/usr/lib64/ocaml/luv/luv__System_info.cmi
/usr/lib64/ocaml/luv/luv__TCP.cmi
/usr/lib64/ocaml/luv/luv__TLS.cmi
/usr/lib64/ocaml/luv/luv__TTY.cmi
/usr/lib64/ocaml/luv/luv__Thread.cmi
/usr/lib64/ocaml/luv/luv__Thread_pool.cmi
/usr/lib64/ocaml/luv/luv__Time.cmi
/usr/lib64/ocaml/luv/luv__Timer.cmi
/usr/lib64/ocaml/luv/luv__UDP.cmi
/usr/lib64/ocaml/luv/luv__Version.cmi
/usr/lib64/ocaml/luv_unix
/usr/lib64/ocaml/luv_unix/META
/usr/lib64/ocaml/luv_unix/luv_unix.cma
/usr/lib64/ocaml/luv_unix/luv_unix.cmi
/usr/lib64/ocaml/luv_unix/luv_unix.cmxs
/usr/lib64/ocaml/stublibs/dllluv_c_stubs.so
/usr/lib64/ocaml/stublibs/dllluv_unix_stubs.so
/usr/share/doc/ocaml-luv
/usr/share/doc/ocaml-luv/README.md
/usr/share/licenses/ocaml-luv
/usr/share/licenses/ocaml-luv/LICENSE.md

References

Summary

In this tutorial we learn how to install ocaml-luv on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install ocaml-luv on Fedora 36” linkTitle: “ocaml-luv” type: “docs” description: “In this tutorial we learn how to install ocaml-luv in Fedora 36. ocaml-luv is OCaml binding to libuv for cross-platform asynchronous I/O” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ocaml-luv-featured.png

Introduction

In this tutorial we learn how to install ocaml-luv on Fedora 36.

What is ocaml-luv

Luv is a binding to libuv, the cross-platform C library that does asynchronous I/O in Node.js and runs its main loop. Besides asynchronous I/O, libuv also supports multiprocessing and multithreading. Multiple event loops can be run in different threads. Libuv also exposes a lot of other functionality, amounting to a full OS API, and an alternative to the standard module Unix.

We can use yum or dnf to install ocaml-luv on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-luv.

Install ocaml-luv on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ocaml-luv using dnf by running the following command:

sudo dnf -y install ocaml-luv

Install ocaml-luv on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ocaml-luv using yum by running the following command:

sudo yum -y install ocaml-luv

How To Uninstall ocaml-luv on Fedora 36

To uninstall only the ocaml-luv package we can use the following command:

sudo dnf remove ocaml-luv

ocaml-luv Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/ab913c2d732fc6bb85816e167edb74a3a09649
/usr/lib/.build-id/36
/usr/lib/.build-id/36/14c553a9df1693c34f74aeafe8304707dfdf93
/usr/lib/.build-id/90
/usr/lib/.build-id/90/8804af63f50fd504f01b5dc017d6811926ace0
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/d34de3cfb0f4659e4d3030a9b7d007d5f3ab66
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/338f82063b5d49180208ceadca9ab818ab745e
/usr/lib/.build-id/ed/4d993480c42be8e2a68ab9a7eba6b49a90c0b8
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/f17d7901c0010c81e2a096b21ace6c700d8e61
/usr/lib/ocaml/luv
/usr/lib/ocaml/luv/META
/usr/lib/ocaml/luv/c
/usr/lib/ocaml/luv/c/luv_c.cma
/usr/lib/ocaml/luv/c/luv_c.cmxs
/usr/lib/ocaml/luv/c/luv_c_generated_functions.cmi
/usr/lib/ocaml/luv/c_function_descriptions
/usr/lib/ocaml/luv/c_function_descriptions/luv_c_function_descriptions.cma
/usr/lib/ocaml/luv/c_function_descriptions/luv_c_function_descriptions.cmi
/usr/lib/ocaml/luv/c_function_descriptions/luv_c_function_descriptions.cmxs
/usr/lib/ocaml/luv/c_function_descriptions/luv_c_generated_types.cmi
/usr/lib/ocaml/luv/c_function_descriptions/luv_c_types.cmi
/usr/lib/ocaml/luv/c_type_descriptions
/usr/lib/ocaml/luv/c_type_descriptions/luv_c_type_descriptions.cma
/usr/lib/ocaml/luv/c_type_descriptions/luv_c_type_descriptions.cmi
/usr/lib/ocaml/luv/c_type_descriptions/luv_c_type_descriptions.cmxs
/usr/lib/ocaml/luv/luv.cma
/usr/lib/ocaml/luv/luv.cmi
/usr/lib/ocaml/luv/luv.cmxs
/usr/lib/ocaml/luv/luv__.cmi
/usr/lib/ocaml/luv/luv__Async.cmi
/usr/lib/ocaml/luv/luv__Barrier.cmi
/usr/lib/ocaml/luv/luv__Buffer.cmi
/usr/lib/ocaml/luv/luv__C.cmi
/usr/lib/ocaml/luv/luv__Check.cmi
/usr/lib/ocaml/luv/luv__Compatibility.cmi
/usr/lib/ocaml/luv/luv__Condition.cmi
/usr/lib/ocaml/luv/luv__DLL.cmi
/usr/lib/ocaml/luv/luv__DNS.cmi
/usr/lib/ocaml/luv/luv__Env.cmi
/usr/lib/ocaml/luv/luv__Error.cmi
/usr/lib/ocaml/luv/luv__FS_event.cmi
/usr/lib/ocaml/luv/luv__FS_poll.cmi
/usr/lib/ocaml/luv/luv__File.cmi
/usr/lib/ocaml/luv/luv__Handle.cmi
/usr/lib/ocaml/luv/luv__Helpers.cmi
/usr/lib/ocaml/luv/luv__Idle.cmi
/usr/lib/ocaml/luv/luv__Loop.cmi
/usr/lib/ocaml/luv/luv__Loop_watcher.cmi
/usr/lib/ocaml/luv/luv__Metrics.cmi
/usr/lib/ocaml/luv/luv__Mutex.cmi
/usr/lib/ocaml/luv/luv__Network.cmi
/usr/lib/ocaml/luv/luv__Once.cmi
/usr/lib/ocaml/luv/luv__Os_fd.cmi
/usr/lib/ocaml/luv/luv__Passwd.cmi
/usr/lib/ocaml/luv/luv__Path.cmi
/usr/lib/ocaml/luv/luv__Pid.cmi
/usr/lib/ocaml/luv/luv__Pipe.cmi
/usr/lib/ocaml/luv/luv__Poll.cmi
/usr/lib/ocaml/luv/luv__Prepare.cmi
/usr/lib/ocaml/luv/luv__Process.cmi
/usr/lib/ocaml/luv/luv__Random.cmi
/usr/lib/ocaml/luv/luv__Request.cmi
/usr/lib/ocaml/luv/luv__Require.cmi
/usr/lib/ocaml/luv/luv__Resource.cmi
/usr/lib/ocaml/luv/luv__Rwlock.cmi
/usr/lib/ocaml/luv/luv__Semaphore.cmi
/usr/lib/ocaml/luv/luv__Signal.cmi
/usr/lib/ocaml/luv/luv__Sockaddr.cmi
/usr/lib/ocaml/luv/luv__Stream.cmi
/usr/lib/ocaml/luv/luv__System_info.cmi
/usr/lib/ocaml/luv/luv__TCP.cmi
/usr/lib/ocaml/luv/luv__TLS.cmi
/usr/lib/ocaml/luv/luv__TTY.cmi
/usr/lib/ocaml/luv/luv__Thread.cmi
/usr/lib/ocaml/luv/luv__Thread_pool.cmi
/usr/lib/ocaml/luv/luv__Time.cmi
/usr/lib/ocaml/luv/luv__Timer.cmi
/usr/lib/ocaml/luv/luv__UDP.cmi
/usr/lib/ocaml/luv/luv__Version.cmi
/usr/lib/ocaml/luv_unix
/usr/lib/ocaml/luv_unix/META
/usr/lib/ocaml/luv_unix/luv_unix.cma
/usr/lib/ocaml/luv_unix/luv_unix.cmi
/usr/lib/ocaml/luv_unix/luv_unix.cmxs
/usr/lib/ocaml/stublibs/dllluv_c_stubs.so
/usr/lib/ocaml/stublibs/dllluv_unix_stubs.so
/usr/share/doc/ocaml-luv
/usr/share/doc/ocaml-luv/README.md
/usr/share/licenses/ocaml-luv
/usr/share/licenses/ocaml-luv/LICENSE.md

References

Summary

In this tutorial we learn how to install ocaml-luv on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).