See the original discussion at https://github.com/IceWhaleTech/CasaOS/issues/1035
pacman
Credits to https://github.com/dhaumya
Update System:
sudo pacman -Syu
System Packages:
sudo pacman -S wget(or curl) smartmontools ntfs-3g net-tools samba apparmor \
docker parted cifs-utils unzip docker-compose rclone
AUR packages(They are up to date with offical versions but udevil hasn't had released for years and probably is an abandoned project):
udevil
and mergerfs
Enable and Start Docker:
sudo systemctl enable --now docker
Run the Script (If you want to use curl, install curl instead of wget in System Packages Section):
wget -qO- https://get.casaos.io | sudo bash
# or
curl -fsSL https://get.caraos.io | sudo bash
If you wish to check the script before running it, pipe it in a file:
wget -qO- https://get.casaos.io > check
# or
curl -fsSL https://get.caraos.io > check
Then check by:
nano check
# or
cat check
yay
Credits to https://github.com/Ns2Kracy
Install yay:
git clone https://aur.archlinux.org/yay-bin
cd yay-bin
makepkg -si
Install all dependencies casaos need manually:
yay -Syu
yay -S wget curl smartmontools parted ntfs-3g net-tools \
udevil samba cifs-utils mergerfs unzip apparmor \
docker docker-compose rclone
Download the install script and just comment out two lines in the last of the script:
# Step 5: Install Depends
# Update_Package_Resource
# Install_Depends
Enable docker:
sudo systemctl enable --now docker
Run install Script:
sudo bash install.sh