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

📝No install instructions for Linux #1347

Open
jackgray-nycbs opened this issue Nov 7, 2024 · 4 comments
Open

📝No install instructions for Linux #1347

jackgray-nycbs opened this issue Nov 7, 2024 · 4 comments
Labels
Priority: Normal Minor issue impacting one or more users Type: Documentation Improvements or additions to documentation

Comments

@jackgray-nycbs
Copy link

jackgray-nycbs commented Nov 7, 2024

The only resource I could find to install cloudflared on linux is in a tutorial for creating a local tunnel. The repository does not find a compatible version for Ubuntu 24 LTS.

The Linux download link in the README of this repository returns 404.

sudo apt-get update && sudo apt-get install cloudflared
Hit:1 https://download.docker.com/linux/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:3 https://pkg.cloudflare.com/cloudflared noble InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu noble InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:6 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease
Err:7 https://pkg.cloudflare.com/cloudflared noble Release
  404  Not Found [IP: 104.18.0.118 443]
Get:8 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [623 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [710 kB]
Reading package lists... Done
E: The repository 'https://pkg.cloudflare.com/cloudflared noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
@jackgray-nycbs jackgray-nycbs added Priority: Normal Minor issue impacting one or more users Type: Documentation Improvements or additions to documentation labels Nov 7, 2024
@cyanidium
Copy link

Linux downloads are listed here. On Ubuntu you'll want the .deb file or to follow the instructions in the linux sectuin about adding the Cloudflare Package Repository.

@keshsad
Copy link

keshsad commented Nov 28, 2024

I'm on an intel nuc with Ubuntu 24.04.1 LTS x86_64 and did the following:

  1. Save the latest release of cloudflared compiled for Linux x86_64 architecture as cloudflared.deb in current directory
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb
  1. Run Debian's package manager to install the package file that was just downloaded
sudo dpkg -i cloudflared.deb

You can verify it's working with `cloudflared version`, Hope that helps

@houtianze
Copy link

houtianze commented Nov 30, 2024

The line E: The repository 'https://pkg.cloudflare.com/cloudflared noble Release' does not have a Release file. indicates that the cloudflared repository doesn't support Ubuntu 24.04 LTS noble yet, as a workaround I changed to use the previous Ubuntu LTS code name jammy instead for /etc/apt/sources.list.d/cloudflared.list:
deb [signed-by=/etc/apt/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared jammy main

On the other hand, could the repository maintainer for for cloudflared please help to update the repository to support Ubuntu noble release?

@jackgray-nycbs FYI

@JokerQyou
Copy link

Yes you can workaround by using the deb file but you lose the ability to do auto-upgrade via apt. I'd suggest cloudflared repository maintainers to look into this issue, since Ubuntu 24.04 is being adopted as the next LTS version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Normal Minor issue impacting one or more users Type: Documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

5 participants