Installing Sealos
Binary Auto Download
$ curl -sfL https://raw.githubusercontent.com/labring/sealos/v4.2.0/scripts/install.sh \
| sh -s v4.2.0 labring/sealos
Binary Manual Download
- amd64
- arm64
$ wget https://github.com/labring/sealos/releases/download/v4.2.0/sealos_4.2.0_linux_amd64.tar.gz \
&& tar zxvf sealos_4.2.0_linux_amd64.tar.gz sealos && chmod +x sealos && mv sealos /usr/bin
$ wget https://github.com/labring/sealos/releases/download/v4.2.0/sealos_4.2.0_linux_arm64.tar.gz \
&& tar zxvf sealos_4.2.0_linux_arm64.tar.gz sealos && chmod +x sealos && mv sealos /usr/bin
Package Management Tool Installation
DEB Repository
echo "deb [trusted=yes] https://apt.fury.io/labring/ /" | sudo tee /etc/apt/sources.list.d/labring.list
sudo apt update
sudo apt install sealos
RPM Repository
sudo cat > /etc/yum.repos.d/labring.repo << EOF
[fury]
name=labring Yum Repo
baseurl=https://yum.fury.io/labring/
enabled=1
gpgcheck=0
EOF
sudo yum clean all
sudo yum install sealos
Source Code Installation
Prerequisites
linux
git
golang
1.20+libgpgme-dev libbtrfs-dev libdevmapper-dev
If you are in an arm64
environment, add the :arm64
suffix.
Build
# git clone the repo
git clone https://github.com/labring/sealos.git
# just make it
make build BINS=sealos