Can I change the installation directory of programs and applications on Linux?
Hello!
Is it possible to change the installation directory of programs and applications on Linux? Like installing their files on another partition of the disk, for example? Thanks! |
No, it isn't.
OK, that was the short version. The longer version is that if you're using a distribution like Linux Mint then the package manager installing the programs and libraries dictates where they go -- so you cannot change the path the are installed to. You could, I suppose, start doing things like putting system directories on another disk but that would take a long time and be very complicated. If you are installing programs without using your package manager then you can put them where you want but they will not be automatically updated by your system and you will probably have to do things like change permission manually to whatever you feel is safest. |
You could put /usr or /usr/local onto a different partition at installation time
If that is what you want to do, you will need to back up all your data & re install the OS, then re install your data. |
With systemd /usr on separate partition isn't supported. You'll have to rebuild initramfs to support it.
https://www.gentoo.org/support/news-...-required.html |
Put /usr on a different partition when installing? Can I do that? How? :P
|
Ok; What I was trying to do was to have 3 disk partitions. One for Windows, another for Linux, and a third one to install programs (from both operative systems). But, come to think about it, that is not possible at all, is it?
|
Quote:
|
Ok. Then I'll just create a partition for Linux and it's programs and a different one for Windows and it's programs.
Thanks! |
All times are GMT -5. The time now is 11:08 PM. |