Relocate ~/snap?

Hi all,
Can I relocate ~/snap directory? I really prefer it some other location than my home directory. Something like ~/tools/snap would be fine.
If convenient I could make this a global setting (e.g. ${HOME}/tools/snap) or an environment variable on a per-user would also be fine. (I’m the only user other than root.) Perhaps some other way.
This is on Debian Buster which runs

hbarta@rocinante:~$ apt-cache policy snapd
  Installed: 2.37.2-1
  Candidate: 2.37.2-1
  Version table:
 *** 2.37.2-1 500
        500 buster/main amd64 Packages
        100 /var/lib/dpkg/status


1 Like


This is not possible at this time. We realise that this is a usability or aesthetics issue for many people and have some plans on how to change that to be totally flexible but right now don’t have the manpower to commit to doing it. I suspect we can attempt this next 6-month cycle after 19.04 ships.


This is tracked as lp:1575053.