Debian 9.5 Stable, Question About Installing Non-Repository Software
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Debian 9.5 Stable, Question About Installing Non-Repository Software
Earlier today I was considering attempting to add the Debian Testing repository to my Debian Stable sources.list file. Upon researching it further I came across this bit of information about mixing software from Stable, Testing, and Unstable repositories:
Quote:
Originally Posted by Google Search Results
For what it's worth, the general advice I've always seen is "Don't mix stable with anything." Most of the mixed systems tutorials are for mixing testing and unstable.
The reasoning seems to be that if you mix stable with testing, very basic packages (like libc6) will require updates (in order to install software from testing), and once these basic packages move to testing, the whole system can drift that way.
This got me thinking. Do the dangers described in the above quote also apply to me going out and updating to the latest version of Dolphin File Manager? Stable is at 16.08.3-3 but the latest release on KDE.org is 18.08.0. If I go and grab that version, don't I run an identical risk as I do from grabbing the latest DolphinFM version from the Debian Testing repository itself?
So if I switched to Debian Unstable, to have access to bleeding edge software, should I still stick to only downloading from a Debian repository? Or would it then be safe to run the risks of obtaining updated dependency packages through non-repository downloads?
Reasoning: I notice that Dolphin is at 18.04, while the latest version is at 18.08. A big missing feature has been restored in 18.08 which is why I want it so badly. No idea how long it will take for it to show up in Unstable. As a newcomer to Linux I'm not sure if this is a Debian issue or a Linux issue or just a standard case of "use common sense and wait for the repository download to become available".
Last edited by Mulsimine; 08-25-2018 at 06:37 PM.
Reason: added last sentence.
if ya going to play like that until you get a grasp at what to install that will work without destroying your system to the point that it's be faster and easier to just reinstall it and start over. I do hope you got your system split out, / and /home so you may not end up forcing your hand into having ti maybe lose whatever is in our home dir. that said.
switching to Unstable to keep it "easier" to install and update, whatever you want latest and greatest, put (most) everything into unstable mode
you can/should be able to just keep stable, then install "3rd" party latest and greatest. the thing you end up doing it putting the responsibility into your own hands to keep it updated. the dependencies then may cause an issue due to other software needing the same, that is a case by case, from deb files and even if you go old school down to compiling from source then installing it.
It is such a weird concept to me. Having to wait until my OS is updated before I can use new revisions of software. I'd like to understand more about how this works and why it works, Linux side. Is there any specific subject I should be looking into or searching for? I really need to find me a solid book on Linux itself. Not just a newbie introduction book, but something that really explains how it is put together and how it works. I'd like to understand more than just how Linux differs from Windows, you know? Thanks so much for the solid article reference descendant_command ^_-.
This article is responding to the rise of “universal packaging” (snap, flatpak, appimage etc.) but along the way gives a good explanation of the reasons for “so many” different distro’s and the way software is, well, distributed.
It is such a weird concept to me. Having to wait until my OS is updated before I can use new revisions of software. I'd like to understand more about how this works and why it works, Linux side.
It is like buying an automobile. All the parts are tested to work together as a stable and reliable whole. If you buy a 2018 Toyota Corolla, and keep up with the recommended maintenance, your 2018 Corolla will continue to be a safe and reliable car for many years to come. Imagine that the new 2019 Corolla comes with the option of a turbo-charged V8 engine and leather seats. When you bring your 2018 Corolla in for an oil change, the mechanic doesn't swap your engine with a V8 and replace your seats with the leather version! Rather, they change the oil, fluids, and filters that are necessary to keep your 2018 Corolla running reliably, as it is. The driving experience is consistent and does not change over time.
Stable Linux releases are like that.
There is also a type of Linux called "rolling release" that might be more your style. Rolling release distros are constantly updated with the latest stuff. It's kind of like bringing your car to the mechanic, and they send you home with a very different car, every part upgraded to the latest available version. Debian Unstable and Arch Linux are popular examples of the rolling release model.
There is only one safe way of updating an application beyond what your distro provides and that is to download the source code and build it locally. That will ensure that it links correctly to all the system versions of the libraries it needs. But then you are responsible for keeping it up to date forever after because your package manager won't know it's there.
Notice that I say an application. You can't do that kind of thing with a library because other packages might depend on that same library and not be compatible with the new version.
But what we are really dealing with here is an incompatibility between a user's mindset and the philosophy of a particular distro. That is precisely why there are so many different kinds of Linux. Debian Stable only changes every two years, so a lot of the software it contains is seriously out of date. It was designed for people like me who want reliability, not "bleeding edge" software that often breaks.
Your temperament is quite different. You want to have the latest stuff so Debian Unstable (Sid) or Arch or Fedora would probably be better for you. My advice to you would be to upgrade to Unstable for the time being, but not add any software from outside. You'll be getting more up-to-date versions of all your packages anyway. Some of them will be buggy, but at least they will all be guaranteed to be mutually compatible. And what you have learned already will still be applicable because it's still Debian. If you switch to Arch, you'll have to learn a new package manager and other tools. That may be where your future lies but Sid would still be a good stepping stone.
And by the way, the advice to have a separate home partition for your personal data is very good.
archlinux updates are curated: they are tested before comimg into the pool. "controlled rolling" one might call it.
afaik, debian unstable does NOT do that - upstream updates just come straight in.
please correct me if i'm wrong.
My observation is that Arch typically gets new packages sooner than Debian Unstable. For example (according to Distrowatch) Arch currently has 4.18 kernel, while Debian has 4.17; Arch has PHP 7.2.9 while Debian is still at 7.2, and so forth. From that perspective, there is an argument that Debian Unstable might be "more stable" than Arch.
(Note that the word "unstable" in this case refers to "frequency of change," not the layman's definition of "unreliable and buggy.")
You may be thinking of Debian Experimental, which is even less stable than Debian Unstable. That's where you'd find 4.18 kernel, for example. https://wiki.debian.org/DebianExperimental
The main difference between Unstable and Experimental is that in Experimental there is no guarantee that packages will even be compatible. You can break your system by using the Experimental repos and you won't get much sympathy if you complain.
With Unstable, you won't break your system but individual packages may crash or behave badly. You are expected to report any bugs you find and play your part in helping to fix them.
Void linux, and Manjaro (arch) Linux are two more distiros that are rolling releases, not that hard to maintain, OP could too look into how to create his own deb files from source code, then install as deb for a little easier maintenance.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.