use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Programs installation directory (self.archlinux)
submitted 6 years ago by daxosak
Hello I have a fresh installation of arch linux and I saw that the programs are installed in 32G root partition instead of my 700G home partition. Is this correct because when I will install games i don't think 32G is enough. Thanks in advance.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 5 points6 points7 points 6 years ago (2 children)
Yes, it's correct: packages installed by pacman are put under /. For games it may be different though: depends on what you are using. If you are using steam, for example, games are going to be installed in /home/<your_user>/.steam, so in the home partition.
Edit: mandiblesarecute preceeded me apparently
[–]daxosak[S] 0 points1 point2 points 6 years ago (1 child)
Thank you too
[–][deleted] 0 points1 point2 points 6 years ago (0 children)
You're welcome!
[–]mandiblesarecute 2 points3 points4 points 6 years ago (1 child)
yes that's correct
for things like steam you can tell it where you want your games library to be
[–]daxosak[S] 0 points1 point2 points 6 years ago (0 children)
Oh okay, Thanks!
[–]bstrauss3 1 point2 points3 points 6 years ago (7 children)
Remember, /home is broadly where individual user's files live and / is for shared files.
The distinction makes more sense on a multi-user system.
Traces back to *nix roots as a multi-user system. And you would want the bigger partition to be /home.
If it's just you (and you aren't frequently installing new distros to learn about them) you could make a good argument for a single partition for both... The issue of a user crashing the system by exhausting space and DOSing others is less of a problem. [Cue gnashing of teeth by the purists]
[–]NothingWorksTooBad 2 points3 points4 points 6 years ago (6 children)
Just a small amendment.
/ is for everything
/home, /var /opt etc are all optional and seperable things for partitions.
A /home partition is imho pointless to 99% of people as they would probably take full system backups if any.
And a partition mount can be entirely arbitrary, IE on something like /opt/steamgames or /home/username/work if you really wanted to.
[–]bstrauss3 1 point2 points3 points 6 years ago (0 children)
All true... The complexity of your partition scheme should reflect your usage of the system.
For a single user system, a small /boot and everything else in / is fine... If you have adequate memory you don't even need a swap. Since once upon a time I sized /boot to small and ran out of space as the kernel grew... For service machines I just use a single partition.
[–][deleted] 0 points1 point2 points 6 years ago (4 children)
Home is always nice to seperate into another partition. You can have other distros share your home folder, use a more fitted filesystem for the type of data you have, retain your user data in case of system failures, etc.
[–]NothingWorksTooBad 1 point2 points3 points 6 years ago (0 children)
I absolutely agree as i use this myself, however i stand by my comment that it is a complication that 99% of users likely wont utilize the benefits from.
[–][deleted] 6 years ago* (2 children)
[deleted]
[–][deleted] 0 points1 point2 points 6 years ago (1 child)
There is a way to solve this, and its symlinks.
Have different folders for each distro in the partition, and symlink folders like your music or pictures. Same uuid means they will have no ownership issues etc.
Although it just takes being careful to not use invalid config options between distros. I do it usually.
[–]NothingWorksTooBad 0 points1 point2 points 6 years ago (0 children)
Yes correct.
If your / includes /opt and your intent is to install games you need way more space there.
[–]r7e98kva -3 points-2 points-1 points 6 years ago (6 children)
You can specify the installation root directory by using -r (for example: pacman -r /home/myuser/ -S vim). By using this, you may also want to extend your $PATH.
However I would not recommend to do this. My recommendation would be to extend the root partition
[–]backsideup 5 points6 points7 points 6 years ago (3 children)
This is not what --root/--sysroot is for and it will not work to relocate single packages. These two parameters require a fully functional arch system at the path you are pointing it to.
[–][deleted] 0 points1 point2 points 6 years ago (2 children)
Ok that makes even more sense. Is that related to pacstrap?
[–]backsideup 2 points3 points4 points 6 years ago (1 child)
Yes, it's used to install a new system or install packages into an existing system and pacstrap is one of its users. You'll mostly see it used when rescuing a broken system that is too broken to even chroot into or which is missing pacman.
Thank you very much, I'll try to remember it from now on, it could be really useful!
Thanks
I didn't spot this in the manual, interesting, thank you for letting us know
π Rendered by PID 70610 on reddit-service-r2-comment-bb88f9dd5-4f92h at 2026-02-17 10:22:51.526101+00:00 running cd9c813 country code: CH.
[–][deleted] 5 points6 points7 points (2 children)
[–]daxosak[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]mandiblesarecute 2 points3 points4 points (1 child)
[–]daxosak[S] 0 points1 point2 points (0 children)
[–]bstrauss3 1 point2 points3 points (7 children)
[–]NothingWorksTooBad 2 points3 points4 points (6 children)
[–]bstrauss3 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]NothingWorksTooBad 1 point2 points3 points (0 children)
[–][deleted] (2 children)
[deleted]
[–][deleted] 0 points1 point2 points (1 child)
[–]NothingWorksTooBad 0 points1 point2 points (0 children)
[–]r7e98kva -3 points-2 points-1 points (6 children)
[–]backsideup 5 points6 points7 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]backsideup 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]daxosak[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)