Install nymea on Ubuntu

The repository provides packages for following architectures:

Ubuntu 16.04 Xenial 18.04 Bionic
amd64
i386
armhf
arm64

In order to install nymea on Ubuntu you need to create the /etc/apt/sources.list.d/nymea.list file and add the nymea-repository:

  1. Create the nymea-repository list file:

    $ sudo nano /etc/apt/sources.list.d/nymea.list

    In the repository are following distributions available:

    • trusty (end of support: 10.05.2016)
    • utopic (end of support: 29.04.2016)
    • vivid (end of support: 16.02.2017)
    • wily (end of support: 01.09.2017)
    • xenial
    • zesty (end of support: 01.01.2018)
    • artful
    • bionic

    Available architectures are amd64 i386, armhf and arm64.

    Note: please replace <dist> with the codename of your Ubuntu distribution. You can get your system version with lsb_release -a or $ cat /etc/os-release.

    Copy following lines into the file (replace <dist> with your distribution codename) and save it:

    ## nymea repo
    deb http://repository.nymea.io <dist> main
    deb-src http://repository.nymea.io <dist> main

    Alternative: $ echo -e "\n## nymea repo\ndeb http://repository.nymea.io <dist> main\ndeb-src http://repository.nymea.io <dist> main" | sudo tee /etc/apt/sources.list.d/nymea.list

    Add the public key of the nymea-repo to your keylist.

    $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key A1A19ED6

    Alternative: wget -qO - http://repository.nymea.io/repository-pubkey.gpg | sudo apt-key add -

  2. Update your package lists:

    $ sudo apt-get update

    You can search now for available nymea packages, plugins and tools:

    $ apt-cache search nymea
  3. Install nymea with following command:

    $ sudo apt-get install nymea nymea-plugins nymea-cli

    The repository contains always the latest stable build of the nymea master branch. If you want to install the source code you can install:

    $ sudo apt-get source nymea
    $ sudo apt-get source nymea-cli

Once, the installation is finished you continue with the Getting-Started instruction.