Categorygithub.com/ngyewch/apt-offline
modulepackage
0.2.2
Repository: https://github.com/ngyewch/apt-offline.git
Documentation: pkg.go.dev

# README

apt-offline

Offline package management for Debian. It can be used to download packages and their dependencies to be installed later on a disconnected machine.

Pre-requisites

  • Docker

Installation

go install github.com/ngyewch/apt-offline@latest

Usage

$ apt-offline download -h
Download

Usage:
  apt-offline download [flags]

Flags:
      --arch string               Architecture (REQUIRED).
      --archived                  Archived mode.
      --download-dir string       Download directory (REQUIRED).
      --dpkg-status string        Path to /var/lib/dpkg/status file.
  -h, --help                      help for download
      --version-codename string   Debian version codename (REQUIRED).
$ apt-offline download \
    --download-dir build/download \
    --version-codename stretch \
    --arch armhf \
    --dpkg-status testdata/var/lib/dpkg/status \
    --archived \
    alsa-utils rsync sudo

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author