A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: front/Model_main.php

Line Number: 35

Backtrace:

File: /var/www/html/application/models/front/Model_main.php
Line: 35
Function: _error_handler

File: /var/www/html/application/controllers/Home.php
Line: 1292
Function: init

File: /var/www/html/index.php
Line: 315
Function: require_once

ICOP Technology Inc. - [Technical tips] How to Install Non-Free Packages on Debian12
cancel

[Technical tips] How to Install Non-Free Packages on Debian12

2025-05-29

Debian is a widely used Linux distribution that prioritizes free and open-source software. However, some users need non-free packages, such as proprietary drivers or firmware, to get their hardware fully working.
In this guide, we’ll walk through the correct and safe way to enable non-free repositories and install non-free packages, using su to switch to the root user (instead of sudo).

What Are Non-Free Packages?

“Non-free” in Debian refers to software that does not comply with the Debian Free Software Guidelines (DFSG). These packages may be required for:

  • Proprietary Wi-Fi or Ethernet drivers
  • GPU drivers (e.g., NVIDIA)
  • Firmware for wireless cards or Bluetooth
  • Multimedia codecs

Step 1: Switch to the Root User

Debian does not include sudo by default on all systems. If sudo is not available or doesn't work, you should switch to the root account using:

su

Then enter the root password when prompted.

 

Step 2: Edit the sources.list File

Once you're logged in as root, open the APT source list using an editor. If nano works on your system:

nano /etc/apt/sources.list

Step 3: Add contrib, non-free, and non-free-firmware

Modify each line to include the following components:

contrib non-free non-free-firmware

For example, change this:

deb http://deb.debian.org/debian bookworm main

To this:

deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware

Step 4: Update the Package List

Still as root, run:

apt update

This refreshes your package index so it can find non-free packages.

Step 5: Install a Non-Free Package

Now that non-free repositories are enabled, you can install packages such as:

apt install firmware-realtek

EB-3362-L2C2

Main features of EB-3362-L2C2:

  • DM&P 32-bit x86 Vortex86DX3 Dual Core 1.0GHz SoC
  • 2GB DDR3-1600MHz onboard
  • SD card slot x1 (SD, SDXC), 1 Gbps LAN x1, 10 / 100 Mbps LAN x1, USB x4 (Front x2, Rear x1, Internal x1), Line out x1, RS-232 x2
  • Auto Power On support
  • PXE Diskless boot support
  • DC +8V ~ +24V
  • Operation Temperature: 0~+60°C

For more info and sample request, please write to info@icop.com.tw, call your nearest ICOP Branch, or contact our Worldwide Official Distributor.

Δ