Point Cloud Library (PCL) runs on many operating systems, and prebuilt binaries are available for Linux, Windows, and macOS. You also need to setup and provide a set of 3rd party libraries required by PCL. To sidestep all that trouble, we recommend you to install PCL through one of the many available package managers out there. Package managers are the preferred distribution mechanism to download PCL. We provide a number of options based on your platform of choice.
An extensive list of package managers which distribute PCL is available at repology. Nevertheless, we also provide packaged binaries and installers for a couple of platforms in our Releases page on our GitHub repository. Be sure to check that out, in case you’re looking for something different than what is provided in the options below.
In case your OS does not have a dedicated package manager, consider one of the following options.
vcpkg is a cross-platform open source package manager created by Microsoft, available for Windows, Linux and macOS. To install PCL on vcpkg-enabled desktops, type the following in your terminal
PS> .\vcpkg install pcl
This is our recommended installation method for Windows users.
Homebrew became known as being missing package manager for macOS, but in recent years it has extended its support to Linux. To install PCL on Homebrew-enabled desktops, type the following in your terminal
$ brew install pcl
This is our recommended installation method for macOS users.
PCL is available in a number of Linux distributions namely Ubuntu, Debian, Fedora, Gentoo and Arch Linux systems to name a few. Below we provide installation instructions Ubuntu and Debian. You can install pcl using
$ sudo apt install libpcl-dev
This is our recommended installation method for Linux users.