Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/doc/building.md
2017-04-04 09:01:43 -04:00

1.7 KiB

Building NNPTChan

This document will help you build the NNTPChan software from the source code.

Requirements

NNTPChan can run on the following operating systems:

  • Linux
    • Instructions are available for Debian and Trisquel.
  • FreeBSD

Dependancies:

  • libsodium 1.0 or higher
  • imagemagick
  • ffmpeg
  • sox
  • go 1.6 or higher
  • GNU make

Debian instructions

These are installation instructions for Debian.

Install Go

Install the Go programming language version 1.6 from the Go website.

Install the dependancies

sudo apt-get update
sudo apt-get --no-install-recommends install imagemagick libsodium-dev ffmpeg sox build-essential git ca-certificates postgresql postgresql-client

Get the NNTPChan source

git clone https://github.com/majestrate/nntpchan --depth=1
cd nntpchan

Now compile!

Run make:

make

Trisquel instructions (WIP)

These are installation instructions for Trisquel.

Install Go

Run this to install Go.

sudo apt-get update
sudo apt-get install golang-1.6

Installing dependancies (standard)

sudo apt-get --no-install-recommends install imagemagick libsodium-dev sox build-essential git ca-certificates postgresql postgresql-client

Installing dependancies (ffmpeg is not available in Trisquel repos - there must be compiled)

This will install ffmpeg to /usr/local/bin/ffmpeg:

git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg --depth=1
cd ffmpeg
./configure --disable-yasm
make
sudo make install
cd ..
rm -rf ffmpeg

Get the NNTPChan source

git clone https://github.com/majestrate/nntpchan --depth=1
cd nntpchan

Now compile!

run make

make