Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 5, 2024. It is now read-only.

Home of the official apt/deb package for Ubuntu/Debian-based systems.

License

NotificationsYou must be signed in to change notification settings

ArchiveBox/debian-archivebox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Important

✅ ArchiveBox still fully supports Ubuntu / Debian, don't worry!
📦 Just install it usingpip (orpipx) instead now:

mkdir -p~/archivebox/datacd~/archivebox/data# (for example, can be anywhere)pip install archivebox# just use pip to get archiveboxarchivebox install# then finish installing dependencies

If you seepermission denied, some dependencies need sudo to install.
Runsudo archivebox install, or install the indicated packages manually.


Historical Context

We moved away fromapt because ArchiveBox needs to be able to update its dependencies more frequently than the Debian packaging ecosystem allows, and providing workarounds and support for broken debian installs using pinned older versions was taking up too much of our time.

Now we do something similar toplaywright where the base package is provided viapip,and then you callarchivebox install to finish installing any system dependencies that are still needed. ArchiveBox uses our own newpydantic-pkgr library (check it out!) to manageit's runtime dependencies, which in turn relies on the excellentpyinfra library (and/oransible) to do the actual installing.

Prefer doing it the old way?

See here for manual install instructions for all of ArchiveBox's dependencies on Ubuntu/Debian:
https://github.com/ArchiveBox/ArchiveBox/wiki/Install#option-c-bare-metal-setup

Or expand to see old README for this repo (only useful for historical context)

Quickstart

Add the repo to your sources:

# on Ubuntu 20.04 and up you can do:sudo add-apt-repository -u ppa:archivebox/archivebox# on other systems you should add the repo to your sources manually:echo"deb http://ppa.launchpad.net/archivebox/archivebox/ubuntu focal main"> /etc/apt/sources.list.d/archivebox.listecho"deb-src http://ppa.launchpad.net/archivebox/archivebox/ubuntu focal main">> /etc/apt/sources.list.d/archivebox.listapt-key adv --keyserver keyserver.ubuntu.com --recv-keys C258F79DCC02E369sudo apt update

Install it:

sudo apt install archivebox# get the latest version of archivebox its pip depenencies from PyPIpip install --upgrade --ignore-installed archivebox yt-dlp playwrightplaywright install --with-deps chromium

Try it out:

archivebox versionmkdir -p~/archivebox/data&&cd~/archivebox/dataarchivebox init --setuparchivebox add'https://example.com'archiveboxhelp

Tested on Ubuntu 22.04, should work on all Debian/Ubuntu based systems.


Development

The debian package is built usingstdeb:https://github.com/astraw/stdeb and hosted on Launchpad:https://launchpad.net/~archivebox.

https://launchpad.net/~archivebox/+archive/ubuntu/archivebox/+packages

The config file / package definition is here:ArchiveBox/stdeb.cfg.

To build this package, make sure you are in the ArchiveBox main repo first.

apt upgrade -qqapt install -y python3 python3-dev python3-pip python3-venv python3-all python-all \            dh-python debhelper devscripts dput software-properties-common \            python3-distutils python3-setuptools python3-wheel python3-stdeb jq fakerootpython3 -m pip install --upgrade pip setuptools pdmcd ArchiveBox/git pull --recurse-submodules# Build the debian package./bin/build_deb.shdocker run -v$PWD:/data -it ubuntu:22.04 /bin/bash -c"dpkg-deb --build archivebox; apt-get update -qq; env DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y ./archivebox.deb"# Install the built package locally during testingapt install ./archivebox.deb# or:dpkg -i ./archivebox.deb# Push the Apt/Debian package to the LaunchPad PPA./bin/release.sh

To setup your GPG keys for signing the debian package these commands may be helpful:

gpg --refresh-keysgpg --list-keysgpg --export${ID}> public.keygpg --export-secret-key${ID}> private.keygpg --import public.keygpg --import --allow-secret-key-import private.key# test that it worksdebsign -k YOURGPGKEYID deb_dist/archivebox_*_source.changesgpg --verify YOURGPGKEYID deb_dist/archivebox_*_source.changesdocker run -v$PWD:/data ubuntu:latest /bin/bash -c"apt-get update -qq; apt-get install -qq -y devscripts gpg; cd /data; gpg --import public.key; gpg --import private.key; dpkg-source -b archivebox-0.7.1; cd archivebox-0.7.1; dpkg-genchanges --build=source,all -sa > ../archivebox_0.7.1-1_source.changes; cd ..; debsign -k 52423FBED1586F45 ./archivebox_0.7.1-1_source.changes"

A full guide for doing Python packaging on Debian withstdeb is available here:https://docs.monadical.com/s/BkF2EoKqw

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp