Upcoming Maintenance Alert:

The UBNT Community will be upgraded at 5pm MDT on April 25th. During this time the community forums will be set to read-only status.

Learn more

×
Reply
Ubiquiti Employee
Posts: 7,362
Registered: ‎01-28-2013
Kudos: 9422
Solutions: 579
Contributions: 20

Updated UniFi Repo info/APT howto

[ Edited ]

Please note that unifi-beta/unifi-rapid are obsoleted. The old repo will be removed at the end of July. Changes to package names will be noted in this thread.

 

Current Package Names:

unifi:
  Installed: (none)
  Candidate: 4.6.6-5426
  Version table:
     4.6.6-5426 0
        500 http://www.ubnt.com/downloads/unifi/debian/ stable/ubiquiti amd64 Packages
     3.2.10-2386 0
        500 http://www.ubnt.com/downloads/unifi/debian/ oldstable/ubiquiti amd64 Packages
unifi-beta:
  Installed: (none)
  Candidate: 4.6.6-5426
  Version table:
     4.6.6-5426 0
        500 http://www.ubnt.com/downloads/unifi/debian/ stable/ubiquiti amd64 Packages
unifi-rapid:
  Installed: (none)
  Candidate: 3.2.10-2386+1
  Version table:
     3.2.10-2386+1 0
        500 http://www.ubnt.com/downloads/unifi/debian/ oldstable/ubiquiti amd64 Packages
  • unifi-beta/unifi-rapid in this repo are transitional dummy packages and can safely be removed.

 

UniFi Controller APT howto

  1. Add /etc/apt/sources.list.d/100-ubnt.list (or edit /etc/apt/sources.list). The 'stable' source is floating. If you wish to stay with a certain release branch, please specify it in the source line (i.e. for UniFi v5 use the 'unifi5' source, etc). 

    ## Debian/Ubuntu
    # stable => unifi4
    # deb http://www.ubnt.com/downloads/unifi/debian unifi4 ubiquiti
    # deb http://www.ubnt.com/downloads/unifi/debian unifi5 ubiquiti

    deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti

    # oldstable => unifi3
    # deb http://www.ubnt.com/downloads/unifi/debian unifi3 ubiquiti
    # deb http://www.ubnt.com/downloads/unifi/debian oldstable ubiquiti
  2. Add /etc/apt/sources.list.d/200-mongo.list (or edit /etc/apt/sources.list):

    ## Debian 
    deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen
    
    ## Ubuntu
    deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
  3. Add the GPG Keys:

    # for Ubiquiti
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50
    
    # for mongo-10gen [optional]
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
    
    # or over HTTP by using hkp://keyserver.ubuntu.com:80
  4. Update, install, and upgrade:

    # retrieve the latest package information
    sudo apt-get update
    
    # install/upgrade unifi-controller
    sudo apt-get install unifi

 

Note, as previously, we do not allow direct listing/access of our repo. You will receive a 403 forbidden notice if you try to access the folder directly.

Reply