How To Install docopt-cpp-devel on Fedora 36

In this tutorial we learn how to install docopt-cpp-devel in Fedora 36. docopt-cpp-devel is Developer files for a docopt C++11 port

Introduction

In this tutorial we learn how to install docopt-cpp-devel on Fedora 36.

What is docopt-cpp-devel

docopt creates beautiful command-line interfaces Isn’t it awesome how getopt (and boost generate help messages based on your code?! These timeless functions have been around for decades and have proven we don’t need anything better, right? Hell no! You know what’s awesome? It’s when the option parser is generated based on the beautiful help message that you write yourself! This way you don’t need to write this stupid repeatable parser-code, and instead can write only the help message-the way you want it. Contains developer headers and a library. Install if docopt.cpp is used in a code to be compiled.

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

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

sudo dnf -y install docopt-cpp-devel

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

sudo yum -y install docopt-cpp-devel

How To Uninstall docopt-cpp-devel on Fedora 36

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

sudo dnf remove docopt-cpp-devel

docopt-cpp-devel Package Contents on Fedora 36

/usr/include/docopt
/usr/include/docopt/docopt.h
/usr/include/docopt/docopt_private.h
/usr/include/docopt/docopt_util.h
/usr/include/docopt/docopt_value.h
/usr/lib64/cmake/docopt
/usr/lib64/cmake/docopt/docopt-config-version.cmake
/usr/lib64/cmake/docopt/docopt-config.cmake
/usr/lib64/cmake/docopt/docopt-targets-noconfig.cmake
/usr/lib64/cmake/docopt/docopt-targets.cmake
/usr/lib64/libdocopt.so
/usr/lib64/pkgconfig/docopt.pc

References

Summary

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


title: “How To Install docopt-cpp-devel on Fedora 36” linkTitle: “docopt-cpp-devel” type: “docs” description: “In this tutorial we learn how to install docopt-cpp-devel in Fedora 36. docopt-cpp-devel is Developer files for a docopt C++11 port” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/docopt-cpp-devel-featured.png

Introduction

In this tutorial we learn how to install docopt-cpp-devel on Fedora 36.

What is docopt-cpp-devel

docopt creates beautiful command-line interfaces Isn’t it awesome how getopt (and boost generate help messages based on your code?! These timeless functions have been around for decades and have proven we don’t need anything better, right? Hell no! You know what’s awesome? It’s when the option parser is generated based on the beautiful help message that you write yourself! This way you don’t need to write this stupid repeatable parser-code, and instead can write only the help message-the way you want it. Contains developer headers and a library. Install if docopt.cpp is used in a code to be compiled.

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

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

sudo dnf -y install docopt-cpp-devel

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

sudo yum -y install docopt-cpp-devel

How To Uninstall docopt-cpp-devel on Fedora 36

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

sudo dnf remove docopt-cpp-devel

docopt-cpp-devel Package Contents on Fedora 36

/usr/include/docopt
/usr/include/docopt/docopt.h
/usr/include/docopt/docopt_private.h
/usr/include/docopt/docopt_util.h
/usr/include/docopt/docopt_value.h
/usr/lib/cmake/docopt
/usr/lib/cmake/docopt/docopt-config-version.cmake
/usr/lib/cmake/docopt/docopt-config.cmake
/usr/lib/cmake/docopt/docopt-targets-noconfig.cmake
/usr/lib/cmake/docopt/docopt-targets.cmake
/usr/lib/libdocopt.so
/usr/lib/pkgconfig/docopt.pc

References

Summary

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