Skip to content
Snippets Groups Projects
Ubuntu_24.04 2.44 KiB
Newer Older
  • Learn to ignore specific revisions
  • Neil Gershenfeld's avatar
    wip
    Neil Gershenfeld committed
    #!/bin/bash
    #
    # Ubuntu 24.04
    #
    # update and install
    #
    sudo apt update
    sudo apt -y upgrade
    #
    # Gnome
    #
    sudo apt -y install gnome-tweaks gnome-browser-connector
    #
    # utilities
    #
    sudo apt -y install vim-gtk3 qpdf expect xournal geany geany-plugins evince gparted hardinfo powertop htop gnome-disk-utility exfat-fuse libfuse2 ncdu
    #
    # time
    #
    sudo apt -y install systemd-timesyncd
    timedatectl set-ntp true
    #
    # net
    #
    sudo apt -y install net-tools openssh-client curl
    #
    # graphics
    #
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    sudo apt -y install gthumb eog gimp mypaint blender gerbv
    
    Neil Gershenfeld's avatar
    wip
    Neil Gershenfeld committed
    #
    # office
    #
    sudo apt -y install libreoffice ttf-mscorefonts-installer fonts-symbola ttf-ancient-fonts
    #
    # project management
    #
    sudo apt -y install rsync git gitk git-cola
    #
    # media
    #
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    sudo apt -y install pavucontrol ffmpeg vlc mplayer guvcview vokoscreen-ng gnome-sound-recorder
    
    Neil Gershenfeld's avatar
    wip
    Neil Gershenfeld committed
    #
    # C
    #
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    sudo apt -y install make cmake build-essential clang g++ libudev-dev libpng-dev pkg-config
    
    Neil Gershenfeld's avatar
    wip
    Neil Gershenfeld committed
    #
    # Node
    #
    sudo apt -y install nodejs npm
    sudo npm install -g --unsafe-perm node-red
    #
    # TeX
    #
    sudo apt -y install texlive-latex-recommended texlive-fonts-recommended texlive-font-utils
    #
    # Snaps
    #
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    sudo snap install freecad
    
    Neil Gershenfeld's avatar
    wip
    Neil Gershenfeld committed
    sudo snap install zoom-client
    sudo snap install chromium
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    sudo snap install gnome-clocks
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    sudo snap install thonny
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    sudo snap install aws-cli --classic
    
    Neil Gershenfeld's avatar
    wip
    Neil Gershenfeld committed
    sudo snap set system refresh.timer=1:00-5:00
    #
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    # Flatpak
    #
    sudo apt -y install flatpak
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
    flatpak install -y flathub org.audacityteam.Audacity
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    flatpak install -y --from https://flathub.org/repo/appstream/org.kicad.KiCad.flatpakref
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    flatpak install -y flathub net.meshlab.MeshLab
    flatpak install -y flathub org.kde.kdenlive
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    #
    
    Neil Gershenfeld's avatar
    wip
    Neil Gershenfeld committed
    # config
    #
    echo "   use gnome-tweaks to set window focus, keyboard mapping"
    echo "   turn off Settings -> Ubuntu Desktop -> Enhanced tiling"
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    echo "   turn off Settings -> Multitasking -> Active Screen Edges"
    
    Neil Gershenfeld's avatar
    wip
    Neil Gershenfeld committed
    echo "   turn on Dash to Panel: https://extensions.gnome.org/extension/1160/dash-to-panel"
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    echo "   for serial port access: sudo adduser your_user_name dialout"
    
    Neil Gershenfeld's avatar
    wip
    Neil Gershenfeld committed
    echo "   install"
    echo "      Arduino: https://www.arduino.cc"
    echo "         needs --no-sandbox"
    echo "      Edbg: https://github.com/ataradov/edbg"
    echo "      Chrome: https://www.google.com/chrome/"
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    echo "      Rust: https://www.rust-lang.org/tools/install"
    
    Neil Gershenfeld's avatar
    Neil Gershenfeld committed
    echo "      NAPS2: https://www.naps2.com/download"
    
    Neil Gershenfeld's avatar
    wip
    Neil Gershenfeld committed
    echo "      Miniconda: https://docs.anaconda.com/miniconda/install"
    echo "         numpy, matplotlib, jax, pyserial, ..."