Re-enable apt on TrueNAS Scale

258 views Asked by At

TrueNAS Scale is Debian-based NAS. However, apt and dpkg managers are disabled by default (for the security reasons).

Sometimes, advanced users needs to install additional utilities using the packet manager.

I'm wondering how to re-enable this possibility.

1

There are 1 answers

0
drkr On

I found the next list of commands can re-enable apt on Truenas Scale 23.10. I used it from System Console in Truenas UI (System Settings->Shell)

sudo chmod +x /bin/apt*
sudo chmod +x /usr/bin/dpkg
sudo apt-get update