
Don't Break Debian - Debian vs Ubuntu - Setup APT for Debian - Chris Titus Tech
video description
Date: 2022-03-20
Related videos
Comments and reviews: 10
madd_step
On ANY Debian based system - it's good practice to keep third party PPAs in /etc/apt/sources.list.d/ leave sources.list for system repos. This logically separates PPAs for better toubleshooting when you have 400+ external repos. It also offers better application support since this is standardized for APIs. Red Hat even follows a similar practice for RHEL - you add all the third-party repos to /etc/yum.repos.d/ and you should never add them to yum.conf. But in the case of RHEL - Red Hat even puts the base repos in yum.repos.d since yum.conf does more than repo management unlike sources.list in Debian.
Binary compatibility between Ubuntu and Debian is actually better than most expect and sometimes Ubuntu just uses the raw Debian binaries and just repackages them into their own repos (this is why Ubuntu is called a downstream distro). The issue really comes in when installing VERY large applications with A LOT of dependencies if even one of those dependencies are compiled differently per system you can run into compatibility issues and end up in manual dependency resolution hell. If you are this much of a glutton for punishment I recommend SlackWare.
reply
On ANY Debian based system - it's good practice to keep third party PPAs in /etc/apt/sources.list.d/ leave sources.list for system repos. This logically separates PPAs for better toubleshooting when you have 400+ external repos. It also offers better application support since this is standardized for APIs. Red Hat even follows a similar practice for RHEL - you add all the third-party repos to /etc/yum.repos.d/ and you should never add them to yum.conf. But in the case of RHEL - Red Hat even puts the base repos in yum.repos.d since yum.conf does more than repo management unlike sources.list in Debian.
Binary compatibility between Ubuntu and Debian is actually better than most expect and sometimes Ubuntu just uses the raw Debian binaries and just repackages them into their own repos (this is why Ubuntu is called a downstream distro). The issue really comes in when installing VERY large applications with A LOT of dependencies if even one of those dependencies are compiled differently per system you can run into compatibility issues and end up in manual dependency resolution hell. If you are this much of a glutton for punishment I recommend SlackWare.
reply
The
I'm sorry, but what am I missing here? That advice regarding sudo doesn't make any sense and is terrible advice as far as I understand it, so I must be missing something.
In short, to allow a user to gain root acces via sudo, add said user to group 'sudo', just as in arch, except there it would be group 'wheel'. You may or may not need to create the group.
Next up, to configure the sudo command, i.e. sudoers file, if needed, use command 'visudo' to avoid rather nasty issues you might run into.
It's all perfectly well documented online to a point where I dare say if you do a search for 'sudo' in any search engine, the top result will give you all the information you could every need regarding the subject.
reply
I'm sorry, but what am I missing here? That advice regarding sudo doesn't make any sense and is terrible advice as far as I understand it, so I must be missing something.
In short, to allow a user to gain root acces via sudo, add said user to group 'sudo', just as in arch, except there it would be group 'wheel'. You may or may not need to create the group.
Next up, to configure the sudo command, i.e. sudoers file, if needed, use command 'visudo' to avoid rather nasty issues you might run into.
It's all perfectly well documented online to a point where I dare say if you do a search for 'sudo' in any search engine, the top result will give you all the information you could every need regarding the subject.
reply
wheels5894
Ah, the sudo thing. I am more or less a newbie on Linux. However, I decided to follow you and try out Debian and see how it went. I have Debian 9 by the way.
When I failed with 'sudo' on the first thing I needed to do, the message was fairly straightforward. so I started with 'su' and that works fine as working as root means no more passwords for each command! However, what would be the proper way to do it?
I have found the Debian sources had everything I wanted in software so I have a very stable system. I'm interested in Debianj 10, though, so might jump in some time in the future.
reply
Ah, the sudo thing. I am more or less a newbie on Linux. However, I decided to follow you and try out Debian and see how it went. I have Debian 9 by the way.
When I failed with 'sudo' on the first thing I needed to do, the message was fairly straightforward. so I started with 'su' and that works fine as working as root means no more passwords for each command! However, what would be the proper way to do it?
I have found the Debian sources had everything I wanted in software so I have a very stable system. I'm interested in Debianj 10, though, so might jump in some time in the future.
reply
Gary
I hate sudo. It creates an additional layer to pass commands through, adding complexity to commands that can already be complex, requiring use of parameters and other BASH programming tricks in many circumstances. Meaning despite the claimed -ease- you actually need to be more of a Linux grognard to use sudo than su or a true root environment. Also, I find that having separate user and root passwords enforces the mindset necessary when doing actual system-level work, aka -My password, my personal stuff; root password, shit just got _real...-
reply
I hate sudo. It creates an additional layer to pass commands through, adding complexity to commands that can already be complex, requiring use of parameters and other BASH programming tricks in many circumstances. Meaning despite the claimed -ease- you actually need to be more of a Linux grognard to use sudo than su or a true root environment. Also, I find that having separate user and root passwords enforces the mindset necessary when doing actual system-level work, aka -My password, my personal stuff; root password, shit just got _real...-
reply
Josh
I would try debian if you would make a debian testing xfce net install video. Every time I try to install it says I don't have the intel 8260 wireless firmware. I HAVE to use wifi to install arch and everything is fine but with debian well why oh why would they not include one of the most used intel wireless cards firmware. I been using Arch for two years and have only 2 problems and a proper backup IS the fix period so if people can't back up then they don't even need to use Linux.
reply
I would try debian if you would make a debian testing xfce net install video. Every time I try to install it says I don't have the intel 8260 wireless firmware. I HAVE to use wifi to install arch and everything is fine but with debian well why oh why would they not include one of the most used intel wireless cards firmware. I been using Arch for two years and have only 2 problems and a proper backup IS the fix period so if people can't back up then they don't even need to use Linux.
reply
jezzermeii
I think the reason why Debian doesn't allow you to use your own user as sudo by default is because a lot of Debian installations are on server or enterprise setups. In that kind of scenario, allowing a user to be able to become superuser would be very dangerous. I think it should be made clearer during the install however, as more people are beginning to switch to Linux and it is almost universal in all other distros that your user can become the superuser.
reply
I think the reason why Debian doesn't allow you to use your own user as sudo by default is because a lot of Debian installations are on server or enterprise setups. In that kind of scenario, allowing a user to be able to become superuser would be very dangerous. I think it should be made clearer during the install however, as more people are beginning to switch to Linux and it is almost universal in all other distros that your user can become the superuser.
reply
Tyler
My main OS is macOS, but I always like to experiment with Linux in a virtual machine now and again. I'd had Ubuntu installed for a long time and then just recently (yesterday) installed Debian as well and I'm already loving it. It feels very stable and I find this sources.list method for app management fascinating. A really cool change of pace. I'm a big fan of your videos Titus, I can't get enough of the Linux content! Keep up the awesome work!
reply
My main OS is macOS, but I always like to experiment with Linux in a virtual machine now and again. I'd had Ubuntu installed for a long time and then just recently (yesterday) installed Debian as well and I'm already loving it. It feels very stable and I find this sources.list method for app management fascinating. A really cool change of pace. I'm a big fan of your videos Titus, I can't get enough of the Linux content! Keep up the awesome work!
reply
Nadun
Hey I got some serious problems when installing Debian on my Laptop as Dual Boot ASUS Vivobook PRO N580GD. Debian Installer does not detect my Wifi Hardware and when Installing and After installing The Debian Wifi and My Touchpad is not working. I have installed some drivers but it didn't work for me. Now I'm Using Fedora with dual boot with windows. But i Love to Use debian. If you Could give a solution for my problem that will be great!.
reply
Hey I got some serious problems when installing Debian on my Laptop as Dual Boot ASUS Vivobook PRO N580GD. Debian Installer does not detect my Wifi Hardware and when Installing and After installing The Debian Wifi and My Touchpad is not working. I have installed some drivers but it didn't work for me. Now I'm Using Fedora with dual boot with windows. But i Love to Use debian. If you Could give a solution for my problem that will be great!.
reply
richard
Can I get some help Chris? I have add and learning disabilities. I need certain software that is available in Ubuntu. How much does it suck that debian and Ubuntu both use. Deb files but they aren't compatible with each other? I love how debian didn't break wine or playonlinux. Like Ubuntu 18.04 did. 16.04 worked fine with wine and playonlinux. Now nearly a year later wine and playonlinux are still busted in Ubuntu 18.04.
reply
Can I get some help Chris? I have add and learning disabilities. I need certain software that is available in Ubuntu. How much does it suck that debian and Ubuntu both use. Deb files but they aren't compatible with each other? I love how debian didn't break wine or playonlinux. Like Ubuntu 18.04 did. 16.04 worked fine with wine and playonlinux. Now nearly a year later wine and playonlinux are still busted in Ubuntu 18.04.
reply
James
By showing Debian, you can see why Linux Desktop has not been mainstream for the last 20 years, it's just frustration with minor details. Days and days just to get it to work. Thank goodness the Distros came along. And then Distros based on other Distros to get something -out the box- to work. It's been a long road!
reply
By showing Debian, you can see why Linux Desktop has not been mainstream for the last 20 years, it's just frustration with minor details. Days and days just to get it to work. Thank goodness the Distros came along. And then Distros based on other Distros to get something -out the box- to work. It's been a long road!
reply
Add a review, comment















