Debian modifications needed before FreeLCS installation

Debian support was added in FreeLCS version 3.0. Later Debian releases are also supported by FreeLCS.

Canonical builds its Ubuntu releases using Debian software packages. Therefore both of these Linux distributions have much in common, but also have some differences. Some small config changes must be made to Debian before FreeLCS can be installed and run.


Remove cd / dvd installation media from sources.list

su root

nano -w /etc/apt/sources.list

deb cdrom:[Debian GNU/Linux 13.0.0 _Trixie_ - Official amd64 NETINST with firmware 20250809-11:20]/ trixie contrib main non-free-firmware

#deb cdrom:[Debian GNU/Linux 13.0.0 _Trixie_ - Official amd64 NETINST with firmware 20250809-11:20]/ trixie contrib main non-free-firmware



Install the sudo - program and add user to the sudo group

FreeLCS uses the sudo - program to get root permissions during installation. If sudo is not available then FreeLCS installation fails.

Debian installs sudo if you selected the 'Desktop' - installation during Debian install process. To ensure that sudo is installed, try to reinstall it:
su -    (Starting with Debian 10 you need to get root permissions by: su -  or root-users path definitions may not be accessible and some commands might not be found)
apt-get -y install sudo

adduser   john   sudo

Debian 13:

#deb cdrom:[Debian GNU/Linux 13.0.0 _Trixie_ - Official amd64 NETINST with firmware 20250809-11:20]/ trixie contrib main non-free-firmware

deb http://deb.debian.org/debian/ trixie main non-free-firmware
deb-src http://deb.debian.org/debian/ trixie main non-free-firmware

deb http://security.debian.org/debian-security trixie-security main non-free-firmware
deb-src http://security.debian.org/debian-security trixie-security main non-free-firmware

# trixie-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ trixie-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ trixie-updates main non-free-firmware

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.


If you did not install a graphical desktop during Debian install, then you need to do two more modifications described below. If you did install a graphical desktop then you can go ahead with the normal FreeLCS install procedure described in the user manual :)


Fixing Debian / Ubuntu locale

Debian and Ubuntu 16.04 and newer locale can be fixed by using the method described below.
 
If you installed a graphical desktop during Debian installation, then your locale should be configured correctly, if not then you should configure it before FreeLCS installation. Locale error messages during program package installation stops the FreeLCS installer.

su -    (On debian)

sudo su (On Ubuntu)

dpkg-reconfigure locales









Now you need to log out and back in for the locale changes to take effect.


If you installed Debian graphical desktop then continue with normal install instructions here. If you didn't install a graphical desktop then follow the headless installation instructions here.