Opened 2 years ago

Last modified 2 years ago

#29053 closed enhancement

Add debian/fedora package information to build/pkgs, generate Dockerfiles and installation help — at Version 11

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.1
Component: build Keywords:
Cc: dimpase, embray, arojas, isuruf, gh-timokau Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: u/mkoeppe/installation_manual__generate__apt_get_install__and__yum_install__lines_from_build_pkgs_at___bootstrap_time (Commits, GitHub, GitLab) Commit: ff4a5516324039e37a585763def9ebc3d68e503e
Dependencies: Stopgaps:

Status badges

Description (last modified by mkoeppe)

https://doc.sagemath.org/html/en/installation/source.html#linux-recommended-installation gives apt-get install and yum install command lines to install system packages that will be recognized by build/pkgs/SPKG/spkg-configure.m4.

Several packages are missing, see comments in https://trac.sagemath.org/attachment/ticket/27824/Dockerfile-ubuntu-minimal

This ticket puts this information on a per-package basis into build/pkgs/SPKG/debian.txt, .../fedora.txt for the following purposes:

  • Provide a tox.ini that generates and runs Dockerfiles that test the installation on various systems
  • Aggregate and format it (during ./bootstrap) to produce the command lines shown in the manual.

In addition, sage -info SPKG prints out this information.

(Similar to #29041.)

Change History (11)

comment:1 Changed 2 years ago by mkoeppe

  • Branch set to u/mkoeppe/installation_manual__generate__apt_get_install__and__yum_install__lines_from_build_pkgs_at___bootstrap_time

comment:2 Changed 2 years ago by git

  • Commit set to 3a5cfb7703396f606cea2403070db012e0c8e294

Branch pushed to git repo; I updated commit sha1. New commits:

3a5cfb7build/pkgs/*/debian.txt: Add optional packages

comment:3 Changed 2 years ago by git

  • Commit changed from 3a5cfb7703396f606cea2403070db012e0c8e294 to 79d912e78343da940734450643695d6b860d8683

Branch pushed to git repo; I updated commit sha1. New commits:

79d912ebuild/pkgs/*/fedora.txt: New, from installation manual 9.0

comment:4 Changed 2 years ago by git

  • Commit changed from 79d912e78343da940734450643695d6b860d8683 to 8a739b101261939d7b2d5eae5086aa465b5b1c53

Branch pushed to git repo; I updated commit sha1. New commits:

8a739b1sage -info: Print info on equivalent system packages

comment:5 Changed 2 years ago by git

  • Commit changed from 8a739b101261939d7b2d5eae5086aa465b5b1c53 to 221c3449d65d48bec25c2d10f96c9654d3289db0

Branch pushed to git repo; I updated commit sha1. New commits:

3ef64c4Document the debian.txt, fedora.txt files.
ebee631Add build/pkgs/gcc/fedora.txt
221c344Strip comments from debian.txt, fedora.txt files

comment:6 Changed 2 years ago by mkoeppe

  • Description modified (diff)

comment:7 follow-up: Changed 2 years ago by dimpase

how do you generate these per package?

by the way, Arch has namewise a naming scheme close to Gentoo and Homebrew.

comment:8 in reply to: ↑ 7 Changed 2 years ago by mkoeppe

Replying to dimpase:

how do you generate these per package?

I created these files by manual copy-paste from the installation manual.

comment:9 Changed 2 years ago by git

  • Commit changed from 221c3449d65d48bec25c2d10f96c9654d3289db0 to ff4a5516324039e37a585763def9ebc3d68e503e

Branch pushed to git repo; I updated commit sha1. New commits:

46957b4tox.ini: New - test spkg-configure on ubuntu docker images
ce99fadMerge tag '9.1.beta1' into t/29053/installation_manual__generate__apt_get_install__and__yum_install__lines_from_build_pkgs_at___bootstrap_time
0dd2c03build/bin/sage-spkg: Reformat the install command to 1 line
b5abc8bbuild/bin/sage-spkg: fixup
97b09deMake gfortran a standard package - it is a prereq of standard package numpy
ff4a551Fix typo

comment:10 Changed 2 years ago by mkoeppe

  • Component changed from documentation to build
  • Description modified (diff)
  • Summary changed from Installation manual: Generate 'apt-get install' and 'yum install' lines from build/pkgs at ./bootstrap time to Add debian/fedora package information to build/pkgs, generate Dockerfiles and installation help

comment:11 Changed 2 years ago by mkoeppe

  • Description modified (diff)
Note: See TracTickets for help on using tickets.