GNU/Linux Arch Installing Vcpkg – Quick Start Guide
Hello Linux user! The Tutorial shows you Step-by-step How to Install Vcpkg C++ Package Manager in Arch GNU/Linux.
vcpkg is a free, open-source C/C++ package manager from Microsoft that runs natively on Arch Linux, offering seamless, cross-platform dependency management.
With access to over 2,300 libraries, manifest-mode support, and native integration with CMake and MSBuild, vcpkg on Arch Linux simplifies building and distributing robust C++ applications.
Explore the power of vcpkg, Microsoft’s open-source C/C++ package manager on Ubuntu, designed to streamline dependency management across platforms.
- Extensive library support: Access over 2,300 curated C/C++ libraries with assured ABI compatibility :contentReference[oaicite:1]{index=1}.
- Cross-platform consistency: Works uniformly on Linux, Windows, and macOS, integrating smoothly with CMake and other build systems :contentReference[oaicite:2]{index=2}.
- Triplets configuration: Choose from 70+ default build configurations (triplets) or define custom ones for precise targets :contentReference[oaicite:3]{index=3}.
- Manifest mode: Use a version-controlled `vcpkg.json` to declare dependencies and features for reproducible builds :contentReference[oaicite:4]{index=4}.
- Binary caching: Reuse prebuilt binaries locally or from a cache, speeding up CI and developer setups :contentReference[oaicite:5]{index=5}.
- Feature-driven installs: Select optional features or default components easily via the manifest :contentReference[oaicite:6]{index=6}.
- Registry support: Tap into official, private, or custom package registries for tailored project needs :contentReference[oaicite:7]{index=7}.
Moreover, this guide includes detailed instructions about to Getting Started with vcpkg on Arch Linux.
Finally, this Setup is Valid for All the Arch Linux Based Distros like:
- Manjaro
- EndeavourOS
- Garuda
- ArcoLinux
- Archman
- Bluestar
- Archcraft
- ArchLabs
- ArchBang
- BlackArch
- Artix

1. Installing Dependencies
Then to Install Required Software
Run:sudo pacman -S git cmake gcc make
(In case first see: Terminal QuickStart Guide.)
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.
Contents