SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After removing samba from my systems, ./configure autodetects that samba is not present
thereby configuring and building mplayer & ffmpeg from source without samba being required.
IMO, it might be useful for those not adept in building from source to have...
After removing samba from my systems, ./configure autodetects that samba is not present
thereby configuring and building mplayer & ffmpeg from source without samba being required.
IMO, it might be useful for those not adept in building from source to have...
(along with any other programs that might be in the slackware repository which require samba)
I see no reason to not install Samba and it's not that simple to have a Samba free system. No offense intended, but here I smell another pure-ALSA fiasco...
Anyway, you shouldn't convince me, but the Boss.
So, you estimate that there are many Samba hatters around, or it's just your personal hate toward Samba?
Honestly, for me this kind of attitude is a novelty.
Last edited by LuckyCyborg; 02-04-2023 at 09:53 PM.
It's just I see no need to have it taking up space on my HDD when I do not need it. ;-)
Maybe you just don't know what it does, or how to use it? Samba is a powerful tool which brings a ton of flexibility, particularly if you have any non-Linux machines on your LAN. As an example, my wife has a work-issued Windows laptop, one kid has a school-issued Chromebook, the other has a school-issued Mac. They can all print, access files and stream media via the Slackware machine which I use for work... and that's because of Samba. I also have a so-called "smart" TV which connects to the Samba share and can play media. It's quite a handy thing, even for a home network.
You can also use it to create AD domains, which I'm still experimenting with... but Samba gives the ability to do that without having to fork out megabucks for Windows Server and Client Access Licenses.
It's required by ffmpeg and mplayer because they can both stream media off Windows-based file servers. Why you'd remove that kind of functionality is not clear to me... unless you're 100% sure that you're never going to encounter a Windows share you want to stream media off (for example: at a friend's house).
Quote:
Originally Posted by glennmcc
IMO, it might be useful for those not adept in building from source to have...
I'd suggest that people who are not adept at building from source are exactly the kind of people who should be running a full installation of Slackware, and using it to learn how to build from source... and then they can use their new skillz to remove all the functionality they like.
In Slackware, all packages are guaranteed to work if and only if all packages are installed.
Adding an external library has the exact same effect on system stability as removing a shipped library, and there's no way around that.
This is why such guarantees are very hard to make:
1. Adding nvidia has unforeseen consequences, as some packages link to libglx.so from mesa and some link to libglx.so from nvidia.
That is, if you compile something with nvidia installed and package it, then nvidia will be a requirement for the package. Therefore, unsupported.
2. If library removal makes the system unsupported, then so does library addition.
If one already adds an external lib, and makes the system unsupported with it;
Library removal would not make the base system any less supported than it already is.
1. Adding nvidia has unforeseen consequences, as some packages link to libglx.so from mesa and some link to libglx.so from nvidia.
That is, if you compile something with nvidia installed and package it, then nvidia will be a requirement for the package. Therefore, unsupported.
libglx.so? It's something the x server uses. Maybe you mean libGLX.so. In 15.0 programs already link to libGL.so, libGLX.so, etc of package libglvnd.
ChangeLog.txt:
Code:
Sat May 11 00:24:01 UTC 2019
x/libglvnd-1.1.1-x86_64-1.txz: Added.
This is the GL Vendor-Neutral Dispatch library, which allows multiple
drivers from different vendors to coexist on the same machine. When
libglvnd is present, the NVIDIA driver will not overwrite any system
files. Note that this is known to work when installing the NVIDIA driver
using the .run installer. Other methods may require adjustment.
This library is now a dependency of Mesa.
Thanks to Heinz Wiesinger.
When libglvnd is present, the NVIDIA driver will not overwrite any system files.
There's no way to know this is true for certain, or that it'll stay true in the future.
It's a workaround for a mess which was not caused by Slackware. Same mess, one could easily produce by adding a bunch of libs.
It's just I see no need to have it taking up space on my HDD when I do not need it. ;-)
The samba package takes less than 100 MB of disk space when installed. For a spinning drive, that would equal a value of about 1.5$ ( https://www.backblaze.com/blog/hard-...-per-gigabyte/ ), for an SSD about 3 times as much.
Yes, it would be possible so spend time on selecting which packages to install and recompile packages to get rid of dependencies, but what is your time worth? If you want a Slackware installation without Samba you probably also want to skip other, bigger, not used packages. In my experience such an installation will require a lot of time figuring out why things does not work in lack of dependencies.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,167
Rep:
Quote:
Originally Posted by elcore
Adding an external library has the exact same effect on system stability as removing a shipped library, and there's no way around that.
This is why such guarantees are very hard to make:
1. Adding nvidia has unforeseen consequences, as some packages link to libglx.so from mesa and some link to libglx.so from nvidia.
That is, if you compile something with nvidia installed and package it, then nvidia will be a requirement for the package. Therefore, unsupported.......
When uninstalling the Nvidia driver you are given the option to return things to as they were before you installed the driver. After that point I guess it is up to the user to recompile any affected packages.
Sorry.... I had no idea that such a simple request would result in such a complicated controversy. ;-)
It's not "a simple request" as you think.
Because IF our BDFL accepts to ship an alternative Samba-free set of packages, there are a lot of packages which should have an alternative building. Plasma5's KIO slaves, Konqueror, Dolphin and Krusader, XFCE's Thunar and friends, heck! even the Midnight Commander. And for what? Because you do not need Samba?
BUT, there are also the guys who dislike PulseAudio, elogind and Xorg. What shoud our BDFL do? To ship in /extra also packages for them? And what he should do for those people who dislike elogind and Samba, but loves PulseAudio?
How many alternative trees should ship our BDFL on /extra according with you?
Last edited by LuckyCyborg; 02-05-2023 at 11:18 AM.
BUT, there are also the guys who dislike PulseAudio, elogind and Xorg. What shoud our BDFL do? To ship in /extra also packages for them? And what he should do for those people who dislike elogind and Samba, but loves PulseAudio?
Then that's an exercise left to the user, as Pat puts it. I do digital audio. Pulse is a liability, so I built things I need without it before pipewire, and am strictly pipewire-only these days. Before the preempt=dynamic kernel was shipped, I built mine for RT. Hell, I remember back in the early 2000's, I had to rebuild libasound, because one of the languages I used needed something that the stock build didn't provide. If your use is an edge case, you get used to building the things you need, which is a strength of Slackware. (Try doing all of that on ubuntu without serious breakage.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.