Install it from your Linux distribution (others coming soon)
# yum install libosinfo (Fedora)
# apt-get install libosinfo (Debian)
Or grab the source release
Browse the API docs to learn about
its use
The code is browsable online.
Get a personal checkout from GIT
# git clone \
https://gitlab.com/libosinfo/libosinfo.git