Install custom packages on a QNAP NAS

Introduction

To install custom packages which are not available in the App Center of the QTS 5.x operating system for QNAP network attached storages (NAS), the options are described below. All tests were performed on a QNAP TS6-653A NAS.

Add repository to App Center

Adding additional package repositories to the App Center of the QTS 5.x Operating System by QNAP is described elsewhere [0] by adding the following URL:

https://www.myqnap.org/repo.xml

Add Entware package manager

The Entware(-std/-ng) [1,2],  QNAPware (an Entware fork for QNAP NAS) [3] package manager can be installed on QNAP NASes, of which Entware seems more uptodate.

Although the Entware package manager (.qpkg) can be installed via the App Centre of the QTS GUI this is not recommended because the binaries will not be available on the command line and is unclear where they are stored, ie the path. Installing the Entware .qpkg manually in the command line after connecting with ssh to your NAS will give output in the terminal pointing you to the binary:

NAS> wget https://bin.entware.net/other/Entware_1.03a_std.qpkg
NAS> sudo sh Entware_1.03a_std.qpkg
NAS> echo "source /opt/etc/profile" > .profile
NAS> echo "export PATH=$PATH:/opt/bin/opkg" >> .profile

Examples:

NAS> sudo opkg install nano

Notes:

  • Optware is not longer available in the QNAP App Center since 2019 and is considered discontinued [4].
  • More support is available in the QNAP discussion forum, for which registration is required. [5]

References:

[0] https://www.myqnap.org/install-the-repo/
[1] https://entware.net/
[2] https://github.com/Entware/Entware/wiki/Install-on-QNAP-NAS
[3] https://github.com/zyxmon/qnapware
[4] https://wiki.qnap.com/wiki/Install_Optware_IPKG
[5] https://forum.qnap.com

http://wilmarigl.de

en_USEnglish