Bash and Powershell remote scripts to install header-only C and C++ libraries from github repo.

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Vcpkg

    C++ Library Manager for Windows, Linux, and MacOS

  • A better approach is to use a github as a package registry for C projects and install from each project repo since most libraries are distributed as source anyways, the closest project to achieving a smooth package registry with less hassle is vcpkg by Microsoft but this also requires the library to be added to the vcpkg port and have vcpkg installed on the system.

  • Bash Script

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • stb

    stb single-file public domain libraries for C/C++

  • The default github repo branch is main, to select which branch to install from add @branch-name after the library name e.g. libcester@dev, metaref@main, MrFrenik/gunslinger@master, https://github.com/nothings/stb@master e.t.c.

  • gunslinger

    C99, header-only framework for games and multimedia applications

  • To install non exotic library from a github repo, specify just the repo-owner/repo-name or the absolute github link to the repo. E.g. to install gunslinger and stb from master branch

  • go

    The Go programming language

  • All the above ways of managing packages are all good but I love the way golang manages packages and is able to simply pull a package from the github repo and is immediately available for use in your go project, that the idea behind the two scripts I wrote and I went further such that no prerequisite is required to download a C, C++ library from github just the internet and the native shell for the operating systems, bash for Unix, Mac and Linux and Powershell for windows.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts