You can fetch the source from the KDE Git repository.
$ git clone git://anongit.kde.org/krusader
$ git clone firstname.lastname@example.org:krusader.git
Note: Refer to the GitKdeOrgManual for details.
$ cd krusader $ mkdir -v build && cd build $ cmake -DCMAKE_INSTALL_PREFIX=/usr/ .. $ make # At the beginning of the following command: `sudo` must be added if Kubuntu, Ubuntu, Debian, or similar is being used. $ su -c "make install"
Note: For the advanced and latest installation instructions please refer to the INSTALL file in the Krusader sources.
Note: On a multi cpu/core system you might want to speed up the compile process by increasing the number of jobs (e.g. "make -j4").
Due to the layout of KDE's repository, translations aren't part of the checkout. There is a list of translation files in the 10n.kde.org Krusader page. In that list anyone can look for his desired translation file, hover the mouse cursor over its link, see its tooltip to look up the appropriate language code (which is shown between parentheses, e.g. if on the tooltip it's seen "German (de)" that means that the language code is: de), click on the link (in order to download the proper krusader.po file), and execute:
$ msgfmt krusader.po -o krusader.mo # At the beginning of the following command: `sudo` must be added if Kubuntu, Ubuntu, Debian, or similar is being used. # Replace <XX> with the previously found language code (e.g. de for German). $ su -c "cp krusader.mo /usr/share/locale/<XX>/LC_MESSAGES/"
Building a git snapshot with translations
In order to build a snapshot which includes translations KDE's releaseme script can be used. Here is how it works:
$ git clone git://anongit.kde.org/releaseme $ releaseme/tarme.rb --version git`date +%Y%m%d` --origin trunk krusader
Note: You need to have ruby installed to run the script.
The script will create a tarball in the same directory which can be installed as usual:
$ tar xjvf krusader-git`date +%Y%m%d`.tar.bz2 $ cd krusader-git`date +%Y%m%d` $ cmake -DCMAKE_INSTALL_PREFIX=/usr/ $ make $ su -c "make install"