Code Monkey home page Code Monkey logo

curl-http3-deb's Introduction

curl-http3-deb

Wanted an easy way to install curl with http3 / quic support for Ubuntu 22.04, so made this repo.

Turned the instructions here: https://curl.se/docs/http3.html into a .deb installer that can be installed on Ubuntu 22.04.

The instructions were added into a Dockerfile and install of running make install, we use checkinstall to generate deb packages.

This is similar to https://github.com/yurymuski/curl-http3, but uses ngtcp2 and nghttp3 instead of quiche.

Running via dockerhub

docker run compscidr/curl-http3-quic --version

Installation Instructions

If you actually want to install the packages onto your system, a add the following to /etc/apt/sources.list.d/compscidr.list:

deb [trusted=yes] https://apt.fury.io/compscidr/ /

Then run:

sudo apt update && sudo apt install \
    openssl=3.0.0+quic-jammy-1 \
    nghttp3=0.7.0-4-g8597ab3-jammy-1 \
    ngtcp2=0.9.0-14-gccb745e5-jammy-1 \
    curl=7-85-0-177-g0a652280c-jammy-1

Note, the order is important because I don't seem to have the dependencies set with the versions correctly yet, but if you install each in order it will work.

Note, if you already have curl installed, you may need to remove it first. You may also get ssl warnings about downgrade. If you want you can try adding --allow-downgrades to the apt-install but this could break things.

I currently use this for a docker container, so its not going to break an entire system, but seems to be working fine with a ubuntu22.04 container.

TODO

  • rename the package,so it doesn't conflict with the official curl package
  • rename the curl binary so it doesn't conflict with the official curl package
  • pin git repo's for the build to particular tagged releases

curl-http3-deb's People

Contributors

compscidr avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

curl-http3-deb's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
Dockerfile
  • ubuntu 24.04
  • ubuntu 24.04
  • ubuntu 24.04
github-actions
.github/workflows/deploy.yml
  • actions/checkout v4@692973e3d937129bcbf40652eb9f2f61becf3332
  • docker/login-action v3
  • ubuntu 22.04

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.