How To Install reproc on Fedora 36
Introduction
In this tutorial we learn how to install reproc
on Fedora 36.
What is reproc
reproc (Redirected Process) is a cross-platform C/C++ library that simplifies starting, stopping and communicating with external programs. The main use case is executing command line applications directly from C or C++ code and retrieving their output. reproc consists out of two libraries library that contains the actual code for working with external programs. reproc++ depends on reproc and adapts its API to an idiomatic C++11 API. It also adds a few extras that simplify working with external programs from C++.
We can use yum
or dnf
to install reproc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install reproc.
Install reproc 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 reproc
using dnf
by running the following command:
sudo dnf -y install reproc
Install reproc 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 reproc
using yum
by running the following command:
sudo yum -y install reproc
How To Uninstall reproc on Fedora 36
To uninstall only the reproc
package we can use the following command:
sudo dnf remove reproc
reproc Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/3727e7648352f68c991fd5b8f006b127b805a5
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/e8b660133659c6394e77ccdd377449e638f47f
/usr/lib/libreproc++.so.14
/usr/lib/libreproc++.so.14.2.2
/usr/lib/libreproc.so.14
/usr/lib/libreproc.so.14.2.2
/usr/share/doc/reproc
/usr/share/doc/reproc/CHANGELOG.md
/usr/share/doc/reproc/README.md
/usr/share/licenses/reproc
/usr/share/licenses/reproc/LICENSE
References
Summary
In this tutorial we learn how to install reproc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install reproc on Fedora 36” linkTitle: “reproc” type: “docs” description: “In this tutorial we learn how to install reproc in Fedora 36. reproc is A cross-platform (C99/C++11) process library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/reproc-featured.png
Introduction
In this tutorial we learn how to install reproc
on Fedora 36.
What is reproc
reproc (Redirected Process) is a cross-platform C/C++ library that simplifies starting, stopping and communicating with external programs. The main use case is executing command line applications directly from C or C++ code and retrieving their output. reproc consists out of two libraries library that contains the actual code for working with external programs. reproc++ depends on reproc and adapts its API to an idiomatic C++11 API. It also adds a few extras that simplify working with external programs from C++.
We can use yum
or dnf
to install reproc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install reproc.
Install reproc 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 reproc
using dnf
by running the following command:
sudo dnf -y install reproc
Install reproc 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 reproc
using yum
by running the following command:
sudo yum -y install reproc
How To Uninstall reproc on Fedora 36
To uninstall only the reproc
package we can use the following command:
sudo dnf remove reproc
reproc Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/73d8dc7b945062a2b1242e24f8df02317deb24
/usr/lib/.build-id/91
/usr/lib/.build-id/91/4f10a6228d00872f61be9e4f4d7d1a25bb0707
/usr/lib64/libreproc++.so.14
/usr/lib64/libreproc++.so.14.2.2
/usr/lib64/libreproc.so.14
/usr/lib64/libreproc.so.14.2.2
/usr/share/doc/reproc
/usr/share/doc/reproc/CHANGELOG.md
/usr/share/doc/reproc/README.md
/usr/share/licenses/reproc
/usr/share/licenses/reproc/LICENSE
References
Summary
In this tutorial we learn how to install reproc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).