I’m a software dev and a new user of Asustor AS5404T NAS.
Where can I learn how to use entware to list & load packages? Trying to resolve the problem with nano that errors out on xterm-256color.
I’m a software dev and a new user of Asustor AS5404T NAS.
Where can I learn how to use entware to list & load packages? Trying to resolve the problem with nano that errors out on xterm-256color.
Hi,
APKG is the Asustor Package container … so each application installed by AppCentral are delivered in APKG format (a dev. corner site explain how to)
One APKG contain Entware … an installer (opkg) for +2500 software and libraries
https://github.com/Entware/Entware
When Entware installed (App. Central) in a terminal as root (or any admin using sudo) you use opkg (the package installer inside Entware) to get and install packages and dependency. (like in Debian apt do)
ALL part and components of Entware are installed (as link) in /opt
so for ex. /opt/share/terminfo/ … have terminal def. for Entware/opkg applications
ADM (NAS O.S.) use /usr/share/terminfo/
… so xterm-256color exist for Entware not for ADM (but can be copied
if needed)
Be sure after installing APKG Entware to log off of terminal and log again to get the full environment (Entware at start (so after boot) add a line in /etc/profile to add it’s environment to all admin user)
Entware also add a rc init approach to start service installed by opkg (/opt/etc/init.d/)
Philippe.
NB I don’t use nano, but I can install it to understand your problem (please add some detail)
Hi,
I have do a short test with nano
… opkg install nano-full … to get all functions (color, syntax highlight, utf-8, etc. etc.), nano is a short limited version for simple usage.
… just add as usual .nanorc with nanorc include, tested with bash and php … no problem
also 256 color are supported by xterm (Asustor delivery) and xterm-256color for Entware … tested.
Philippe.
Thank you for that detailed reply Philippe. That should get me going.