Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions content/docs/cli/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ curl -fsSL https://deb.pkg.kraftkit.sh/gpg.key | \
sudo gpg --dearmor -o /etc/apt/keyrings/unikraft.gpg
```

If you are following older instructions and see a `522` error for
`https://releases.unikraft.org/linux/gpg`, use
`https://deb.pkg.kraftkit.sh/gpg.key` instead.

Use the following command to set up the APT repository:

```console
Expand All @@ -94,22 +98,17 @@ sudo apt-get install kraftkit
## Fedora/RHEL

We recommend installing KraftKit using the interactive method described above.
However, you can also directly add our remote RPM package registry entry.
However, you can also download the latest `kraft` RPM package for your
architecture directly from GitHub Releases:

First add new entry for `kraftkit` in `/etc/yum.repos.d/kraftkit.repo`:
https://github.com/unikraft/kraftkit/releases/latest

```toml
[kraftkit]
name=KraftKit Repo
baseurl=https://rpm.pkg.kraftkit.sh
enabled=1
gpgcheck=0
```
For example, to install on an `x86_64` system:

Then run:
```bash
yum makecache
yum install -y kraftkit
KRAFTKIT_VERSION=$(curl -s https://api.github.com/repos/unikraft/kraftkit/releases/latest | grep '"tag_name"' | sed 's/.*"tag_name": "\(.*\)".*/\1/')
curl -LO "https://github.com/unikraft/kraftkit/releases/download/${KRAFTKIT_VERSION}/kraftkit_${KRAFTKIT_VERSION#v}_linux_amd64.rpm"
sudo rpm -i "kraftkit_${KRAFTKIT_VERSION#v}_linux_amd64.rpm"
```


Expand Down
5 changes: 5 additions & 0 deletions next-redirect.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ async function redirect() {
destination: '/docs/internals/architecture',
permanent: true,
},
{
source: '/docs/usage/install',
destination: '/docs/cli/install',
permanent: true,
},
{
source: '/docs/concepts/architecture',
destination: '/docs/internals/architecture',
Expand Down