Skip to content

Latest commit

 

History

History
65 lines (39 loc) · 2.16 KB

README.md

File metadata and controls

65 lines (39 loc) · 2.16 KB

Freight

A modern take on the Debian archive.

Usage

Install Freight and create a minimal configuration in /usr/local/etc/freight.conf or /etc/freight.conf as appropriate containing the name of your GPG key:

Add packages to particular distros:

freight add foobar_1.2.3-1_all.deb apt/squeeze apt/lucid apt/natty

Build the cache of all the files needed to be accepted as a Debian archive:

freight cache

Serve /var/cache/freight via your favorite web server and install it as an APT source:

echo "deb http://example.com $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/example.list
sudo wget -O /etc/apt/trusted.gpg.d/example.gpg http://example.com/keyring.gpg
sudo apt-get update
sudo apt-get -y install foobar

Installation

From source

git clone git://github.com/rcrowley/freight.git
cd freight && make && sudo make install

From a Debian archive

echo "deb http://packages.rcrowley.org $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/rcrowley.list
sudo wget -O /etc/apt/trusted.gpg.d/rcrowley.gpg http://packages.rcrowley.org/keyring.gpg
sudo apt-get update
sudo apt-get -y install freight

From Fedora/EPEL repositories

EL users must first configure EPEL.

yum -y install freight

Documentation

There's also French documentation assembled by Valérian Beaudoin.

Manuals

Contribute

Freight is BSD-licensed