Re: Install a package to alternative location

2023-08-18 Thread pete
On Fri, 18 Aug 2023 10:59:45 +0200 Ralf Mardorf wrote: > On Fri, 2023-08-18 at 09:17 +0100, pete wrote: > > https://browse-tutorials.com/tutorial/arch-linux-move-root-partition-hdd-ssd > > > > Hi Pete, > > consider to change > >cp -a /mnt/hdd_mount/* /mnt/ssd_mount/ > > to > >cp -

Re: Install a package to alternative location

2023-08-18 Thread Doug Newgard
On Fri, 18 Aug 2023 15:31:21 +0900 "lain." wrote: > Could you at the very least test it yourself unstead of just assuming > it will "likely" not work? > I wouldn't be doing it myself this way if it wouldn't work. > The only time it won't find libraries is if you don't set your > LD_LIBRARY_PATH

Re: Install a package to alternative location

2023-08-18 Thread Jeanette C.
Hi everyone, thanks for all the tips and suggestions. I did solve the issue with bind mounting a few folders on my home partition. As for usage on my system, I am very cleanly and take very good care of unnecessary data. Though it's good to see all these methods listed so compactly in one pla

Re: Install a package to alternative location

2023-08-18 Thread Ralf Mardorf
On Fri, 2023-08-18 at 09:17 +0100, pete wrote: > https://browse-tutorials.com/tutorial/arch-linux-move-root-partition-hdd-ssd Hi Pete, consider to change cp -a /mnt/hdd_mount/* /mnt/ssd_mount/ to cp -Tai /mnt/hdd_mount/ /mnt/ssd_mount/ Why? -T just in case a source mount point

Re: Install a package to alternative location

2023-08-18 Thread Carl Lei
On Fri, 18 Aug 2023 16:38:28 +0900 "lain." 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 p

Re: Install a package to alternative location

2023-08-18 Thread pete
On Thu, 17 Aug 2023 22:20:30 +0200 (CEST) "Jeanette C." wrote: > Hey hey, > my system partition is as good as full, so I wonder if there is a safe method > to install packages to alternative locations. The packages in question are > android-studio-system and android-ndk. > > Extending the system

Re: Install a package to alternative location

2023-08-18 Thread pete
On Thu, 17 Aug 2023 22:20:30 +0200 (CEST) "Jeanette C." wrote: > Hey hey, > my system partition is as good as full, so I wonder if there is a safe method > to install packages to alternative locations. The packages in question are > android-studio-system and android-ndk. > > Extending the system

Re: Install a package to alternative location

2023-08-18 Thread lain.
Yes, you need root for that, otherwise get the Pacman source code, and hack the dependency on root out of it (https://gitlab.archlinux.org/pacman/pacman). This is because it's not common for package managers to install packages in the /home directory, even though they provide options to do so. For

Re: Install a package to alternative location

2023-08-18 Thread Ralf Mardorf
Hi Jeanette, do you already run sudo pacman -Sc after each update? Doing so still keeps the installed packages in the cache, but it deletes previous installed versions of packages. Perhaps you even don't want to keep the installed packages in the cache? Where do you store and probably cache lo