Re: Install a package to alternative location

2023-08-21 Thread Fabian Bornschein
Am Samstag, dem 19.08.2023 um 17:57 +0900 schrieb lain.: > > And yes, I had to look up what "top posting" means. > There is a wiki article about this (and more) that might help a lot here. https://wiki.archlinux.org/title/General_guidelines#Mailing_lists > On 2023年08月19日 10:14, Robin Candau w

Re: Install a package to alternative location

2023-08-19 Thread Robin Candau
Le 19/08/2023 à 17:28, lain. a écrit : On 2023年08月19日 16:06, Polarian wrote: Why are you set out to try to be controversial. I'm not trying to be controversial at all, I'm just using email like how email is intended to be used, that's all. You're the one who accuses me of "being controversial"

Re: Install a package to alternative location

2023-08-19 Thread lain.
On 2023年08月19日 16:06, Polarian wrote: > Why are you set out to try to be controversial. I'm not trying to be controversial at all, I'm just using email like how email is intended to be used, that's all. You're the one who accuses me of "being controversial". On 2023年08月19日 16:06, Polarian wrote:

Re: Install a package to alternative location

2023-08-19 Thread pete
On Sat, 19 Aug 2023 17:57:51 +0900 "lain." wrote: > I see lots of weird newspeak here, but just outright dictating me how to > write emails even though there's no law criminalizing the act of > replying to emails as 100% of all email clients do by default is not > really what I consider to be res

Re: Install a package to alternative location

2023-08-19 Thread Robin Candau
Le 19/08/2023 à 10:57, lain. a écrit : I see lots of weird newspeak here, but just outright dictating me how to write emails even though there's no law criminalizing the act of replying to emails as 100% of all email clients do by default is not really what I consider to be respective or inclus

Re: Install a package to alternative location

2023-08-19 Thread Väino-verneri Kauppila
Hey, > I see lots of weird newspeak here, but just outright dictating me how to > write emails even though there's no law criminalizing the act of > replying to emails as 100% of all email clients do by default is not > really what I consider to be respective or inclusive either. > And yes, I had

Re: Install a package to alternative location

2023-08-19 Thread lain.
I see lots of weird newspeak here, but just outright dictating me how to write emails even though there's no law criminalizing the act of replying to emails as 100% of all email clients do by default is not really what I consider to be respective or inclusive either. And yes, I had to look up what

Re: Install a package to alternative location

2023-08-19 Thread Robin Candau
Le 19/08/2023 à 09:14, lain. a écrit : Not sure what you mean by "top posting", but JAWOHL MEIN FUHRER!! Please, do not make use of those kind of poor and controversial jokes/references within the Arch community: - https://terms.archlinux.org/docs/code-of-conduct/#respect-other-users - https:

Re: Install a package to alternative location

2023-08-19 Thread lain.
Not sure what you mean by "top posting", but JAWOHL MEIN FUHRER!! On 2023年08月18日 07:20, Doug Newgard wrote: > 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

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

Re: Install a package to alternative location

2023-08-17 Thread Carl Lei
On Fri, 18 Aug 2023 11:00:37 +0900 "lain." wrote: > If directly from the pacman repo's: > pacman -S android-ndk -r ~/.local -b /var/lib/pacman Hi, this complains I am not root. I don't really want to have root-owned files in my home dir; also I'm curious, does pacman remember to write android-nd

Re: Install a package to alternative location

2023-08-17 Thread lain.
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 approprietely: export LD_LIBRARY_PATH=~/.local/lib:$LD_LIBRARY

Re: Install a package to alternative location

2023-08-17 Thread mpan
my system partition is as good as full Hello. The primary thing to try would be freeing up space. I don’t know, what is your experience, but people very often miss the growing “/var/cache/pacman/pkg” directory. Even well-maintained it consumes a lot. Other than that, see the extra/ncdu pac

Re: Install a package to alternative location

2023-08-17 Thread Doug Newgard
On Fri, 18 Aug 2023 11:00:37 +0900 "lain." wrote: > This is how I have set it up: > /usr/bin = systemwide binaries > /usr/lib = systemwide libraries > ~/.local/bin = user binaries > ~/.local/lib = user libraries > > I don't really like to use /usr/local/* on Linux, because it's not as > portable

Re: Install a package to alternative location

2023-08-17 Thread lain.
This is how I have set it up: /usr/bin = systemwide binaries /usr/lib = systemwide libraries ~/.local/bin = user binaries ~/.local/lib = user libraries I don't really like to use /usr/local/* on Linux, because it's not as portable as just /usr. I use it only in FreeBSD and OpenBSD, simply because

Re: Install a package to alternative location

2023-08-17 Thread Fons Adriaensen
On Thu, Aug 17, 2023 at 10:20:30PM +0200, Jeanette C. wrote: > 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. Do you have space somewhere else ? On

Re: Install a package to alternative location

2023-08-17 Thread Genes Lists
On 8/17/23 16:20, 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 partition is unfeasible. Yes, it i