Skip to content

fix(install): update Ubuntu installation commands for non-root users #1955

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

Merged
merged 3 commits into from
Jul 22, 2025
Merged
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
6 changes: 3 additions & 3 deletions installation/linux/debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Follow the official
[Debian wiki guidance](https://wiki.debian.org/DebianRepository/UseThirdParty#OpenPGP_Key_distribution).

```bash copy
curl https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg
sudo sh -c 'curl https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg'
```

### Updated key from March 2022
Expand Down Expand Up @@ -61,10 +61,10 @@ which platforms are supported in each release.
## Update your sources lists

For Debian, you must add the Fluent Bit APT server entry to your sources lists.
Add the following content at bottom of your `/etc/apt/sources.list` file.


```bash copy
deb [signed-by=/usr/share/keyrings/fluentbit-keyring.gpg] https://packages.fluentbit.io/debian/${CODENAME} ${CODENAME} main
echo "deb [signed-by=/usr/share/keyrings/fluentbit-keyring.gpg] https://packages.fluentbit.io/ubuntu/${CODENAME} ${CODENAME} main" | sudo tee /etc/apt/sources.list.d/fluent-bit.list
```

Replace _`CODENAME`_ with your specific
Expand Down
8 changes: 4 additions & 4 deletions installation/linux/raspbian-raspberry-pi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The first step is to add the Fluent Bit server GPG key to your keyring so you
can get FLuent Bit signed packages:

```shell
curl https://packages.fluentbit.io/fluentbit.key | sudo apt-key add -
sudo sh -c 'curl https://packages.fluentbit.io/fluentbit.key | sudo apt-key add - '
```

### Updated key from March 2022
Expand Down Expand Up @@ -52,19 +52,19 @@ Add the following content at bottom of your `/etc/apt/sources.list` file.
### Raspbian 12 (Bookworm)

```text
deb https://packages.fluentbit.io/raspbian/bookworm bookworm main
echo "deb https://packages.fluentbit.io/raspbian/bookworm bookworm main" | sudo tee /etc/apt/sources.list.d/fluent-bit.list
```

### Raspbian 11 (Bullseye)

```text
deb https://packages.fluentbit.io/raspbian/bullseye bullseye main
echo "deb https://packages.fluentbit.io/raspbian/bullseye bullseye main" | sudo tee /etc/apt/sources.list.d/fluent-bit.list
```

### Raspbian 10 (Buster)

```text
deb https://packages.fluentbit.io/raspbian/buster buster main
echo "deb https://packages.fluentbit.io/raspbian/buster buster main" | sudo tee /etc/apt/sources.list.d/fluent-bit.list
```

### Update your repositories database
Expand Down
7 changes: 3 additions & 4 deletions installation/linux/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Follow the official
[Debian wiki guidance](https://wiki.debian.org/DebianRepository/UseThirdParty#OpenPGP_Key_distribution).

```bash
curl https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg
sudo sh -c 'curl https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg'
```

### Updated key from March 2022
Expand Down Expand Up @@ -56,12 +56,11 @@ which platforms are supported in each release.
## Update your sources lists

On Ubuntu, you need to add the Fluent Bit APT server entry to your sources lists.
Add the following content at bottom of your `/etc/apt/sources.list` file. Ensure
`CODENAME` is set to your specific [Ubuntu release name](https://wiki.ubuntu.com/Releases).
Ensure `CODENAME` is set to your specific [Ubuntu release name](https://wiki.ubuntu.com/Releases).
For example, `focal` for Ubuntu 20.04.

```bash
deb [signed-by=/usr/share/keyrings/fluentbit-keyring.gpg] https://packages.fluentbit.io/ubuntu/${CODENAME} ${CODENAME} main
echo "deb [signed-by=/usr/share/keyrings/fluentbit-keyring.gpg] https://packages.fluentbit.io/ubuntu/${CODENAME} ${CODENAME} main" | sudo tee /etc/apt/sources.list.d/fluent-bit.list
```

### Update your repositories database
Expand Down