I have a package that I need to install in /usr/local rather than /usr. Is there an equivalent of dpkg -root /usr/local
for apt install
.
I am attempting to get rsyslog and syslog-ng to coexist...
I have a package that I need to install in /usr/local rather than /usr. Is there an equivalent of dpkg -root /usr/local
for apt install
.
I am attempting to get rsyslog and syslog-ng to coexist...
More research on this one implies it is not possible and in fact the --root
flag on dpkg
is also problematic as most standard .debs
are build with a root of \
and within that dpkg
looks for var/lib/dpkg
which isn't there.
sudo apt install build-essential
), reconfigure the package (./configure
), build, install. Trying to subvert a packaged product defeats one of the benefits of software packaging. – waltinator Jan 18 '22 at 04:20