Multiple Linux distros can be installed on the same machine. The format of executables should be the same for every one of them. So I want to use multiple distros on a single machine and have access to some applications like Skype, Chrome or Spotify from all. I don't want to waste time and disk space to install them on distros separately. I want to use only modern distros, like Ubuntu, Mint, Fedora, Solus, Manjaro, etc.
man hier
expresses /usr/local
as a folder is where programs which are local to the site typically go. I can make a separate partition with the contents of /usr/local
and mount it on every distro. Please tell me if this is the appropriate folder.
After mounting the appropriate folder:
- what is required for executables to be shared among distros (permissions, UID, GID)?
- will it be possible to install a piece of software on one distro and run it on another?
- will upgrade of a package on one distro be visible on the other distros?
- will removal of the package be visible on other distros?
- should I mount more folders, like
/home
,/usr/share/games
,/usr/share/locale
,/usr/bin
,/lib
,/opt
or/var
? - how about flatpak and Appimages?
/home
is usually safe to share. Very rarely do config files have sufficiently different formats between distros that it's an issue. THe only caveat is that config on one distro will propagate to all of them. – Austin Hemmelgarn May 08 '18 at 19:39