diff packages/package_lists.py @ 326:5b88b38f2471

huge reorg, reog toplevel functions in preparation of a ui with nice task lists
author drewp@bigasterisk.com
date Mon, 20 Jan 2025 21:55:08 -0800
parents package_lists.py@8a1cbc033fc1
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/package_lists.py	Mon Jan 20 21:55:08 2025 -0800
@@ -0,0 +1,312 @@
+# nodejs+friends are handled outside this file
+
+setup = [
+    'atool',
+    'build-essential',
+    'curl',
+    'iproute2',  # needed for wireguard
+    'iptables',
+    'mosquitto-clients',
+    'mtail',
+    'rsync',
+    'udns-utils',
+    'vim-tiny',
+    'wireguard-tools',
+]
+
+pi_setup = [
+    'apt-utils',
+    'dirmngr',
+    'gnupg2',
+    'pigpiod',
+]
+# something in here tries to get libflac8 & libpulse0 on pipe, which it doesn't have
+general = [
+    'apt-listchanges',
+    'aptitude',
+    'atool',
+    'bsd-mailx',
+    'fdisk',
+    'flatpak',
+    'hdparm',
+    'isc-dhcp-client',
+    'jq',
+    'keychain',
+    'kitty-terminfo',
+    'less',
+    'libgraphviz-dev',
+    'links',
+    'lua5.3',
+    'mercurial',
+    'moreutils',
+    'netcat-openbsd',
+    'ntpdate',
+    'rename',
+    'sshfs',
+    'vim-nox',
+    'wakeonlan',
+    'wget',
+    'wireguard',
+    'xosview',
+    'zsh',
+]
+
+non_pi = [
+    'emacs',
+    'lpr',
+    'nfs-client',
+    'python3-dulwich',  # desired, but it may depend on an old python3
+    'python3-atomicwrites',
+    'python3-invoke',
+    'python3-pip',
+    'python3-venv',
+    'python3-virtualenv',
+    'rclone',
+]
+
+debug = [
+    'debian-goodies',
+    'dmidecode',
+    'dstat',
+    'ethtool',
+    'gdb',
+    'hdparm',
+    'htop',
+    'ifstat',
+    'iotop',
+    'iproute2',
+    'lshw',
+    'lsof',
+    'mtr-tiny',
+    'ncdu',
+    'net-tools',
+    'nmap',
+    'oping',
+    'screen',
+    'smartmontools',
+    'speedtest-cli',
+    'strace',
+    'sysstat',
+    'tcpdump',
+    'wakeonlan',
+]
+
+for_ditto = [
+    'dnsmasq',
+    'nfs-common',
+    'openntpd',
+    'zfs-auto-snapshot',
+    'zfs-zed',
+    'zfsutils-linux',
+    'tgt',
+    #'libedgetpu1-std',  # for coral? not working on bang
+]
+
+for_pipe = [
+    'dnsmasq',
+    'python3-iptables',
+    'open-iscsi',
+]
+
+for_prime = [
+    'opendkim',
+    'opendkim-tools',
+]
+
+laptop = [
+    'brightnessctl',
+    'i3',
+    'network-manager',
+    'xserver-xorg-input-synaptics',
+    'tlp',
+]
+
+audio_plugins = [
+    'amb-plugins',
+    'ambdec',
+    'autotalent',
+    'blepvco',
+    'blop',
+    'bs2b-ladspa',
+    'caps',
+    'cmt',
+    'csladspa',
+    'dpf-plugins-ladspa',
+    'fil-plugins',
+    'guitarix-ladspa',
+    'invada-studio-plugins-ladspa',
+    'ladspa-sdk',
+    'lsp-plugins-ladspa',
+    'mcp-plugins',
+    'omins',
+    'rev-plugins',
+    'ste-plugins',
+    'swh-plugins',
+    'tap-plugins',
+    'vco-plugins',
+    'wah-plugins',
+]
+
+desktop = [
+    'adwaita-icon-theme-full',
+    'alsa-utils',
+    'apache2-utils',
+    'arandr',
+    'ardour',
+    'audacity',
+    'brasero',
+    'breeze',
+    'brightnessctl',
+    'checkinstall',
+    'cmake',
+    'code',
+    'cups',
+    'dclock',
+    'dolphin',
+    'eog',
+    'evtest',
+    'eye',
+    'fatrace',
+    'firefox',
+    'flameshot',
+    'fontmatrix',
+    'fonts-dejavu-core',
+    'fonts-dejavu-extra',
+    'fonts-dejavu',
+    'fonts-droid-fallback',
+    'fonts-emojione',
+    'fonts-font-awesome',
+    'fonts-freefont-ttf',
+    'fonts-lato',
+    'fonts-liberation2',
+    'fonts-noto',
+    'fonts-opensymbol',
+    'fonts-quicksand',
+    'fonts-texgyre',
+    'fonts-ubuntu-console',
+    'fonts-ubuntu',
+    'fonts-urw-base35',
+    'fvwm3',
+    'gdb',
+    'gedit',
+    'gimp-data-extras',
+    'gimp-gmic',
+    'gimp-plugin-registry',
+    'gimp-texturize',
+    'gimp',
+    'gnome-icon-theme',
+    'gnumeric',
+    'gnuplot',
+    'golang',
+    'google-chrome-stable',
+    'google-chrome-unstable',
+    'gstreamer1.0-libav',
+    'gstreamer1.0-opencv',
+    'gstreamer1.0-plugins-bad',
+    'gstreamer1.0-plugins-ugly',
+    'gstreamer1.0-tools',
+    'gstreamer1.0-vaapi',
+    'heif-gdk-pixbuf',
+    'heif-thumbnailer',
+    'humanity-icon-theme',
+    'i3lock',
+    'imagemagick',
+    'imwheel',
+    'jq',
+    'k4dirstat',
+    'libheif-examples',
+    'libreoffice-draw',
+    'libreoffice-impress',
+    'libreoffice-writer',
+    'libfuse2',  # for obsidian (appimage)
+    'libxcb-xkb1',  # needed for kitty
+    'lxterminal',
+    'meld',
+    'mpv',
+    'nmap',
+    'nodm',
+    'okular',
+    'pavucontrol',
+    'pamixer',
+    'pipewire-audio',
+    'python3-dulwich',
+    'python3-evemu',
+    'python3-opencv',
+    'python3-pycurl',
+    'python3-rdflib',
+    'python3-venv',
+    'qjackctl',
+    'qv4l2',
+    'rar',
+    'rclone',
+    'recordmydesktop',
+    'simple-scan',
+    'simplescreenrecorder',
+    'solvespace',
+    'sqlitebrowser',
+    'sshfs',
+    'steam-launcher',
+    'swi-prolog',
+    'syncthing-gtk', # this may pull old ubu syncthing version, which sync.py replaces
+    'system-config-printer',
+    'systemd-resolved',
+    'trayer',
+    'ttf-bitstream-vera',
+    'visidata',
+    'vlc',
+    'wamerican',
+    'wireshark',
+    'wmctrl',
+    'x11-apps',
+    'x11vnc',
+    'xclip',
+    'xfonts-base',
+    'xfonts-encodings',
+    'xfonts-utils',
+    'xpad',
+    'xsane',
+    'xterm',
+    'xtightvncviewer',
+    'xvfb',
+    'libssl-dev',  # for pypi 'packages'
+    'libcurl4-openssl-dev',  # for pypi 'packages'
+    'kicad',
+    'openscad',
+    'dunst',
+    'gmic',
+    'git-cola',
+    'optipng',
+    'pngcrush',
+    'pngquant',
+    'cdparanoia',
+]
+
+xorg = [
+    'kbd',
+    'nvidia-modprobe',
+    'nvidia-prime',
+    'nvidia-settings',
+    'screen-resolution-extra',
+    'xserver-xorg',
+]
+
+
+def k8s_node_with_nvidia_gpu(hostName):
+    version = {
+        'dash': '550',
+        'dot': '550',  # just not updated yet
+        'slash': '550',
+        'ditto': '550-server',
+        # 'bang': '390-server',  # no longer in ubuntu
+        'squib': '470',  # held back for old gfx card
+    }[hostName]
+    return [
+        'nvidia-container-runtime',
+        f'nvidia-headless-{version}',
+        f'nvidia-utils-{version}',
+        f'libnvidia-decode-{version}',
+        f'libnvidia-encode-{version}',
+        f'nvidia-driver-{version}',
+    ] + ([] if 'server' in version else [
+        f'xserver-xorg-video-nvidia-{version}',
+    ])