LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-13-2016, 09:15 AM   #1
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Rep: Reputation: 50
New debian jessie install - need to configure for non-free hardware


I have installed debian and now need to add contrib and non-free to some file.
I have done this a few times before but now I have completely forgotten these simple steps.
I've trawled through my previous threads but can't find the right one.

Essentially, I need to add contrib and non-free to a file, then install linux non-free from the repos, install pavucontrol and change the soundcard setting (so my non-free radeon soundcard will work).
It's a bit trivial, but can someone please help?
 
Old 11-13-2016, 09:25 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
You need to add their URLs to the file /etc/apt/sources. I think Debian Wiki is the goto for this sort of question.
 
Old 11-13-2016, 09:28 AM   #3
huitzilopochtli
LQ Newbie
 
Registered: Apr 2004
Location: Europe
Distribution: mostly Debian
Posts: 4

Rep: Reputation: 1
you may want to add 'contrib' and 'non-free' to your /etc/apt/sources.list
e.g. - this is from my sources.list-file, using a mirror in germany:
Quote:
deb http://ftp-stud.hs-esslingen.de/debian/ jessie main non-free contrib
deb-src http://ftp-stud.hs-esslingen.de/debian/ jessie main non-free contrib

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
than run 'sudo apt-get update'

Last edited by huitzilopochtli; 11-13-2016 at 09:29 AM.
 
1 members found this post helpful.
Old 11-13-2016, 09:31 AM   #4
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by hazel View Post
You need to add their URLs to the file /etc/apt/sources. I think Debian Wiki is the goto for this sort of question.
Oh please God, not the debian wiki!
 
Old 11-13-2016, 11:04 AM   #5
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by Higgsboson View Post
Oh please God, not the debian wiki!
Why not? It's a treasure trove of information. If you do a search on duckduckgo for a GNU/Linux related problem, I'd be surprised if among your first hits were not two sources:

- The Debian Wiki
- The Arch Wiki

Both are indispensable, and for the most part the information within both can be applied to any distro.

Related to the OP, typically on any new install I do a

Code:
sed -i 's/\bmain\b/& contrib non-free/g' /etc/apt/sources.list
The good news is that in the newest D-I it actually asks if one wants to enable non-free repos and doing this manually after installation is no longer required.

Last edited by goumba; 11-13-2016 at 11:16 AM.
 
1 members found this post helpful.
Old 11-13-2016, 12:47 PM   #6
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by huitzilopochtli View Post
you may want to add 'contrib' and 'non-free' to your /etc/apt/sources.list
e.g. - this is from my sources.list-file, using a mirror in germany:


than run 'sudo apt-get update'
Thank you, that is exactly what I was looking for!
 
2 members found this post helpful.
Old 11-13-2016, 01:24 PM   #7
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by goumba View Post
Why not? It's a treasure trove of information. If you do a search on duckduckgo for a GNU/Linux related problem, I'd be surprised if among your first hits were not two sources:

- The Debian Wiki
- The Arch Wiki
The Arch Wiki is certainly very well written.

Quote:
The good news is that in the newest D-I it actually asks if one wants to enable non-free repos and doing this manually after installation is no longer required.
Wow, this will stop immediate problems after a debian install onto most home desktops.
Who thought of that idea? I hope the person is still alive.

The default debian OS is configured for main and contrib on /etc/apt/sources.list.
So if you don't have an Intel cpu with further debian-friendly hardware - then you will experience a world of hurt.
I have even opened a thread asking what hardware I need to use debian out of the box - and no-one knew!

Of course, main, contrib and non-free are good principles. And they should be upheld.
But if I install debian, then I want it to work first and then ask questions later.
 
Old 11-13-2016, 07:35 PM   #8
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by Higgsboson View Post
The default debian OS is configured for main and contrib on /etc/apt/sources.list.
So if you don't have an Intel cpu with further debian-friendly hardware - then you will experience a world of hurt.
I have even opened a thread asking what hardware I need to use debian out of the box - and no-one knew!

Of course, main, contrib and non-free are good principles. And they should be upheld.
But if I install debian, then I want it to work first and then ask questions later.
Because it's pretty much the same hardware as any other distribution. What you consider out of the box, others may not think it so big an issue of adding that repo and fitting the "out of the box" requirement. You had to add a repo, which is far better than the hardware not be supposrted all. To some here, that would fit into the category of not working out of the box.

There's a reason non-free is not enabled by default. It's a philosophical one, but one nonetheless. You're free to use any distro you like if you don't agree with their philosophy. There are other distros that impose different restrictions due to other reasons decided by the heads of that distro, it's unfortunately a part of the ecosystem you'll have to deal with as you use Linux.

Last edited by goumba; 11-13-2016 at 07:39 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to provide non-free firmware files to the Debian Jessie Installer. luvr Debian 39 01-20-2022 04:16 AM
LXer: How to install and configure vsftpd with TLS on Debian 8 (Jessie) LXer Syndicated Linux News 0 01-15-2016 06:03 PM
LXer: How to install and configure ZFS on Linux using Debian Jessie 8.1 LXer Syndicated Linux News 0 12-09-2015 03:54 PM
Trying to install Code::Blocks on Debian Jessie Lord Northern Linux - Newbie 11 12-30-2014 09:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration