Re: Install a package to alternative location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 18 Aug 2023 16:38:28 +0900
"lain." <lain@xxxxxxxx> wrote:
> Though it is possible to make it do so, but requires quite a bit of
> workarounds, like copying over all the files and directories pacman
> uses (/var/lib/pacman, /usr/share/pacman, /etc/pacman*, and so on) to
> your home directory (or separate partition), and you'll need to pass
> the "--sysroot" flag every time you want to update, so it's a bit
> anal.

Maintaining another sysroot is basically dealing with another complete
isolated system, and I believe we have tools that automate these, since
it's just a container; and some of those tools can work without root
privileges, e.g. bwrap.  Or simply unshare and call systemd-nspawn.

But this approach is going to take more space since all dependencies
would be installed twice, and depending on OP's resources this may be
too much.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux