Victor O. Alvarez
Stream of Letters


Stream of Letters


Install GCC Man Pages on Debian 10 Buster

Victor O. Alvarez's photo
Victor O. Alvarez
·Jan 5, 2021·

2 min read

The Man Pages for GCC compiler are not included by default on Debian 10 Buster and must be added by installing the Backport package named gcc-doc. To complete this task, I recommend you should add the Backports sources with options main contrib to your source files /etc/apt/sources.list.d/ directory on a file named buster-backports.list. You can do this with this command:

echo deb buster-backports main contrib | sudo tee /etc/apt/sources.list.d/buster-backports.list

After this, run:

sudo apt update


sudo apt install gcc gcc-doc

Now try running this to corroborate proper installation of GCC's man pages.

man gcc

Note: You could also add the non-free option to your Backports source if you are interested in other unrelated non-free software later on, but it is not required for installing gcc-doc.

Share this