>
~$linuxier
Read the blog
~$ home /Debian

Debian

Debian is the quiet workhorse under half the internet — the base that Ubuntu, Raspberry Pi OS and countless appliances are built on. Its promise is boring in the best way: pick the stable branch, and packages you install today keep behaving the same for years, through security updates that never break your setup. This track is about working with that grain — finding software with apt, wiring up your sources.list, and managing the users who log in — so a Debian box stays predictable long after you've forgotten how you set it up.

debian guides

Start where Debian starts: packages.

Almost everything you do on Debian passes through apt and the repositories it reads. These guides cover the search-and-install loop and the command-line footing it stands on.

apt-search.sh
$ apt search --names-only postgresql
# find the exact package before you install
Debian · Packages

How to Use apt search to Find a Package

The Debian package archive holds tens of thousands of names. Learn seven ways to search it precisely so you install the right thing, not a lookalike.

read the guide →
command-line.sh
$ sudo nano /etc/apt/sources.list
# every Debian task starts at the shell
Foundations

How to Use the Command Line on Linux

Editing sources.list, running apt, adding a user — all of it lives in the terminal. Build the muscle memory Debian assumes you already have.

read the guide →
repos.sh
$ apt-cache policy nginx # which repo will this come from?
Repositories

Reading Your sources.list & Repositories

Understand main, contrib and non-free, why apt update matters, and how to see exactly which repository a package will be pulled from.

read the guide →
what you'll learn

A Debian box you
can trust for years.

01
apt, end to endSearch, inspect, install and remove packages cleanly — and know the difference between apt and the older apt-get.
02
Repositories & sources.listWire up main, contrib and non-free, add a signed third-party repo, and always run apt update before you install.
03
Users & permissionsCreate accounts with adduser, grant sudo through the right group, and keep root reserved for when it's truly needed.
04
Stability by designWhy the stable branch changes slowly on purpose, and how apt upgrade keeps you patched without surprises.
the debian mindset

Slow is a feature, not a bug.

What makes Debian feel different once you've lived on it for a while — and where each idea shows up on the command line.

Stable, testing, unstable

Debian ships in tracks. Stable (Bookworm) is frozen and only gets security fixes — ideal for servers. Testing and unstable (Sid) move fast for people who want the newest packages. Choosing the branch is the single biggest decision you make, and it's written right into your sources.list.

One tool for packages: apt

Where other systems scatter package logic across many commands, Debian funnels it through apt. Search with apt search, inspect with apt show, install with apt install, and remove leftovers with apt autoremove. Master that handful and you can manage any Debian machine.

Tip: Always run sudo apt update before apt install. It refreshes the package index from your repositories so apt resolves the current version — skipping it is the most common reason an install "can't find" a package that clearly exists.

AltStyle によって変換されたページ (->オリジナル) /