• Captain Aggravated@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 hours ago

    I do both. If I know exactly what I want to install, I’ll install it from the terminal because it’s often more direct. If I go “I need an app that does thing, what’s available?”

  • WillieShen@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    16 hours ago
    update_pm() {
      sudo apt update
      sudo DEBIAN_FRONTEND=noninteractive apt upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers install || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers install || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers install || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers autoinstall || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers autoinstall || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers autoinstall || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      sudo apt clean
      sudo apt autoclean
      flatpak update -y || true
      flatpak uninstall --unused -y || true
      sudo snap refresh || true
      brew update
      echo y | brew upgrade
      echo y | brew autoremove
      brew cleanup
      uv self update
      uv tool upgrade --all
      npm i -g npm
      npm update -g
    }
    
  • Zacryon@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    18 hours ago

    Don’t forget to check needrestart or similar afterwards if you have no idea what has happened.