Obviously considerable work has been done to keep me from doing this, particularly in any way where it might affect the TrueNAS functions. I not only accept that, I think it’s wise, and mostly works to my benefit.
(If I really wanted to override that, I could of course install Debian and use ZFS and Samba over there to provide the same functionality. The first two generations of my home fileserver were based on OpenSolaris and then on Illumos, configuring it all myself is not entirely beyond my comfort zone. But both the GUI, and the curation of versions of all the relevant packages, IS of value to me.)
But there are a few things I’d like to have present when I was doing development on the server. I have to do some of the development directly on the server, because unlike in CORE, I don’t have access to the ZFS pools and datasets from a virtual (in CORE, I did the dev in a jail, and in that jail I could install anything I needed). Even an entirely separate dev server wouldn’t solve this, since it would also be TrueNAS and I wouldn’t be able to install any software packages on it, either.
I notice that using dpkg, a Debian package can be installed into a different prefix directory than what is usual for that package. I’m wondering about installing a few things in the ~ddb/local hierarchy, private copies in my own user directory; that shouldn’t put the rest of the system at risk (unless any of the software runs as root; the stuff I’m wanting doesn’t).
Are there reasons this is a bad idea, a risk to the rest of the server?
And, how do dependencies between packages work when installing to a non-standard location? I don’t imagine it can really check against the system versions of anything.
(The tool I miss most is Emacs, which has been my editor since 1981 (when I first encountered rms’s ITS Emacs, written in ITS TECO, running on TOPS-20 under the Incompatibility Package). And it’s fairly complicated these days, has dependencies and such. The keystrokes are so deeply burned into my spine that using anything else is slow, halting, and error-prone. Some people of course hate it, got that. Plus tools built in Emacs are core to my process.)
I know that the dpkg and apt* tools are linked from the path I get as a user to something that just tells me “no”, but I rather expect I can find the real ones with modest effort. Or just copy the binaries from another Linux box.