Installing software in home partition instead of root partition?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












/home (the rest)

/ (100GiB)

/swap (6GiB)

/boot (200MiB


there are vital basic operating system packages like the coreutils and binutils, then there's the "optional" like virtualbox or okular



thing is, I don't want these "optional" packages taking space in my root partition /



Since I consider them to be "user files" and not operating system files



is there a clear way of doing this without getting a million error messages about root sub-directories when installing anything??










share|improve this question



















  • 2




    Are you using a RPM or APT based Linux distro?
    – kemotep
    Dec 5 at 14:34






  • 1




    @J.Doe: I think you have xyproblem.
    – Ipor Sircer
    Dec 5 at 15:29






  • 1




    The solution depends on what kind of package manager you have. It is much easier with RPM to relocate a package. 100 GB for a root partition is pretty large. I understand you want to try to move things away from the root filesystem but have you read up on how the Linux filesystem hierarchy works and why certain files are placed where they are? Since you report using APT as your package manager, the easiest solution would be to create a chroot inside your home directory. So you would have a second environment to install things to that only that use should be able to access.
    – kemotep
    Dec 5 at 15:55







  • 2




    There is no easy way of doing this with a package manager. You have to manually install the packages. Either manually download and extract the packages and manually copy the relevant parts into $HOME, or build from source with --prefix=/home or --prefix=/home/your_user and add those directories to your $PATH
    – Panther
    Dec 5 at 15:56






  • 1




    J. Doe, when you want to reply to a Comment, don't comment; instead, please click edit and amplify or extend the original question. Comments pile up and it's difficult to read their content, and by refining your question, it's a lot easier for folks who want to help to understand your goal.
    – K7AAY
    Dec 5 at 18:34














up vote
1
down vote

favorite












/home (the rest)

/ (100GiB)

/swap (6GiB)

/boot (200MiB


there are vital basic operating system packages like the coreutils and binutils, then there's the "optional" like virtualbox or okular



thing is, I don't want these "optional" packages taking space in my root partition /



Since I consider them to be "user files" and not operating system files



is there a clear way of doing this without getting a million error messages about root sub-directories when installing anything??










share|improve this question



















  • 2




    Are you using a RPM or APT based Linux distro?
    – kemotep
    Dec 5 at 14:34






  • 1




    @J.Doe: I think you have xyproblem.
    – Ipor Sircer
    Dec 5 at 15:29






  • 1




    The solution depends on what kind of package manager you have. It is much easier with RPM to relocate a package. 100 GB for a root partition is pretty large. I understand you want to try to move things away from the root filesystem but have you read up on how the Linux filesystem hierarchy works and why certain files are placed where they are? Since you report using APT as your package manager, the easiest solution would be to create a chroot inside your home directory. So you would have a second environment to install things to that only that use should be able to access.
    – kemotep
    Dec 5 at 15:55







  • 2




    There is no easy way of doing this with a package manager. You have to manually install the packages. Either manually download and extract the packages and manually copy the relevant parts into $HOME, or build from source with --prefix=/home or --prefix=/home/your_user and add those directories to your $PATH
    – Panther
    Dec 5 at 15:56






  • 1




    J. Doe, when you want to reply to a Comment, don't comment; instead, please click edit and amplify or extend the original question. Comments pile up and it's difficult to read their content, and by refining your question, it's a lot easier for folks who want to help to understand your goal.
    – K7AAY
    Dec 5 at 18:34












up vote
1
down vote

favorite









up vote
1
down vote

favorite











/home (the rest)

/ (100GiB)

/swap (6GiB)

/boot (200MiB


there are vital basic operating system packages like the coreutils and binutils, then there's the "optional" like virtualbox or okular



thing is, I don't want these "optional" packages taking space in my root partition /



Since I consider them to be "user files" and not operating system files



is there a clear way of doing this without getting a million error messages about root sub-directories when installing anything??










share|improve this question















/home (the rest)

/ (100GiB)

/swap (6GiB)

/boot (200MiB


there are vital basic operating system packages like the coreutils and binutils, then there's the "optional" like virtualbox or okular



thing is, I don't want these "optional" packages taking space in my root partition /



Since I consider them to be "user files" and not operating system files



is there a clear way of doing this without getting a million error messages about root sub-directories when installing anything??







linux files software-rec






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 5 at 14:22









msp9011

3,65543863




3,65543863










asked Dec 5 at 14:20









J. Doe

61




61







  • 2




    Are you using a RPM or APT based Linux distro?
    – kemotep
    Dec 5 at 14:34






  • 1




    @J.Doe: I think you have xyproblem.
    – Ipor Sircer
    Dec 5 at 15:29






  • 1




    The solution depends on what kind of package manager you have. It is much easier with RPM to relocate a package. 100 GB for a root partition is pretty large. I understand you want to try to move things away from the root filesystem but have you read up on how the Linux filesystem hierarchy works and why certain files are placed where they are? Since you report using APT as your package manager, the easiest solution would be to create a chroot inside your home directory. So you would have a second environment to install things to that only that use should be able to access.
    – kemotep
    Dec 5 at 15:55







  • 2




    There is no easy way of doing this with a package manager. You have to manually install the packages. Either manually download and extract the packages and manually copy the relevant parts into $HOME, or build from source with --prefix=/home or --prefix=/home/your_user and add those directories to your $PATH
    – Panther
    Dec 5 at 15:56






  • 1




    J. Doe, when you want to reply to a Comment, don't comment; instead, please click edit and amplify or extend the original question. Comments pile up and it's difficult to read their content, and by refining your question, it's a lot easier for folks who want to help to understand your goal.
    – K7AAY
    Dec 5 at 18:34












  • 2




    Are you using a RPM or APT based Linux distro?
    – kemotep
    Dec 5 at 14:34






  • 1




    @J.Doe: I think you have xyproblem.
    – Ipor Sircer
    Dec 5 at 15:29






  • 1




    The solution depends on what kind of package manager you have. It is much easier with RPM to relocate a package. 100 GB for a root partition is pretty large. I understand you want to try to move things away from the root filesystem but have you read up on how the Linux filesystem hierarchy works and why certain files are placed where they are? Since you report using APT as your package manager, the easiest solution would be to create a chroot inside your home directory. So you would have a second environment to install things to that only that use should be able to access.
    – kemotep
    Dec 5 at 15:55







  • 2




    There is no easy way of doing this with a package manager. You have to manually install the packages. Either manually download and extract the packages and manually copy the relevant parts into $HOME, or build from source with --prefix=/home or --prefix=/home/your_user and add those directories to your $PATH
    – Panther
    Dec 5 at 15:56






  • 1




    J. Doe, when you want to reply to a Comment, don't comment; instead, please click edit and amplify or extend the original question. Comments pile up and it's difficult to read their content, and by refining your question, it's a lot easier for folks who want to help to understand your goal.
    – K7AAY
    Dec 5 at 18:34







2




2




Are you using a RPM or APT based Linux distro?
– kemotep
Dec 5 at 14:34




Are you using a RPM or APT based Linux distro?
– kemotep
Dec 5 at 14:34




1




1




@J.Doe: I think you have xyproblem.
– Ipor Sircer
Dec 5 at 15:29




@J.Doe: I think you have xyproblem.
– Ipor Sircer
Dec 5 at 15:29




1




1




The solution depends on what kind of package manager you have. It is much easier with RPM to relocate a package. 100 GB for a root partition is pretty large. I understand you want to try to move things away from the root filesystem but have you read up on how the Linux filesystem hierarchy works and why certain files are placed where they are? Since you report using APT as your package manager, the easiest solution would be to create a chroot inside your home directory. So you would have a second environment to install things to that only that use should be able to access.
– kemotep
Dec 5 at 15:55





The solution depends on what kind of package manager you have. It is much easier with RPM to relocate a package. 100 GB for a root partition is pretty large. I understand you want to try to move things away from the root filesystem but have you read up on how the Linux filesystem hierarchy works and why certain files are placed where they are? Since you report using APT as your package manager, the easiest solution would be to create a chroot inside your home directory. So you would have a second environment to install things to that only that use should be able to access.
– kemotep
Dec 5 at 15:55





2




2




There is no easy way of doing this with a package manager. You have to manually install the packages. Either manually download and extract the packages and manually copy the relevant parts into $HOME, or build from source with --prefix=/home or --prefix=/home/your_user and add those directories to your $PATH
– Panther
Dec 5 at 15:56




There is no easy way of doing this with a package manager. You have to manually install the packages. Either manually download and extract the packages and manually copy the relevant parts into $HOME, or build from source with --prefix=/home or --prefix=/home/your_user and add those directories to your $PATH
– Panther
Dec 5 at 15:56




1




1




J. Doe, when you want to reply to a Comment, don't comment; instead, please click edit and amplify or extend the original question. Comments pile up and it's difficult to read their content, and by refining your question, it's a lot easier for folks who want to help to understand your goal.
– K7AAY
Dec 5 at 18:34




J. Doe, when you want to reply to a Comment, don't comment; instead, please click edit and amplify or extend the original question. Comments pile up and it's difficult to read their content, and by refining your question, it's a lot easier for folks who want to help to understand your goal.
– K7AAY
Dec 5 at 18:34















active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f486160%2finstalling-software-in-home-partition-instead-of-root-partition%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f486160%2finstalling-software-in-home-partition-instead-of-root-partition%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?