How to install Backports in Debian/Ubuntu/Mint

Поділитися
Вставка
  • Опубліковано 21 вер 2020
  • Here's how to use backports to easily get newer software in Debian and Debian-based distros, including installing the latest kernel. This leaves you with a nice stable distro and the ability to pick which newer versions of software you'd like to use!
    Support my channel with Patreon : / doriandotslash
    MrGamer (@AndreasRohdin): / gamermachine
  • Наука та технологія

КОМЕНТАРІ • 75

  • @HellcatM
    @HellcatM 3 роки тому +2

    That was very helpful! I've watched many videos on Linux and never heard anything about Backports. Thanks for the video!

  • @MrIncrediculous
    @MrIncrediculous 3 роки тому +1

    Thank you for making this! Very well put together.

  • @mauc1833
    @mauc1833 3 роки тому +8

    Best channel to keep myself updated !

    • @Doriandotslash
      @Doriandotslash  3 роки тому +2

      Thank you very much :)

    • @TheGagi82
      @TheGagi82 3 роки тому

      @@Doriandotslash Great video but can you show me how to upgrade my buster version to bullseye? Thanks ahead

    • @Doriandotslash
      @Doriandotslash  3 роки тому +1

      @@TheGagi82 Sorry I missed this comment when you posted You can edit your /etc/apt/sources.list and change everywhere that says buster to bullseye. Save it, and run 'sudo apt update', then 'sudo apt full-upgrade'. Once that's all done, restart and you should be running Bullseye! Make sure you do backups before you do this if you want to keep anything, just in case anything goes wrong.

    • @TheGagi82
      @TheGagi82 3 роки тому +1

      @@Doriandotslash thank you already upgraded to bullseye

  • @mika8145
    @mika8145 3 роки тому +2

    Very helpful! With this running Debian seems like a possibility for me. You did mention about updating the GNOME desktop. If that works it would be great because a lot of people have said that the newer GNOME versions have significantly better performance than the older ones, such as the quite old 3.30 that is the default on Debian it seems. Cheers!

    • @Doriandotslash
      @Doriandotslash  3 роки тому

      Thanks! Gnome can be updated yes, or you can just run the Bullseye repos to get the newest Gnome (3.36). But to be honest, I still run Gnome 3.30 and it runs very well. No issues at all. Remember that Debian uses the most stable packages, not the newest one. It's all about stability.

  • @cyberagent009
    @cyberagent009 3 роки тому +1

    Thanks for the informative video.

  • @johnsmith7510
    @johnsmith7510 3 роки тому

    Thanks! This was very helpful.

  • @eskpados
    @eskpados 3 роки тому +3

    Nice video Dorian, just as a reminder, testing repos are very unstable, do a snapshot of your system before modify/install something. Thumbs up dude.

    • @Doriandotslash
      @Doriandotslash  3 роки тому +2

      Thanks Julio! But I should clear something up though. Testing repos are not unstable at all. I used the Buster testing repo for a very long time via Q4OS and never had issues. There may be small issues, but nothing drastic. Now unstable/sid branch is different. Further, the backports repo is even more stable than testing because it's tested by compiling on a stable system. If for some reason your backport package has a bug, it won't affect the rest of your system. You can simply remove it and reinstall the stable version, or wait until a fix is pushed.

  • @rectify2003
    @rectify2003 3 роки тому +1

    You make Linux look such fun and enjoyable
    Thankyou

  • @borisvukcevic1454
    @borisvukcevic1454 3 роки тому +1

    I agree with the other 2 comments. Overall, very thorough and to the point.

    • @Doriandotslash
      @Doriandotslash  3 роки тому

      Thank you :)

    • @borisvukcevic1454
      @borisvukcevic1454 3 роки тому

      @@Doriandotslash You're very welcome, thanks for making the video's. Im really enjoying it and Im learning something without having to do it myself.

  • @TheGagi82
    @TheGagi82 3 роки тому

    Best explanation i ever saw in a video

  • @TJWolf
    @TJWolf 3 роки тому

    Thanks Dorian. I'm thinking of going to debian also i'm not real good with debian so thanks this helps me out.

    • @Doriandotslash
      @Doriandotslash  3 роки тому +1

      That’s great to hear that you’re trying out Debian. It’s a great distro, and one of the originals.

  • @pctlc
    @pctlc 3 роки тому

    Great video mate!! very informative!

  • @gokul6041
    @gokul6041 3 роки тому

    Thankyou a lot.... This help me a lot... I have an Nvidia graphics... So going to try this..

  • @ZapsterZatoo
    @ZapsterZatoo 3 роки тому

    Thanks, very interesting

  • @petitio_principii
    @petitio_principii 3 роки тому

    One would also like to add linux-headers when updating the kernel, so to compile those DKMS modules, in case one has them.

  • @timskiio
    @timskiio 3 роки тому

    Love the background image on your desktop. Mind linking to it? Thank you in advance! Great video!

    • @Doriandotslash
      @Doriandotslash  3 роки тому +1

      Here you go : getwallpapers.com/wallpaper/full/a/f/5/26140.jpg

    • @timskiio
      @timskiio 3 роки тому

      You're the man 💯!

  • @rmcellig
    @rmcellig 3 роки тому

    Love this video. Did you just installed Debian Buster from the debian net install iso and then select gnome as your desktop environment?

    • @Doriandotslash
      @Doriandotslash  3 роки тому

      No but I have done that before. However, for this install I used the Gnome Live ISO and installed from there using the Calamares installer.

    • @rmcellig
      @rmcellig 3 роки тому

      @@Doriandotslash is the gnome iso still in testing or has it officially been released? How is it working out for you? Pretty stable?

  • @priteshugrankar6815
    @priteshugrankar6815 3 роки тому +3

    Debian with backports is a Godsend. The kernel is at times at a higher version with backports enabled than the Debian derivatives. Stability thy name is Debian.

    • @Doriandotslash
      @Doriandotslash  3 роки тому +3

      Yes, I believe Ubuntu's 20.04 runs kernel 5.4. I'm on 5.7 with Debian 10's backports :) Although if you enable backports in Ubuntu, they likely have 5.7 as well.

    • @priteshugrankar6815
      @priteshugrankar6815 3 роки тому +1

      @@Doriandotslash Ubuntu has given me a lot of headache in the past. Debian feels like a polar opposite in a good way.

    • @priteshugrankar6815
      @priteshugrankar6815 3 роки тому +1

      @@douglasward718 with all due respect, Debian repositories are far better than ppa. 🙏

    • @priteshugrankar6815
      @priteshugrankar6815 3 роки тому

      @@douglasward718 sorry, my brain was out for a stroll when I wrote that. My bad. 👍

  • @briansrcadventures1316
    @briansrcadventures1316 3 роки тому +3

    Interesting! Certainly seems easier than relying on ppas.

  • @daol03
    @daol03 3 роки тому +2

    if you get tired of using the gtk2 version of libreoffice. you can install libreoffice-gtk3 to get the gtk3 version instead :)

  • @estudiordl
    @estudiordl 3 роки тому

    Nice, didn't known about this option. This didn't mess the regular updates then? Only use backports install on demand?

    • @Doriandotslash
      @Doriandotslash  3 роки тому

      Correct. It will only install from backports if you tell it to.

  • @tranghung9644
    @tranghung9644 2 роки тому

    Thanks so much for your video. I have an urgent problem would like you to help: I'm running ubuntu 18.04 which uses kernel 4.15.0. Because there is a bug in a kernel module (TIPC) and I don't want to upgrade the whole kernel, so I need to backport it (TIPC module) from kernel 5.2.9 to 4.15.0. How should I do? Appreciate your help.

  • @roembol
    @roembol 3 роки тому

    Hi, this is unrelated to this content but I just wanted to ask, is there a way to make your current Linux installation (for example a very lightweight tool) work like a live usb? Like so you have all the tools you usually use inside of a very lightweight live usb that you can take anywhere. If there is, maybe it’s a cool idea for a video?

    • @Doriandotslash
      @Doriandotslash  3 роки тому

      You can just use any Live ISO on a USB for this couldn't you? If you want something to save on, some distros support persistence on Live USB sticks.

  • @Codename1Alice8
    @Codename1Alice8 3 роки тому

    How much maintainer have debian linux? More than ubuntu or opensuse? That's very interesting. 🤔

  • @marcello4258
    @marcello4258 3 роки тому

    thanks! the only reason i do use a ubuntu based OS is that the kernel is newer and the nvidia drivers.. if this is the only reason would you recommend to switch back to good old debian and pull the kernel and nvidia drivers from the backports? applications are most of the times used in flatpaks here anyway.. btw as of today i just got (tried in a vm) 5.10.0 but the LTS already ist at 5.10.39.. did I do smth wrong?)

    • @Doriandotslash
      @Doriandotslash  3 роки тому

      That's something you might want to test out yourself by dualbooting first. Nvidia driver versions have always annoyed me with how one version works then breaks with the next. Not long ago I actually switched my systems over to AMD so I don't have to deal with drivers anymore.

    • @marcello4258
      @marcello4258 3 роки тому

      @@Doriandotslash yea i would also prefer amd over nvidia but it is hard to get anythin from amd especially when it comes to notebooks i need a new for half a year now so i guess i have to go with one comin with a nvidia chipset - again

  • @polgzz
    @polgzz 3 роки тому

    Hey, I was about to try the backports for wireguard client, but it wants to change the kernel from the default to 5.9.0
    The thing is, I'm not using vanilla Debian here, but PureOS, with a free kernel (4.19.0.13). Do you think I may encounter many problems?

    • @Doriandotslash
      @Doriandotslash  3 роки тому

      As long as PureOS supports kernel 5.9 it should be fine. If you have issues, you could always select the old kernel in GRUB and then remove the new wireguard and kernel 5.9.

  • @AcidiFy574
    @AcidiFy574 3 роки тому

    so essentially the AUR for DEBIAN based distros
    the only thi g they're missing is a helper or a source based helper/package manager like emerge
    (from GENTOO)

    • @Doriandotslash
      @Doriandotslash  3 роки тому

      Not at all. AUR is a user repository. Backports are simply a different branch where the testing branch packages are recompiled on the stable branch. This way if you're using Debian Stable, you can use the newer packages if you choose to. These packages are still made by the same developers and maintainers.

    • @AcidiFy574
      @AcidiFy574 3 роки тому

      @@Doriandotslash it would be nice to have one though
      at least with that the arch fanboys can shut up for once
      I like arch but, sometimes the community man

    • @Doriandotslash
      @Doriandotslash  3 роки тому

      @@AcidiFy574 The community can indeed be harsh. Some of it is because they spend a lot of time writing documentation and WiKi entries to help people. So people come and ask for help before reading the documentation. As for the equivalent in Debian, they have PPA's for that. Individual repos where you can pull someone's software that they wrote which isn't in the official repos.

    • @AcidiFy574
      @AcidiFy574 3 роки тому

      @@Doriandotslash ah o.k.

  • @realtonestar4342
    @realtonestar4342 2 роки тому

    Noob here, but ive had some issues when running sudo commands in root. How am I supposed to know when to not run certain commands in root?

  • @subeesh444
    @subeesh444 3 роки тому

    Are we able to open raw drive in linux pls advice

    • @Doriandotslash
      @Doriandotslash  3 роки тому +1

      Yes you can. Disks and partitions can be accessed directly with root permissions. Everything in Linux is a file, including disks and partitions!

  • @TheGagi82
    @TheGagi82 3 роки тому +1

    People who talk bad about Debian don't know what is power of Linux

  • @diegomarquez3293
    @diegomarquez3293 3 роки тому

    Can I use Debian back ports on Ubuntu since it is a derivative of Debian

    • @brantregare
      @brantregare 3 роки тому

      This is unlikely to go well in the long run. Mixing Debian and Ubuntu is not a good idea. Ubuntu deviates far from Debian for every release. Your mileage may vary. Unless you are comfortable fixing broken packages and resolving circular dependencies do not go this route. Dorian makes it clear, that this is his way, to get away from the headache of a rolling distribution. That being said, I have been using Debian Sid since 1998. This is the unstable Debian release that means this is very like a rolling distribution. The only real issue for me is the clusterf*** that is the nvidia driver. When that breaks, and it will, (Sid is a rolling distribution after-all.) I have found that snapshot.debian.org/ is invaluable in getting my system back up. Snapshot holds every build of every Debian binary from as far back as 2005, including backports

    • @diegomarquez3293
      @diegomarquez3293 3 роки тому

      @@brantregare so how different are Ubuntu and Debian

    • @brantregare
      @brantregare 3 роки тому

      @@diegomarquez3293 I have only used already installed versions of Ubuntu, never installed and/or maintained one. However I have tried to use/maintain Ubuntu packages on my Debian machines. That has never been a pleasant experience. Often (80%) of the time, I have had to install Ubuntu versions of libraries, instead of the ones already in Debian repositories. They simply are not in sync. So you need to follow Debian and Ubuntu releases, and cherry pick for the packages that you have cross installed. hold package X, manually download and upgrade Y and, subsequently hold it. That is not seamless and a lot of work. I use enlightenment as my window manager, (note: not a desktop environment,) and only install the GTK and KDE components as needed for the applications that I use. I cannot comment on Gnome2/Gnome3/KDE/Plasma/Cinnamon/MATE desktop environments, I do not use them. That said the pain of cherry picking which Ubuntu binary to install on my Debian boxen has not been worth it for me. My advice is, if you use Debian do not mix with Ubuntu, unless, you know what you are doing and, have the time to do it. From the perspective of an Ubuntu user using Debian packages from Debian repositories, I can only speculate...
      Maybe I jumped the gun with my unlikely to go well comment. If you have time and, are willing to put in the effort, maybe it will work. So to answer your original question, "Can I use Debian back ports on Ubuntu since it is a derivative of Debian?" Very likely yes. Will this be easy to maintain? Very likely no.
      Dorian chose to try Debian for a reason. No hassle and, seamless updates to newer software with backports.

  • @BrunoRasera
    @BrunoRasera 3 роки тому

    Is this better then using Flatpaks?

    • @Doriandotslash
      @Doriandotslash  3 роки тому +1

      Bruno Rasera depends on how you look at it. Both are great. Flatpaks are well tested and work on any distro but can have limitations you may have to tweak, like accessing external drives or printing. Flatpaks are also sandboxed which is pretty safe. Backports are also well tested but Debian doesn’t consider them “stable”. You can’t go wrong either way, but I would try backports first.

    • @BrunoRasera
      @BrunoRasera 3 роки тому

      @@Doriandotslash Cool, ty :)

  • @davidson46100
    @davidson46100 3 роки тому

    I prefer stable releases. If I have a computer set up and running how I like it I don't want a new release to make significant changes. That is why I am an ex Windows user.

  • @animeisheaven
    @animeisheaven 3 роки тому

    Kde ??

    • @Doriandotslash
      @Doriandotslash  3 роки тому

      That is Gnome

    • @animeisheaven
      @animeisheaven 3 роки тому

      @@Doriandotslash so you install ? if yes.. do you change SATA mode from RAPID to AHCI

  • @ryanhaart
    @ryanhaart Рік тому

    contrary to the video title, this will NOT work in Ubuntu or Mint.