Install command line tools and dependencies *only*?

Anything and everything to do with DCP-o-matic.
Ceteroth
Posts: 3
Joined: Sun Aug 01, 2021 3:58 pm

Install command line tools and dependencies *only*?

Post by Ceteroth »

Hi there!

I'm intending to install DCP-o-matic on a headless Ubuntu 20.04 server in order to automate some of our DCP creation workflows. I'm also trying to keep this server image as lean and mean as possible. Therefore, I only need the command line tools to be installed -- not the GUI nor the player. Is there a way to do that? When trying to install the .deb package, I'm getting a metric boatload (close to 500) of additional dependencies, including all the X/Gnome/desktop packages that are completely useless on said headless server.

Any help would be most appreciated!

Cheers!

Code: Select all

The following NEW packages will be installed:
  acl adwaita-icon-theme apg aptdaemon aptdaemon-data aspell aspell-en at-spi2-core avahi-daemon
  avahi-utils bluez bubblewrap cheese-common colord colord-data cpp cpp-9 cracklib-runtime
  cups-pk-helper dbus-x11 dconf-cli desktop-file-utils dictionaries-common dns-root-data
  dnsmasq-base docbook-xml emacsen-common enchant-2 evolution-data-server
  evolution-data-server-common fontconfig fontconfig-config fonts-dejavu-core fprintd gcc-9-base gcr
  gdm3 geoclue-2.0 gir1.2-accountsservice-1.0 gir1.2-atk-1.0 gir1.2-atspi-2.0 gir1.2-freedesktop
  gir1.2-gck-1 gir1.2-gcr-3 gir1.2-gdesktopenums-3.0 gir1.2-gdkpixbuf-2.0 gir1.2-gdm-1.0
  gir1.2-geoclue-2.0 gir1.2-gnomebluetooth-1.0 gir1.2-gnomedesktop-3.0 gir1.2-graphene-1.0
  gir1.2-gtk-3.0 gir1.2-gweather-3.0 gir1.2-ibus-1.0 gir1.2-json-1.0 gir1.2-mutter-6 gir1.2-nm-1.0
  gir1.2-nma-1.0 gir1.2-notify-0.7 gir1.2-pango-1.0 gir1.2-polkit-1.0 gir1.2-rsvg-2.0
  gir1.2-secret-1 gir1.2-soup-2.4 gir1.2-upowerglib-1.0 gir1.2-vte-2.91 gjs gkbd-capplet
  gnome-control-center gnome-control-center-data gnome-control-center-faces gnome-desktop3-data
  gnome-keyring gnome-keyring-pkcs11 gnome-menus gnome-online-accounts gnome-session-bin
  gnome-session-common gnome-settings-daemon gnome-settings-daemon-common gnome-shell
  gnome-shell-common gnome-startup-applications gnome-user-docs gstreamer1.0-clutter-3.0
  gstreamer1.0-gl gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-pulseaudio
  gstreamer1.0-x gtk-update-icon-cache hicolor-icon-theme humanity-icon-theme hunspell-en-us ibus
  ibus-data ibus-gtk ibus-gtk3 iio-sensor-proxy im-config ippusbxd language-selector-gnome libaa1
  libappindicator3-1 libasound2-plugins libaspell15 libasyncns0 libatk-bridge2.0-0 libatk1.0-0
  libatk1.0-data libatspi2.0-0 libavahi-core7 libavahi-glib1 libavc1394-0 libbluetooth3
  libboost-date-time1.71.0 libboost-filesystem1.71.0 libboost-regex1.71.0 libcaca0 libcairo-gobject2
  libcairo2 libcairomm-1.0-1v5 libcamel-1.2-62 libcanberra-gtk3-0 libcanberra-gtk3-module
  libcanberra-pulse libcdparanoia0 libcheese-gtk25 libcheese8 libclutter-1.0-0 libclutter-1.0-common
  libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcogl-common libcogl-pango20 libcogl-path20 libcogl20
  libcolord-gtk1 libcolord2 libcolorhug2 libcrack2 libdaemon0 libdatrie1 libdbusmenu-glib4
  libdbusmenu-gtk3-4 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdv4
  libebackend-1.2-10 libebook-1.2-20 libebook-contacts-1.2-3 libecal-2.0-1 libedata-book-1.2-26
  libedata-cal-2.0-1 libedataserver-1.2-24 libedataserverui-1.2-2 libegl-mesa0 libegl1
  libenchant-2-2 libepoxy0 libevdev2 libexif12 libflac8 libfontconfig1 libfontenc1 libfprint-2-2
  libgail-common libgail18 libgbm1 libgck-1-0 libgcr-base-3-1 libgcr-ui-3-1 libgd3 libgdata-common
  libgdata22 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgdm1 libgee-0.8-2
  libgeoclue-2-0 libgeocode-glib0 libgjs0g libgl1 libgl1-mesa-dri libglapi-mesa libgles2
  libglibmm-2.4-1v5 libglvnd0 libglx-mesa0 libglx0 libgnome-autoar-0-0 libgnome-bluetooth13
  libgnome-desktop-3-19 libgnomekbd-common libgnomekbd8 libgoa-1.0-0b libgoa-1.0-common
  libgoa-backend-1.0-1 libgomp1 libgphoto2-6 libgphoto2-l10n libgphoto2-port12 libgraphene-1.0-0
  libgraphite2-3 libgsound0 libgssdp-1.2-0 libgstreamer-gl1.0-0 libgstreamer-plugins-base1.0-0
  libgstreamer-plugins-good1.0-0 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-bin
  libgtk2.0-common libgtop-2.0-11 libgtop2-common libgupnp-1.2-0 libgupnp-av-1.0-2
  libgupnp-dlna-2.0-3 libgweather-3-16 libgweather-common libharfbuzz-icu0 libharfbuzz0b
  libhunspell-1.7-0 libhyphen0 libibus-1.0-5 libical3 libice6 libidn11 libiec61883-0 libieee1284-3
  libimobiledevice6 libinput-bin libinput10 libisl22 libjack-jackd2-0 libjavascriptcoregtk-4.0-18
  libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libllvm11 libmbim-glib4 libmbim-proxy
  libmediaart-2.0-0 libmm-glib0 libmozjs-68-0 libmp3lame0 libmpc3 libmpg123-0 libmtdev1
  libmutter-6-0 libmysqlclient21 libnanomsg5 libndp0 libnm0 libnma0 libnotify4 libnspr4 libnss-mdns
  libnss3 libopenjp2-7 libopus0 liborc-0.4-0 libpam-fprintd libpam-gnome-keyring libpango-1.0-0
  libpangocairo-1.0-0 libpangoft2-1.0-0 libpangomm-1.4-1v5 libpangoxft-1.0-0 libpciaccess0
  libpcsclite1 libphonenumber7 libpixman-1-0 libplist3 libprotobuf17 libpulse-mainloop-glib0
  libpulse0 libpulsedsp libpwquality-common libpwquality1 libqmi-glib5 libqmi-proxy libraw1394-11
  librest-0.7-0 librsvg2-2 librsvg2-common librygel-core-2.6-2 librygel-db-2.6-2
  librygel-renderer-2.6-2 librygel-server-2.6-2 libsamplerate0 libsane libsane-common libsbc1
  libsecret-1-0 libsecret-common libshout3 libsigc++-2.0-0v5 libsm6 libsnapd-glib1 libsndfile1
  libsnmp-base libsnmp35 libsoup-gnome2.4-1 libsoxr0 libspeex1 libspeexdsp1 libstartup-notification0
  libtag1v5 libtag1v5-vanilla libteamdctl0 libthai-data libthai0 libtheora0 libtiff5 libtwolame0
  libudisks2-0 libupower-glib3 libusbmuxd6 libv4l-0 libv4lconvert0 libvisual-0.4-0 libvorbisenc2
  libvpx6 libvte-2.91-0 libvte-2.91-common libvulkan1 libwacom-bin libwacom-common libwacom2
  libwavpack1 libwayland-client0 libwayland-cursor0 libwayland-egl1 libwayland-server0
  libwebkit2gtk-4.0-37 libwebp6 libwebpdemux2 libwebrtc-audio-processing1 libwhoopsie-preferences0
  libwhoopsie0 libwoff1 libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 libx11-xcb1 libx264-155 libxatracker2
  libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1
  libxcb-present0 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-res0 libxcb-shape0
  libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xkb1 libxcb-xv0 libxcomposite1
  libxcursor1 libxdamage1 libxerces-c3.2 libxfixes3 libxfont2 libxft2 libxi6 libxinerama1
  libxkbcommon-x11-0 libxkbcommon0 libxkbfile1 libxklavier16 libxml++2.6-2v5 libxmu6 libxpm4
  libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6 libxtst6 libxv1 libxvmc1 libxxf86vm1 libyelp0
  libzip5 mesa-vulkan-drivers mobile-broadband-provider-info modemmanager mousetweaks mutter
  mutter-common mysql-common network-manager network-manager-gnome network-manager-pptp p11-kit
  p11-kit-modules pinentry-gnome3 ppp pptp-linux pulseaudio pulseaudio-module-bluetooth
  pulseaudio-utils python3-aptdaemon python3-aptdaemon.gtk3widgets python3-cairo python3-cups
  python3-cupshelpers python3-defer python3-ibus-1.0 python3-macaroonbakery python3-protobuf
  python3-rfc3339 python3-tz rtkit rygel sane-utils session-migration sgml-base sgml-data
  switcheroo-control system-config-printer system-config-printer-common system-config-printer-udev
  ubuntu-docs ubuntu-mono ubuntu-session ubuntu-wallpapers ubuntu-wallpapers-focal unzip
  update-inetd upower usb-modeswitch usb-modeswitch-data usbmuxd wamerican whoopsie-preferences
  wpasupplicant x11-common x11-xkb-utils x11-xserver-utils xdg-dbus-proxy xfonts-base
  xfonts-encodings xfonts-utils xml-core xserver-common xserver-xephyr xserver-xorg
  xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-libinput xserver-xorg-input-wacom
  xserver-xorg-legacy xserver-xorg-video-all xserver-xorg-video-amdgpu xserver-xorg-video-ati
  xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-nouveau
  xserver-xorg-video-qxl xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware
  xwayland yaru-theme-gnome-shell yelp yelp-xsl zenity zenity-common
0 upgraded, 484 newly installed, 0 to remove and 0 not upgraded.
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Install command line tools and dependencies *only*?

Post by carl »

Hi, I think I'll need to make separate packages with the CLI tools only - that's what Debian generally seems to do. I'll have a go.
Ceteroth
Posts: 3
Joined: Sun Aug 01, 2021 3:58 pm

Re: Install command line tools and dependencies *only*?

Post by Ceteroth »

That would be wonderful! Thanks a lot in advance!
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Install command line tools and dependencies *only*?

Post by carl »

If you are in a terrible rush you could build it from source, but it isn't all that easy (unless you are used to doing that sort of thing, in which case it's fairly straightforward...)
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Install command line tools and dependencies *only*?

Post by carl »

The latest test version now has CLI-only packages for Ubuntu and Debian.
Ceteroth
Posts: 3
Joined: Sun Aug 01, 2021 3:58 pm

Re: Install command line tools and dependencies *only*?

Post by Ceteroth »

carl wrote: Sat Sep 11, 2021 9:15 pm The latest test version now has CLI-only packages for Ubuntu and Debian.
Sorry for the late reply (email notification issues), but thanks a lot! Much appreciated!