Fedora-OSTree-Setup-dev / Fedora-OSTree-Setup

Glorified scipt that automates the setup of Fedora Silverblue/Kinoite based on given config file.
GNU General Public License v3.0
7 stars 3 forks source link

Setup some Distroboxes #91

Open boredsquirrel opened 1 year ago

boredsquirrel commented 1 year ago

Arch: very useful for rare software. Installing yay along with it.

distrobox create Arch -i docker.io/library/archlinux:latest && distrobox enter Arch
sudo pacman -Syu -n
sudo pacman -S -n --needed base-devel git
mkdir ~/Arch && cd ~/Arch && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si && yay --version && rm -f yay*.tar.zst yay*.gz PKGBUILD

Question: they install yay as sudo and need to reassign permissions. For a binary program that was not needed, but maybe it is for regular programs?

Yay with sudo

distrobox create Arch -i docker.io/library/archlinux:latest && distrobox enter Arch
sudo pacman -Syu -n
sudo pacman -S -n --needed base-devel git
cd /opt
sudo git clone https://aur.archlinux.org/yay-git.git
sudo chown -R $USER:$USER ./yay-git
cd yay-git
makepkg -si && rm -f yay*.tar.zst yay*.gz PKGBUILD
sudo yay -Syu
boredsquirrel commented 1 year ago

Fedora Distrobox

distrobox create Fedora -i registry.fedoraproject.org/fedora-toolbox:37 && distrobox enter Fedora
sudo dnf update -y
# rpm-fusion
# sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
boredsquirrel commented 1 year ago

Ubuntu Distrobox

distrobox create Ubuntu -i docker.io/library/ubuntu:22.04 && distrobox enter Ubuntu
sudo apt update -y && sudo apt full-upgrade -y
iaacornus commented 1 year ago

this seems quite to be alot, won't this be too intrusive for the user?

boredsquirrel commented 1 year ago

I made a repo for that with guide commands.

https://github.com/trytomakeyouprivate/Distrobox-autosetup