How To Install expected-devel on Fedora 36
Introduction
In this tutorial we learn how to install expected-devel
on Fedora 36.
What is expected-devel
Header-only Development files for expected. std which will either have an expected value, or an unexpected value giving information about why something failed. Unfortunately, chaining together many computations which may fail can be verbose, as error-checking code will be mixed in with the actual programming logic. This implementation provides a number of utilities to make coding with expected cleaner.
We can use yum
or dnf
to install expected-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install expected-devel.
Install expected-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 expected-devel
using dnf
by running the following command:
sudo dnf -y install expected-devel
Install expected-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 expected-devel
using yum
by running the following command:
sudo yum -y install expected-devel
How To Uninstall expected-devel on Fedora 36
To uninstall only the expected-devel
package we can use the following command:
sudo dnf remove expected-devel
expected-devel Package Contents on Fedora 36
/usr/include/tl
/usr/include/tl/expected.hpp
/usr/share/cmake/tl-expected
/usr/share/cmake/tl-expected/tl-expected-config-version.cmake
/usr/share/cmake/tl-expected/tl-expected-config.cmake
/usr/share/cmake/tl-expected/tl-expected-targets.cmake
/usr/share/doc/expected-devel
/usr/share/doc/expected-devel/README.md
/usr/share/licenses/expected-devel
/usr/share/licenses/expected-devel/COPYING
References
Summary
In this tutorial we learn how to install expected-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).