Skip to content

Install

Inho Oh edited this page Jul 18, 2024 · 4 revisions

Linux

Ubuntu

Supports the following versions:

  • 24.04 (Noble Numbat) - amd64
  • 24.04 (Noble Numbat) - arm64
  • 24.04 (Noble Numbat) - armhf
  • 22.04 (Jammy Jellyfish) - amd64
  • 22.04 (Jammy Jellyfish) - arm64
  • 22.04 (Jammy Jellyfish) - armhf
  • 20.04 (Focal Fossa) - amd64
  • 20.04 (Focal Fossa) - arm64
  • 20.04 (Focal Fossa) - armhf

Ubuntu 24.04 (Noble)

Create the /etc/apt/sources.list.d/aln.list file with following content:

deb [trusted=yes] https://webispy.github.io/aln/ubuntu/ noble main

Install

sudo apt update
sudo apt install aln libaln-dev

Ubuntu 22.04 (Jammy)

Create the /etc/apt/sources.list.d/aln.list file with following content:

deb [trusted=yes] https://webispy.github.io/aln/ubuntu/ jammy main

Install

sudo apt update
sudo apt install aln libaln-dev

Ubuntu 20.04 (Focal)

Create the /etc/apt/sources.list.d/aln.list file with following content:

deb [trusted=yes] https://webispy.github.io/aln/ubuntu/ focal main

Install

sudo apt update
sudo apt install aln libaln-dev

Fedora

Supports the following versions:

  • 40 (Released 2024-04-23) - x86_64
  • 39 (Released 2023-11-07) - x86_64

Fedora 40

Create the /etc/yum.repos.d/aln.repo file with following content:

[aln]
name=aln
baseurl=https://webispy.github.io/aln/fedora/40
enabled=1
gpgcheck=0

Install

dnf update
dnf install aln aln-devel

Fedora 39

Create the /etc/yum.repos.d/aln.repo file with following content:

[aln]
name=aln
baseurl=https://webispy.github.io/aln/fedora/39
enabled=1
gpgcheck=0

Install

dnf update
dnf install aln aln-devel

macOS

Add webispy/homebrew-aln Tap to Homebrew using the following command:

brew tap webispy/aln

Install

brew install aln

Remove

brew uninstall aln
brew untap webispy/aln

Windows

The ALN supports the vcpkg custom registry.

vcpkg classic mode

After installing vcpkg by referring to the guide below, you can install the ALN through the --overlay-ports option.

git clone https://github.com/webispy/aln-vcpkg-registry.git
git clone https://github.com/microsoft/vcpkg.git

cd vcpkg
./bootstrap-vcpkg.sh

./vcpkg install aln --overlay-ports=../aln-vcpkg-registry/ports

vcpkg manifest mode

To test the manifest mode, create a separate project directory (test), then use the vcpkg command to generate a manifest file (vcpkg.json) and a baseline configuration file (vcpkg-configuration.json) that can be used in the project of the current working directory.

mkdir ../test
cd ../test
../vcpkg/vcpkg new --application

Edit vcpkg-configuration.json file:

{
  "default-registry": {
    "kind": "git",
    "baseline": "1318ab14aae14db20085441cd71366891a9c9d0c",
    "repository": "https://github.com/microsoft/vcpkg"
  },
  "registries": [
    {
      "kind": "artifact",
      "location": "https://github.com/microsoft/vcpkg-ce-catalog/archive/refs/heads/main.zip",
      "name": "microsoft"
    },
    {
      "kind": "git",
      "repository": "https://github.com/webispy/aln-vcpkg-registry",
      "baseline": "f9a9fb7f966d25738aa095baa969ff757442735b",
      "packages": [ "aln" ]
    }
  ]
}

To test the installation, add aln to the dependency information of the test project:

../vcpkg/vcpkg add port aln

Now, let’s test if the package installs:

../vcpkg/vcpkg.exe install
Clone this wiki locally