Debian installation
The installation on debian system is quite similar to the installation discussed in the
ubuntu/kubuntu part.
Read carefully all the Requirements and then proceed to the
installation.
Good luck!
Requirements
Theorically
Currently, until KDE4 packages aren't added to at least the unstable branch of the debian repositories, you might encounter some difficulty to install all the necessary kde4 packages that make the firewall work.
One of the major issues concerns the fact that it is currently not allowed to completely install KDE4 environment alongside KDE3 environment.
For this reason, one or more of the following apt-get install commands might not complete successfully. A solution is to completely remove the KDE3 installation, but this could not be what you want exactly.
Up to date information and help can be found in the Install KDE 4.0 packages from the Debian experimental branch
web page, maintained by the Debian KDE team.
Following the suggestions provided in that page, it should be possible to install all you need without any problem. The
procedure is anyway described below.
- Until the KDE4 environment is not added to the stable/testing or unstable debian distribution, you have to add to the software sources the repository that provides the experimental packages;
- install libqt4-core, libqt4-dev, libqt4-gui, on which iqfire-wall is based;
- install the kdelibs5 and kdelibs5-dev development files;
- install libqwt5-qt4 , libqwt5-qt4-dev, the libraries supporting the statistics plot, called Qwt - Qt Widgets for Technical Applications;
- install linux-headers-2.6.xx where 2.6.xx is the number of the version of the kernel installed. If you are unsure of which kernel you are running, just type on a terminal the command uname -r;
- If you have already configured the kernel sources or compiled a kernel of your own, eventually
downloaded from www.kernel.org, then you should find the kernel
sources inside the directory /usr/src, or wherever you downloaded and configured them.
In this case, the upper step is not necessary and you should have the kernel sources already suiting the ipfire-wall kernel module compilation needs. - Remember that ipfire-wall kernel module only works on kernels of the series 2.6.x, where x should also be greater than 18.
- ipfire-wall supports kernels up to 2.6.24, or as indicated in the IPFIRE-wall-xx.yy.zz/ipfi/readme.txt text file, which contains information about the latest changes.
- The previous steps should complete with success also if you have the KDE3 environment installed. What you still need is the
konsole for KDE4 and some other components for instance to make the Oxygen style
available to iqfire-wall.
These operations could currently present some problems if KDE3 is still installed in your system. As to the Install KDE 4.0 packages from the Debian experimental branch web page, maintained by the Debian KDE team: You can co-install along your KDE 3 packages the following KDE 4 packages: kdelibs5, kdepimlibs5, kdebase-runtime This is useful if you want to keep your KDE 3 enviroment but want to use a KDE 4 application like okular or even konsole. But remember KDE 4 apps will not integrate in your KDE 3 desktop so well as the current KDE 3 do.
Practically
Practically, you will need to edit a file and open a terminal to give some commands to setup the required packages mentioned above, if they are not already installed:
- become root executing su - and providing the root password;
- as root, open the file
/etc/apt/sources.list with your favourite text editor,
typically gedit or kwrite
or vim (a command line editor), and add the line
deb http://ftp.de.debian.org/debian/ experimental main non-free contrib.
Be sure also to have the line:
deb http://ftp.de.debian.org/debian/ unstable main non-free contrib,
in the same file.
To get some more information, one might be interested in reading the The Debian KDE mantainers web site; - execute apt-get update, always as root: this reads the packages list from the experimental branch of the debian repositories;
- execute apt-get install libqt4-core libqt4-dev kdelibs5 kdelibs5-dev libqwt5-qt4 libqwt5-qt4-dev.
- here comes the installation of the konsole for kde4 and some other kde4
components. You are going to use aptitude to install them to tell debian to install the
packages coming from the experimental branch:
aptitude -t experimental install kdelibs5 kdebase-runtime konsole
This should install all what you need to run iqfire-wall, also upgrading your system if not up to date with the necessary packages required by the kde4 components.
You will type Y to ansswer Yes to the command prompt to proceed with the installation. If your system has to be deeply upgraded, this might take some time.
Debian, general instructions
The installation instructions are very similar to those discussed into the Ubuntu/Kubuntu, general instructions web page. They are reported here for completeness, read them carefully because some differences exists between the debian and (k)ubuntu steps.
The installation steps consist into downloading and installing iqfire-wall on your system. iqfire-wall is hosted on sourceforge.net since the creation of the project ipfire-wall. Actually, the project has the same name although the package IPFIRE-wall now contains iqfire-wall too.
- Download the IqFIRE-wall sources:
- the .tar.gz package from sourceforge.net,
which represents the latest package of the firewall distribution, including
- the ipfire-wall kernel module;
- the ipfire-wall console firewall (the console version, as it was until version 0.98.6);
- the new iqfire-wall graphical user interface.
- the latest snapshot available, containing the most up to date modifications on the
code of iqfire-wall, via the CVS
sourceforge.net repository:
- open a terminal in your linux desktop;
- execute cvs -d:pserver:anonymous@ipfire-wall.cvs.sourceforge.net:/cvsroot/ipfire-wall login
- execute cvs -z3 -d:pserver:anonymous@ipfire-wall.cvs.sourceforge.net:/cvsroot/ipfire-wall co -P IPFIRE-wall
- if you downlaoded the .tar.gz package, unpack it the in a directory of your choice and extract it right clicking on the IPFIRE-wall-x.y.z.tar.gz icon and choosing the correct action to extract the .tar.gz archives or give the command tar -xzf IPFIRE-wall.x.y.z.tar.gz from the command line;
- open a terminal and change directory into IPFIRE-wall's: cd /directory/of/download/IPFIRE-wall-x.y.z;
- build and install the firewall launching the script install.sh with the command ./install.sh debian, and confirming with the key return at the first installer question.
- Remember the parameter debian when launching the install script on debian;
- If something fails, read the Requirements once again to be sure you did not forget to install a needed dependency.
- If you go to your desktop panel and click on the applications menu (menu K on KDE or Applications on Gnome), you should find a launcher for iqfire-wall under the Internet submenu. Click on it to launch iqfire-wall;
- optionally, you can drag with the mouse the icon above and drop it into the desktop workspace to create a launcher inside your desktop.
- To later reinstall iqfire-wall, re-run the script install.sh as above, adding the parameter clean to the invocation command.