Debian 9 'Stretch' Desktop System Setup


Guided. Use entire disk with encrypted LVM. This creates a LUKS device (/dev/dm-0). Create a separate /home partition (it chooses 10 GB).

When prompted for what to install (by tasksel), keep the defaults and::

Update The System

("Update", AKA GNOME Software, should be installed but if not then install the package "gnome-software".)

Run Update and install all the updates that have been released since this version of Debian was released. You may need to reboot afterwards if a newer Linux kernel was installed.

Update won't remove old Linux kernels, to do this you need to instead use Synaptic Package Manager (under 'Installed (auto removable)') or apt-get.

# update-pciids

Additional Repositories

Synaptic > Settings > Repositories (or use the stand-alone program 'Software and updates')

Remove the flash drive 'CD-ROM' from the list

Stretch Backports


Distribution: stretch-backports

Section(s): main

Add Software

Packages Recommended For Desktop Systems - Free

Install the following:

(firefox-esr is already installed by default.)

Non-Free Packages

You may need to add non-free to /etc/apt/sources.list for laptops that require binary blobs, for example for wireless adapters.

Note that we've chosen not to install flashplugin-nonfree and codecs for a wide array of audio and video formats.

Optionally install the following:

Optional - Other Software

Automatic Updates

Run Software & Updates → Updates →

(The Software & Updates program is actually called software-properties-gtk and should have installed by default.)

User Accounts

Add any users that require it to "sudoers" so they can perform administrative tasks (when this has been done, Synaptic will henceforth ask for this user's password rather than root's):
# su -
# adduser <USERNAME> sudo

Per-User Setup

Each person should install Adblock Plus from into their own Firefox (rather than install it once on each PC, centrally, from Debian repositories, because that version is updated too infrequently). Not only does Adblock Plus prevent you seeing many advertisements, it blocks an important attack vector used to distribute malware.