How do software distribution and package management work?
Hi,
So I've fiddled with several Linux distros but never really understood deeply what is going on with Linux. Case in point, I don't really know what search terms to use, so I'm here. I have been given the task of taking some scripts and source code and turning it into an installation package that can be put on various variants (like CentOS, Suse, and in the future, whatever a Cray XE6 runs). So.... how do apps work in linux? I read that rpm files will tend to include binary code, which will only work with a specific linux build. (Is it a specific kernel precisely?) When I try to put my program on a new linux system, will I need to check dependencies and recompile the program using whatever files are on the system? Can I include my own dependencies, and will they have to be compiled on that particular linux system as well? Really, I could do with a term to describe what I'm trying to understand, maybe then I could find a guide on the subject. So many guides out there just try to get the user into a GUI or show the user around the shell window... Thanks! |
Search term
"How to build a portable application" for Quote:
Even I have built my own pianobar application from source when I needed to when pandora broke it. But I tune motorcycles for a living though. |
Quote:
Quote:
2. yes, provided they don't already exist on the target system. If they already exist on the target system you can destroy the system by changing packages to versions that are incompatible with the pre-existing packages. 3. yes Quote:
----------------------------- Steve Stites |
Thank you rokytnji, that search term got me some useful pages.
Jailbait, is there some resource or search term that would teach me about the whys of all of this dependency stuff? I want to learn the why's of linux. For item 2, couldn't I include my own dependencies (are they usually just libraries?) in my package but not overwrite the system dependencies? Or would that defeat the purpose of making my application run on any particular distro? Thanks, Ben |
Quote:
------------------------ Steve Stites |
What jailbait said...
This is why if you download a 'tgz' pkg, you usually have to run make etc and you can (should) supply an install base dir, so that the new libs etc don't overwrite the already installed ones. As above, try googling 'portable ...' eg http://www.linuxfoundation.org/colla...r-app-portable |
All times are GMT -5. The time now is 02:24 PM. |