Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): Add information about RPM and Arch install guides #362

Merged
merged 1 commit into from
Mar 14, 2024
Merged
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
26 changes: 24 additions & 2 deletions content/docs/cli/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
your host system, `kraft` itself can be used on the following supported systems
to build and package unikernels.


Check failure on line 13 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Multiple consecutive blank lines [Expected: 1; Actual: 2]

Check failure on line 13 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Multiple consecutive blank lines [Expected: 1; Actual: 2]
## Recommended installation method

You can quickly and easily install KraftKit using the interactive installer.
Expand All @@ -24,7 +24,7 @@
installation process, including suggestions for how to receive updates. The
installer will try to use your native package manager.


Check failure on line 27 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Multiple consecutive blank lines [Expected: 1; Actual: 2]

Check failure on line 27 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Multiple consecutive blank lines [Expected: 1; Actual: 2]
## macOS

The simplest way to install `kraft` on macOS is via `brew`:
Expand Down Expand Up @@ -90,19 +90,41 @@
sudo apt-get install kraftkit
```


Check failure on line 93 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Multiple consecutive blank lines [Expected: 1; Actual: 2]

Check failure on line 93 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Multiple consecutive blank lines [Expected: 1; Actual: 2]
## Fedora/RHEL

We recommend installing KraftKit using the interactive method described above.
However,
However, you can also directly add our remote RPM package registry entry.

First add new entry for `kraftkit` in `/etc/yum.repos.d/kraftkit.repo`:

```toml
[kraftkit]
name=KraftKit Repo
baseurl=https://rpm.pkg.kraftkit.sh
enabled=1
gpgcheck=0
```

Then run:
```bash

Check failure on line 110 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Fenced code blocks should be surrounded by blank lines [Context: "```bash"]

Check failure on line 110 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Fenced code blocks should be surrounded by blank lines [Context: "```bash"]
yum makecache
yum install -y kraftkit
```


Check failure on line 115 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Multiple consecutive blank lines [Expected: 1; Actual: 2]

Check failure on line 115 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Multiple consecutive blank lines [Expected: 1; Actual: 2]
## Arch Linux

We recommend installing KraftKit using the interactive method described above.
However,
However, if you wish to install this directly from AUR, you can:

```bash
git clone https://aur.archlinux.org/kraftkit-bin.git
cd kraftkit-bin
makepkg -si
```


Check failure on line 127 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Multiple consecutive blank lines [Expected: 1; Actual: 2]

Check failure on line 127 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Multiple consecutive blank lines [Expected: 1; Actual: 2]
## Windows

KraftKit currently does not support an installation natively on Microsoft Windows.
Expand Down Expand Up @@ -154,7 +176,7 @@
Thank you!
</Info>


Check failure on line 179 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Multiple consecutive blank lines [Expected: 1; Actual: 2]

Check failure on line 179 in content/docs/cli/install.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Multiple consecutive blank lines [Expected: 1; Actual: 2]
## Build unikernels from within a container

<Warning>
Expand Down
Loading