Skip to content

Simple install / build instructions for Ubuntu / Mint users etc #807

Open
@harrypm

Description

@harrypm

Mint 21 pulls an very old version of FLAC and I don't think it will be updated anytime soon Ubuntu repos wise.

(I had to make a post on reddit about this as vhs-decode users heavily use FLAC for FM RF archival capture compression (40msps 8-bit / 10-bit / 12-bit data mostly, as current docs lost lamb users who are used to it being installed by package managers)

Installation and Build Steps

  1. Remove Existing FLAC Installation:
sudo apt-get remove flac libflac-dev
  1. Clone the FLAC Repository:
git clone https://github.com/xiph/flac.git
cd flac
git checkout tags/1.5.0 -b 1.5.0
  1. Install Required Dependencies:
sudo apt-get install build-essential autoconf automake libtool pkg-config cmake curl pandoc graphviz
  1. Create a Build Directory:
mkdir build
cd build
  1. Configure the Build with cmake:
  • If you want to include man pages:
cmake ..
  • If you want to build without man pages:
cmake -DINSTALL_MANPAGES=OFF ..
  1. Compile the Code:
make
  1. Install FLAC:
sudo make install

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions