5

I'm trying to install leandvb, but the GUI won't compile, because I (apparently) don't have X11 development libraries. How do I install these?

2 Answers 2

10

It depends what the author means by "X11 development libraries". Probably it will be sufficient to install the libx11-dev package:

sudo apt install libx11-dev
3
  • 4
    That was it! Thank you! EDIT: How does one know these things? Is there a way to find out, or is this something you "just know"? :-)
    – OZ1SEJ
    Aug 21, 2019 at 14:10
  • 1
    I think one way could be to use packages.ubuntu.com if you know the header file names, by selecting "source package names" on the dropdown near the search bar there. If you know the header file names you are looking for of course.
    – matanster
    Jun 18, 2020 at 21:01
  • You can also install and use apt-file to search for packages that contain a given file Jun 18, 2020 at 21:48
2

Try:

sudo apt-get install libx11-dev xserver-xorg-dev xorg-dev
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.