linrunner / TLP

TLP - Optimize Linux Laptop Battery Life
https://linrunner.de/tlp
GNU General Public License v2.0
2.76k stars 132 forks source link

'apt-get install tlp' installs a bunch of GUI/gnome packages on a Ubuntu Server box #17

Closed onlinespending closed 11 years ago

onlinespending commented 11 years ago

when I issue 'apt-get install tlp' on my non-gui (command line only) Ubuntu Server (13.04) setup, it installs a bunch of excess GUI/gnome related packages. I am trying to run tlp on a bare bones system that's booted off of a flash drive, and disk space is at a premium.

How can I install it without all of that GUI fluff?

dywisor commented 11 years ago

Have you tried

apt-get --no-install-recommends tlp

? You may want to install some of the optional dependencies afterwards.

onlinespending commented 11 years ago

The recommended packages is a small list of 3 packages. The tlp package includes many gnome packages, x11 packages, jpeg libraries (clearly not needed for command line), etc. Seems a bit bloated.

The following extra packages will be installed: acl apg aptdaemon aspell aspell-en at-spi2-core avahi-daemon avahi-utils bluez colord cracklib-runtime cups-pk-helper dbus-x11 dconf-gsettings-backend dconf-service desktop-file-utils dictionaries-common diffstat dnsmasq-base enchant fontconfig fontconfig-config gconf-service gconf-service-backend gconf2 gconf2-common gcr gettext gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-gnomebluetooth-1.0 gir1.2-gtk-3.0 gir1.2-packagekitglib-1.0 gir1.2-pango-1.0 gkbd-capplet glib-networking glib-networking-common glib-networking-services gnome-bluetooth gnome-control-center gnome-control-center-data gnome-desktop3-data gnome-icon-theme gnome-icon-theme-symbolic gnome-keyring gnome-menus gnome-session-bin gnome-settings-daemon gnome-user-share gsettings-desktop-schemas gstreamer0.10-pulseaudio gvfs gvfs-backends gvfs-common gvfs-daemons gvfs-libs hardening-includes heirloom-mailx hicolor-icon-theme humanity-icon-theme hunspell-en-us hwdata indicator-application intltool-debian iputils-arping libappindicator3-1 libapt-pkg-perl libarchive-zip-perl libarchive13 libasound2 libasound2-plugins libaspell15 libasprintf-dev libasyncns0 libatasmart4 libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0 libavahi-core7 libavahi-glib1 libbluetooth3 libcairo-gobject2 libcairo2 libcanberra-gtk3-0 libcanberra-gtk3-module libcanberra-pulse libcanberra0 libcap2-bin libcdio-cdda1 libcdio-paranoia1 libcdio13 libclone-perl libcolord1 libcolorhug1 libcrack2 libcroco3 libdaemon0 libdatrie1 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdconf1 libdigest-hmac-perl libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libemail-valid-perl libenchant1c2a libexif12 libfftw3-single3 libflac8 libfontconfig1 libfontenc1 libgail-3-0 libgck-1-0 libgconf-2-4 libgcr-3-1 libgcr-3-common libgd2-xpm libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgeoclue0 libgettextpo-dev libgettextpo0 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgnome-bluetooth11 libgnome-control-center1 libgnome-desktop-3-4 libgnome-keyring-common libgnome-keyring0 libgnome-menu-3-0 libgnomekbd-common libgnomekbd8 libgoa-1.0-0 libgoa-1.0-common libgphoto2-2 libgphoto2-l10n libgphoto2-port0 libgstreamer-plugins-base0.10-0 libgstreamer-plugins-base1.0-0 libgstreamer0.10-0 libgstreamer1.0-0 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgtop2-7 libgtop2-common libgudev-1.0-0 libgusb2 libharfbuzz0 libhunspell-1.3-0 libice6 libicu48 libieee1284-3 libimobiledevice3 libindicator3-7 libio-pty-perl libio-socket-inet6-perl libipc-run-perl libjack-jackd2-0 libjasper1 libjavascriptcoregtk-3.0-0 libjbig0 libjpeg-turbo8 libjpeg8 libjson-glib-1.0-0 liblcms2-2 libllvm3.2 libltdl7 liblzo2-2 libmailtools-perl libmtp-common libmtp-runtime libmtp9 libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl libnetfilter-conntrack3 libnettle4 libnl-route-3-200 libnm-glib-vpn1 libnm-glib4 libnm-gtk-common libnm-gtk0 libnm-util2 libnotify4 libnspr4 libnss-mdns libnss3 libogg0 libopenobex1 liborc-0.4-0 libp11-kit-gnome-keyring libpackagekit-glib2-14 libpam-cap libpam-gnome-keyring libpango1.0-0 libpciaccess0 libpixman-1-0 libplist1 libproxy1 libpulse-mainloop-glib0 libpulse0 libpulsedsp libpwquality1 librest-0.7-0 librsvg2-2 librsvg2-common libsamplerate0 libsane libsane-common libsecret-1-0 libsecret-common libsm6 libsmbclient libsndfile1 libsocket6-perl libsoup-gnome2.4-1 libsoup2.4-1 libspeexdsp1 libsysfs2 libsystemd-daemon0 libtext-levenshtein-perl libthai-data libthai0 libtiff5 libtxc-dxtn-s2tc0 libudisks2-0 libunistring0 libupower-glib1 liburi-perl libusbmuxd2 libv4l-0 libv4lconvert0 libvorbis0a libvorbisenc2 libvorbisfile3 libwacom-common libwacom2 libwayland0 libwebkitgtk-3.0-0 libwebkitgtk-3.0-common libx11-xcb1 libx86-1 libxaw7 libxcb-dri2-0 libxcb-glx0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxkbcommon0 libxkbfile1 libxklavier16 libxmu6 libxpm4 libxrandr2 libxrender1 libxslt1.1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 lintian mobile-broadband-provider-info modemmanager mousetweaks nautilus-data network-manager network-manager-gnome network-manager-pptp network-manager-pptp-gnome notification-daemon obex-data-server obexd-client patchutils pm-utils policykit-1-gnome pptp-linux pulseaudio pulseaudio-module-x11 pulseaudio-utils python-cairo python-cups python-cupshelpers python-dbus python-dbus-dev python-gi python-gnomekeyring python-gobject python-gobject-2 python-gtk2 python-libxml2 python-notify python-pycurl python-smbc python3-aptdaemon python3-aptdaemon.pkcompat python3-defer python3-pkg-resources rtkit shared-mime-info smartmontools sound-theme-freedesktop system-config-printer-common system-config-printer-gnome system-config-printer-udev systemd-services t1utils tlp-rdw ttf-dejavu-core ubuntu-system-service udisks2 upower usb-modeswitch usb-modeswitch-data usbmuxd vbetool wamerican x11-common x11-utils x11-xkb-utils Suggested packages: aspell-doc spellutils avahi-autoipd bluez-hcidump ispell emacsen-common jed-extra gconf-defaults-service gettext-doc nautilus-sendto gnome-screensaver xscreensaver gnome-user-guide ubuntu-docs libcanberra-gtk-module x11-xserver-utils metacity x-window-manager apache2.2-bin libapache2-mod-dnssd exim4 mail-transport-agent hunspell openoffice.org-hunspell openoffice.org-core lrzip libcanberra-gtk0 libcap-dev libenchant-voikko libfftw3-bin libfftw3-dev libgd-tools geoclue libglide3 gphoto2 gtkam libvisual-0.4-plugins gstreamer-codec-install gnome-codec-install gstreamer0.10-tools gstreamer0.10-plugins-base gstreamer1.0-tools gstreamer1.0-plugins-base jackd2 libjasper-runtime liblcms2-utils ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp librsvg2-bin hpoj hplip libsane-extras sane-utils libwww-perl gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-ffmpeg binutils-multiarch libhtml-parser-perl libperlio-gzip-perl libtext-template-perl nautilus network-manager-openconnect-gnome network-manager-openvpn-gnome network-manager-vpnc-gnome cpufrequtils radeontool pavumeter paman pavucontrol paprefs pulseaudio-module-raop pulseaudio-esound-compat python-dbus-doc python-dbus-dbg python-gi-cairo python-gobject-2-dbg python-gtk2-doc libcurl4-gnutls-dev python-pycurl-dbg python3-setuptools gsmartcontrol smart-notifier acpi-call tp-smapi-dkms xfsprogs reiserfsprogs exfat-utils btrfs-tools mdadm cryptsetup-bin comgt wvdial mesa-utils Recommended packages: libtxc-dxtn0 mailx mailutils

dywisor commented 11 years ago

Im quite sure that this is caused by tlp having tlp-rdw in Recommends, wich depends on network-manager, which, in turn, suggests/recommends network-manager-gnome; so you'll have to get rid of the network-manager-gnome and/or tlp-rdw dependency.

Maybe

apt-get --no-install-recommends --no-install-suggests tlp

does the trick.

linrunner commented 11 years ago

TLP was never intended for gui-less machines.

The problem here is the package tlp-rdw which requires network-manager. tlp-rdw itself is recommended by tlp. To avoid the latter dependency use

apt-get install --no-install-recommends tlp
onlinespending commented 11 years ago

Thank you! Should have tried --no-install-recommends from the get go

linrunner commented 11 years ago

You're welcome :-) => closed.