Why, when installing a new app do we need to also install the -libs and the -devel if the app is needed to make another app work. Why cannot -libs be part of the installation if they are that important to the operation. Why are -devel, which I'm guessing are development files for the app needed, does this mean the app is bar minimum and cannot be used when required by another app. Sorry if I seem confused, Just trying to get a handle on the situation.
Thanks in advance Roger
On 11/02/13 08:20, Roger wrote:
Why, when installing a new app do we need to also install the -libs and the -devel if the app is needed to make another app work. Why cannot -libs be part of the installation if they are that important to the operation. Why are -devel, which I'm guessing are development files for the app needed, does this mean the app is bar minimum and cannot be used when required by another app. Sorry if I seem confused, Just trying to get a handle on the situation.
It would be a good idea for you to spell out the situation. There isn't much point to talk in generalities.
Am 02.11.2013 01:20, schrieb Roger:
Why, when installing a new app do we need to also install the -libs and the -devel if the app is needed to make another app work
you do not need any devel-package if you do not compile software from source if you think so post specific output about what you are talking
Why cannot -libs be part of the installation if they are that important to the operation
they are part of the installation by dependencies
Why are -devel, which I'm guessing are development files for the app needed, does this mean the app is bar minimum and cannot be used when required by another app
about which devel-packages do you talk?
on our whole production servers there are only *two* devel packages and not more which are unhappy packaging
systemtap-sdt-devel-2.3-1.fc18.x86_64 perl-devel-5.16.3-244.fc18.x86_64
Sorry if I seem confused, Just trying to get a handle on the situation
the situation is simple:
* you do not need devel-packages as user * if something pulls them it's a apackageing error -> make a bugreport * the "libs" packages are shared libraries * example mysql: you do not need "mysql-server" on a client machine but you need "mysql-libs" for any application talking to a remote or local mysql server or to be precise /usr/lib64/mysql/libmysqlclient.so.18 and /usr/lib64/mysql/libmysqlclient.so.18.0.0 which are the shared client libraries * the mysql-example macths to nearly any package
[harry@srv-rhsoft:~]$ rpm -qa | grep flac flac-libs-1.3.0-2.fc19.x86_64 [harry@srv-rhsoft:~]$
no need for "flac" or "flac-devel" because "soundconverter" only needs the libraries and brings it's own executebale sharing the flac code which this way exists only once on the whole machine independent how many applications are useing it
On Sat, Nov 02, 2013 at 11:20:51AM +1100, Roger wrote:
Why, when installing a new app do we need to also install the -libs and the -devel if the app is needed to make another app work. Why cannot -libs be part of the installation if they are that important to the operation.
This is a good example of what we're talking about over on the development list -- the new Gnome Software application installer, which presents applications at a higher level without worrying about the packages that make them up underneath.
Usually packages where the libraries are split out are done that way because they can be shared by other programs, and those programs might not need the whole application. This granularity isn't (usually) strictly necessary, but makes the distribution a lot more flexible. One example would be a split between a graphical interface and the underlying engine -- the engine could be used on a headless server, without needing to pull in the graphical user environment.
If you use the higher level application installer you don't have to worry about this, and even if you use a moderately-low level program like `yum`, it will pull in all the right packages.
Why are -devel, which I'm guessing are development files for the app needed, does this mean the app is bar minimum and cannot be used when required by another app.
Those are only needed when *compiling* other programs, and are not needed at runtime.
Sorry if I seem confused, Just trying to get a handle on the situation.
No problem!
On 11/01/2013 05:31 PM, Reindl Harald wrote:
- you do not need devel-packages as user
One exception: if you're using akmod-nvidia, you need the kernel-devel package as well. This may also be true for other akmod packages, but that's the only one I'm familiar with. Still, as a general rule I agree with you.