Debian modifications needed before FreeLCS installation

Debian 7 support was added in FreeLCS version 3.0.  Earlier Debian versions have not been tested, they may or may not work. 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 7.2.0 _Wheezy_ - Official i386 DVD Binary-1 20131012-12:56]/ wheezy contrib main

# deb cdrom:[Debian GNU/Linux 7.2.0 _Wheezy_ - Official i386 DVD Binary-1 20131012-12:56]/ wheezy contrib main



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 root
apt-get -y install sudo

adduser   john   sudo

Debian 8:

# deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-1 20150425-12:54]/ jessie contrib main

deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib

deb http://ftp.fi.debian.org/debian/ jessie main
deb-src http://ftp.fi.debian.org/debian/ jessie main
deb http://ftp.fi.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.fi.debian.org/debian/ jessie-updates main contrib

# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ jessie-updates main contrib
# deb-src http://ftp.debian.org/debian/ jessie-updates main contrib

Debian 7:

# deb cdrom:[Debian GNU/Linux 7.2.0 _Wheezy_ - Official i386 DVD Binary-1 20131012-12:56]/ wheezy contrib main

deb http://ftp.fi.debian.org/debian/ wheezy main
deb-src http://ftp.fi.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
deb http://ftp.fi.debian.org/debian/ wheezy-updates main contrib
deb-src http://ftp.fi.debian.org/debian/ wheezy-updates main contrib


Load kernel module brd

sudo modprobe brd

sudo nano -w /etc/modules

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 locale

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.

sudo dpkg-reconfigure locales









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



Fixing history graphics file fonts

If you did not install a graphical desktop during Debian install, then the font used to create text on FreeLCS history graphics files is missing. When the font is missing gnuplot uses an ugly default font which includes only english characters and not any special characters used in other European languages.

Install liberation fonts:  sudo apt-get install fonts-liberation

Next create a link to the font that is used when FreeLCS creates history graphics files:

sudo  ln   /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf   /usr/share/fonts/truetype/arial.ttf