GNU/Linux Ubuntu Installing Vcpkg – Quick Start Guide
Hello Linux user! The Tutorial shows you Step-by-step How to Install Vcpkg C++ Package Manager in Ubuntu GNU/Linux.
vcpkg is a free, open-source C/C++ package manager from Microsoft that runs natively on Ubuntu, 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 Ubuntu 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 Ubuntu, 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 Ubuntu.
Finally, this Setup is Valid for All the Ubuntu-Based Distros like:
- Linux Mint
- Zorin OS
- Lubuntu
- Elementary OS
- Kde Neon
- Pop_OS!
- Xubuntu
- Linux Lite
- Bodhi
- Puppy
- Kubuntu
- LXLE
- Trisquel
- Voyager
- feren OS
- Peppermint
- Linux Ultimate Edition

1. Installing Dependencies
Then to Install Required Software
Run:sudo apt install git cmake g++ build-essential
(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