installing libpcl-dev on a ubuntu-server will install nearly a full gnome-desktop

Asked by Arne Schröder

On a Ubuntu-Server 20.04 nearly a whole gnome desktop(network-manager, xserver-xorg, pulseaudio, ...) is installed when i install libpcl-dev.
It seems that the recommended dependencies are too wide.
If i can see this correctly the recommended dependencies come somewhere from libvtk.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :

If they are only "recommended dependencies", then you can leave them out by adding --no-install-recommends to the apt install command.

For diagnostic purposes, what is the output of the commands

uname -a
lsb_release -crid
apt --simulate install libpcl-dev
apt --simulate install --no-install-recommends libpcl-dev

(eventually redact the server name in the output)

Revision history for this message
Arne Schröder (a-c-s) said :

Sorry, i should have provided that information earlier...

I just thought that it is way too much to install a whole desktop environment.

Revision history for this message
Manfred Hampl (m-hampl) said :

The output confirms that adding --no-install-recommends prevents the installation of the xserver-xorg and pulseaudio packages.

Can you help with this problem?

Provide an answer of your own, or ask Arne Schröder for more information if necessary.

To post a message you must log in.