How to compile and install FileZilla 3.3.3 on Debian Lenny

  • [size=medium]How to compile and install FileZilla 3.3.3 on Debian Lenny[/size]


    For the record, FileZilla is one of the most popular Ftp client that is used by a large community of users, specially under Windows. Unfortunately, Debian Lenny provides a old version of this software (3.0.11.1), so, it's good to know how to compile and install the last available version of this software from the source tarball.


    Well, to resume, this howto describes the procedure that must be followed to compile and install the last version of FileZilla on Debian Lenny.


    ***


    ******


    ***



    Dependencies installation
    ~~~~~~~~~~~~~~~~~~~~


    To compile FileZilla and also two other libraries (see below), we must install a lot of packages. This can be done by executing the following commands:


    1. Installation of the required libraries and tools:


    Code
    1. # aptitude update # aptitude install build-essential flex bison gettext \libgcrypt11-dev libtasn1-3-dev zlib1g-dev libgpg-error-dev \libgtk2.0-dev python-all-dev python-all-dbg python-central \zlib1g-dev libjpeg62-dev libpng12-dev libtiff4-dev libsm-dev \libgl1-mesa-dev libglu1-mesa-dev libesd0-dev \libgnomeprintui2.2-dev libgconf2-dev libgstreamer0.10-dev \libgstreamer-plugins-base0.10-dev bc libidn11-dev libdbus-1-dev


    ***


    ******


    ***


    Now, we must get and install manually two libraries that are required to compile Filezilla. These librairies are GnuTLS and wxWidgets. Of course, Debian provides the packages for them but the provided versions are too old.


    GnuTLS library
    ~~~~~~~~~~~~


    1. Get the latest available tarball of the GnuTLS library and extract it:


    Code
    1. $ mkdir -p ~/Desktop/FileZilla/needed_libraries$ cd ~/Desktop/FileZilla/needed_libraries$ wget -c ftp://ftp.gnupg.org/gcrypt/gnutls/gnutls-2.8.6.tar.bz2$ tar -xjf gnutls-2.8.6.tar.bz2


    This accomplished, we should run the configuration script and make the compilation:


    2. Configuration and compilation:


    Code
    1. $ cd gnutls-2.8.6$ ./configure$ make


    Finally, we can install the GnuTLS library under /usr/local by executing the following commands:


    3. Installation:


    Code
    1. $ su# make install# exit


    wxWidgets library
    ~~~~~~~~~~~~~~


    1. Get the latest available tarball of the wxWidgets library and extract it:


    Code
    1. $ cd ~/Desktop/FileZilla/needed_libraries$ wget -c http://downloads.sourceforge.net/project/wxwindows/wxAll/2.8.10/wxWidgets-2.8.10.tar.gz?use_mirror=garr$ tar -xzf wxWidgets-2.8.10.tar.gz


    This accomplished, we should run the configuration script and make the compilation:


    2. Configuration and compilation:


    Code
    1. $ cd wxWidgets-2.8.10$ ./configure --with-gtk --enable-unicode --disable-compat24 --enable-optimise$ make


    Finally, we can install the wxWidgets library under /usr/local by executing the following commands:


    3. Installation:


    Code
    1. $ su# make install# exit


    Ok now that the required libraries are installed, let's me explain how compile and install FileZilla


    FileZilla
    ~~~~~~~


    1. Get the latest available tarball of FileZilla and extract it:


    Code
    1. $ cd ~/Desktop/FileZilla$ wget -c http://d10xg45o6p6dbl.cloudfront.net/projects/f/filezilla/FileZilla_3.3.3_src.tar.bz2$ tar -xjf FileZilla_3.3.3_src.tar.bz2


    This accomplished, we should run the configuration script and make the compilation:


    2. Configuration and compilation:


    Code
    1. $ cd filezilla-3.3.3$ ./configure$ make


    Finally, we can install FileZilla under /usr/local by executing the following commands:


    3. Installation:


    Code
    1. $ su
    2. # make install
    3. # exit


    Ok, FileZilla is now installed but how to launch it ? The response is quick simple:


    Just go to your Application -> internet menu and click on the FileZilla item.


    Enjoy ;

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206