diff --git a/setup/os-dependencies/fedora.txt b/setup/os-dependencies/fedora.txt index 53931bb..075b59d 100644 --- a/setup/os-dependencies/fedora.txt +++ b/setup/os-dependencies/fedora.txt @@ -4,7 +4,10 @@ bat binutils bison cmake +containerd.io cowsay +docker-ce +docker-ce-cli feh figlet file @@ -14,6 +17,7 @@ fzf gcc gcc-c++ gettext +gnupg2 go htop java-latest-openjdk @@ -32,6 +36,7 @@ python3-devel python3-pip python3-pylint python3-virtualenv +redis ripgrep rust sed diff --git a/setup/os-dependencies/macos.txt b/setup/os-dependencies/macos.txt index 4d5598f..f8c5c37 100644 --- a/setup/os-dependencies/macos.txt +++ b/setup/os-dependencies/macos.txt @@ -16,9 +16,11 @@ gcc gettext go gpatch +gpg grep gsed htop +iproute2mac jq libtool lolcat @@ -32,6 +34,7 @@ openssh pkg-config pylint python +python-setuptools ripgrep rust tmux diff --git a/setup/os.zsh b/setup/os.zsh index 7fca852..d7c83a8 100644 --- a/setup/os.zsh +++ b/setup/os.zsh @@ -112,6 +112,8 @@ OS__INSTALL_MANAGED_DEPENDENCIES() { return 0 } +########################################## + UPDATE_REPOSITORIES__arch() { yay -Syu; } INSTALL_MANAGED__arch() { local TARGET="$1" @@ -131,6 +133,8 @@ INSTALL_MANAGED__arch() { } } +########################################## + UPDATE_REPOSITORIES__debian() { sudo apt-get update && sudo apt-get upgrade; } INSTALL_MANAGED__debian() { STATUS "checking / installing '$1'" @@ -140,7 +144,17 @@ INSTALL_MANAGED__debian() { ; } -UPDATE_REPOSITORIES__fedora() { sudo dnf update && sudo dnf upgrade; } +########################################## + +UPDATE_REPOSITORIES__fedora() { + : \ + && sudo dnf update \ + && sudo dnf upgrade \ + && sudo dnf install -y dnf-plugins-core \ + && sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo \ + ; +} + INSTALL_MANAGED__fedora() { STATUS "checking / installing '$1'" sudo dnf install -y $1 \ @@ -149,6 +163,8 @@ INSTALL_MANAGED__fedora() { ; } +########################################## + UPDATE_REPOSITORIES__macos() { brew update && brew upgrade; } INSTALL_MANAGED__macos() { STATUS "checking / installing '$1'" @@ -158,6 +174,8 @@ INSTALL_MANAGED__macos() { ; } +########################################## + UPDATE_REPOSITORIES__generic() { return 0; } INSTALL_MANAGED__generic() { command -v $1 >/dev/null 2>&1 \