If you design properly the system, it’s possible. You’d give writing permissions to admin in specific directories, like /usr/local/ and/or /opt/.
But my advice is another: you can install user-only applications. It goes into the ~/.local/ directory, that must have a subdirectory tree similar to /usr/local/.
If you design properly the system, it’s possible. You’d give writing permissions to
admin
in specific directories, like/usr/local/
and/or/opt/
.But my advice is another: you can install user-only applications. It goes into the
~/.local/
directory, that must have a subdirectory tree similar to/usr/local/
.That’s how I do.
In order to enable it, you must add
~/.local/bin/
to yourPATH
, preferably in the head.You can add to your
~/.bashrc
(if you use Bash):Since I use Fish, I got in my
~/.config/fish/config.fish
: