Skip to content

Create a 'bindist' package containing precompiled binaries and install script for Ubuntu 24.04 Linux #39

@jafingerhut

Description

@jafingerhut

'distbin' is the term used by Bryan at the September TST meeting, which I understand (perhaps incorrectly) to be one or more precompiled binaries, an install script, and any other files needed so that someone can download a single file, and within one or a few commands have an executable installation of p4c, simple_switch_grpc (the binary executable name of the BMv2 / behavioral-model software switch), and anything else required to run those programs on a system, without having to build from source.

As an example of a Bash script that clones several p4lang repositories and builds them from source code, and installs things in /usr/local/{bin,lib} and perhaps a few other places on a system, see these:

That has been tested with the latest versions of source for 4 p4lang repositories as of Sep 1, 2025, and builds everything without errors the last time I tried on that date, on an Ubuntu 24.04 Linux system. Most or all of it might work on Ubuntu 22.04 as well, and there might be vestiges of old Fedora Linux support in it, but any Fedora parts haven't been tested in a couple of years, and probably stale.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions