managing programs that install into several folders
Posted: 31 Jan 2020, 08:35
I run Porteus from the usb with the aim of having my useful software available in several different laptops. I have installed through a script that tipically would create folders in /usr/local and /home directories. Trying to keep the system tidy I installed it instead in my /mnt/sdc2/porteus folder, alongside the changes, modules and optional folders but allowed binaries to be installed in /usr/local/bin fearing some problems with PATH. When I boot Porteus in the laptop where I commonly run it, it works with no problem, but when I boot the usb from a different laptop all the modules and changes are applied but cannot run the program. It is probably due to the fact that in that other laptop the porteus folder with /changes and /modules is mounted in a differente device, /sdb2.
Why is it happening? Should I have installed it in /home, perhaps? Also, it would be nice to be able to create a module out of it, but how do you create modules from programs installed in several folders?
Thanks a lot in advance
Why is it happening? Should I have installed it in /home, perhaps? Also, it would be nice to be able to create a module out of it, but how do you create modules from programs installed in several folders?
Thanks a lot in advance