Topgrade: Just Update Everything

Topgrade: Just Update Everything

 

Topgrade is a tool to keep your system and software up-to-date effortlessly. Below are instructions for installing and setting up Topgrade on Debian-based systems, Fedora, and Arch Linux, with support for both Bash and Fish shells.

 

For Debian-Based Systems

 

    1. Install Rust:

      curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

      source $HOME/.cargo/env

      rustup update

 

    1. Install required packages:

      sudo apt update

      sudo apt install -y pciutils cargo

      sudo apt install -y pkg-config libssl-dev

 

    1. Reinstall Rust to ensure the latest version:

      curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

      source $HOME/.cargo/env

      rustup update

 

    1. Install Topgrade:

      cargo install topgrade

 

    1. Add an alias for Bash:

      echo "alias just='topgrade'" >> ~/.bashrc

      source ~/.bashrc

 

    1. Install Cargo Update:

      cargo install cargo-update

 

    1. For Fish shell users:

      set -U fish_user_paths $HOME/.cargo/bin $fish_user_paths

      source ~/.config/fish/config.fish

 

 

For Fedora

 

    1. Install Rust:

      curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

      source $HOME/.cargo/env

      rustup update

 

    1. Install required packages:

      sudo dnf install -y pciutils cargo

      sudo dnf install -y pkg-config openssl-devel

 

    1. Install Topgrade:

      cargo install topgrade

 

    1. Add an alias for Bash:

      echo "alias just='topgrade'" >> ~/.bashrc

      source ~/.bashrc

 

    1. Install Cargo Update:

      cargo install cargo-update

 

    1. For Fish shell users:

      set -U fish_user_paths $HOME/.cargo/bin $fish_user_paths

      source ~/.config/fish/config.fish

 

 

For Arch Linux

 

    1. Install Rust:

      curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

      source $HOME/.cargo/env

      rustup update

 

    1. Install required packages:

      sudo pacman -S --needed pciutils cargo pkg-config openssl

 

    1. Install Topgrade:

      cargo install topgrade

 

    1. Add an alias for Bash:

      echo "alias just='topgrade'" >> ~/.bashrc

      source ~/.bashrc

 

    1. Install Cargo Update:

      cargo install cargo-update

 

    1. For Fish shell users:

      set -U fish_user_paths $HOME/.cargo/bin $fish_user_paths

      source ~/.config/fish/config.fish

 

 

With Topgrade installed, you can now use the command topgrade to update your entire system and software stack effortlessly. Enjoy keeping everything up-to-date!