File: INSTALL

package info (click to toggle)
krusader 2:2.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 21,684 kB
  • ctags: 7,260
  • sloc: cpp: 55,337; ansic: 1,188; xml: 533; sh: 41; makefile: 3
file content (310 lines) | stat: -rw-r--r-- 12,191 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
            ---------------------------------------------------
            Krusader installation instructions for KDE Plasma 5
            ---------------------------------------------------


--- Note

Krusader-2.5.0 versions and higher are for KDE Plasma 5 only and will not work
anymore on KDE Plasma 4 or 3.


--- Krusader development download

Krusader is developed in KDE Extragear.
Download the latest available Krusader-15.xx sourcecode with git.

$ git clone http://anongit.kde.org/krusader.git
$ cd krusader


--- Supported Platforms

* All POSIX (Linux®/BSD/UNIX®-like OSes), Solaris™

At the moment, there are no KDE Plasma 5 ports for Windows or Mac® OS X, which
means these platforms are not supported.



========================================
Installation on Linux® and BSD platforms
========================================


--- Krusader dependencies

The next packages are needed when running the Krusader binary.

The next packages are the names that KUbuntu uses, other Linux distros will
probably use similar names.

- plasma-runtime        Plasma Runtime components
- plasma-workspace      Plasma Workspace for KF5
- libc6                 GNU C Library: Shared libraries
- libgcc1               GCC support library
- libqt5dbus5           Qt 5 D-Bus module
- libqt5xml5            Qt 5 XML module
- libqt5core5           Qt 5 core module
- libqt5gui5            Qt 5 GUI module
- libgt5widgets5        Qt 5 widgets module
- libqt5printsupport5   Qt 5 print support module
- libstdc++6            The GNU Standard C++ Library v3 
- zlib1g                compression library - runtime 


--- Suggested packages

These packages are optional but they will make Krusader much more powerful and useful.
The next packages are the names that Debian/Ubuntu uses, other Linux
distros will probably use similar names.

- arj                   archiver for .arj files
- ark                   archive utility for KDE
- bzip2                 high-quality block-sorting file compressor - utilities
- cpio                  GNU cpio -- a program to manage archives of files

- kate                  Powerful Text Editor
- kmail                 KDE Email client

- kdiff3                compares and merges 2 or 3 files or directories
                        (at moment of writing: no version available)
or kompare              file difference viewer
or xxdiff               a graphical file and directories comparison and merge tool

- konsole               X terminal emulator
- krename               Powerful batch renamer for KDE
                        (at moment of writing: still based on KDE4)
- lhasa                 lzh archiver

- md5deep               enhanced message digest calculator
or cfv                  versatile file checksum creator and verifier

- p7zip                 7zr file archiver with high compression ratio
- rpm                   Red Hat package manager
- unace                 extract, test and view .ace archives

- unrar                 Unarchiver for .rar files (non-free version)
or unrar-free           Unarchiver for .rar files
or rar                  Archiver for .rar files

- unzip                 De-archiver for .zip files
- zip                   Archiver for .zip files


--- Compilation requirements

The next packages are needed for compiling the Krusader sourcecode, if you only
run the Krusader binary you don't need to install these packages.

- build-essential        a group of packages needed to compile source code
- cmake                  a cross-platform, open-source make system
- extra-cmake-modules    extra cmake modules for compiling KDE Frameworks
- qt5-default            development files for the Qt5 libraries
- plasma-framework-dev   development files for plasma-framework

The following packages should install (through dependencies) all the packages
you need to compile a KDE 5 software
- libkf5parts-dev       
- libkf5wallet-dev
- libkf5xmlgui-dev
- kdoctools-dev


--- CMake options and execution

-DCMAKE_INSTALL_PREFIX=/usr
  is the location where Krusader will be installed with the make command.
  Another example is: -DCMAKE_INSTALL_PRFIX=/opt/krusader
  to install the compiled Krusader in an other directory to not overwrite
  the Krusader version installed by your package manager.

-DCMAKE_CXX_FLAGS="-O2 -fPIC"
  this flag is required if you have a 64 bit system

-DQT_PLUGIN_INSTALL_DIR=
  many system force this path to keep kde4 plugins separated from the kde5 ones

-DENABLE_SYNCHRONIZER=OFF
  disables building the Synchronizer module. This module caused data loss, now
  it is fixed, but we treat it as the thin ice.

$ tar xvf krusader-xx.xx.tar.gz
$ cd krusader-xx.xx
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..


--- Compilation and installation

Compilation will take about 5 to 10 minutes depending on your CPU speed.

$ make
$ su -c "make install"
or 
$ sudo make install


--- Uninstall

$ su -c "make uninstall"
or
$ sudo make uninstall



FYI - The output of cmake on Kubuntu 15.04

This is the cmake output 

ubuntu@ubuntu-VirtualBox:~/src/krusader/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Found KF5Archive: /usr/lib/x86_64-linux-gnu/cmake/KF5Archive/KF5ArchiveConfig.cmake (found version "5.9.0")
-- Found KF5Bookmarks: /usr/lib/x86_64-linux-gnu/cmake/KF5Bookmarks/KF5BookmarksConfig.cmake (found version "5.9.0")
-- Found KF5Codecs: /usr/lib/x86_64-linux-gnu/cmake/KF5Codecs/KF5CodecsConfig.cmake (found version "5.9.0")
-- Found KF5Completion: /usr/lib/x86_64-linux-gnu/cmake/KF5Completion/KF5CompletionConfig.cmake (found version "5.9.0")
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.9.0")
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.9.0")
-- Found KF5DocTools: /usr/lib/x86_64-linux-gnu/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.9.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.2")
-- Found PythonInterp: /usr/bin/python (found version "2.7.9")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.9.0")
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.9.0")
-- Found KF5ItemViews: /usr/lib/x86_64-linux-gnu/cmake/KF5ItemViews/KF5ItemViewsConfig.cmake (found version "5.9.0")
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.9.0")
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.9.0")
-- Found KF5Parts: /usr/lib/x86_64-linux-gnu/cmake/KF5Parts/KF5PartsConfig.cmake (found version "5.9.0")
-- Found KF5Solid: /usr/lib/x86_64-linux-gnu/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.9.0")
-- Found KF5TextWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5TextWidgets/KF5TextWidgetsConfig.cmake (found version "5.9.0")
-- Found KF5Wallet: /usr/lib/x86_64-linux-gnu/cmake/KF5Wallet/KF5WalletConfig.cmake (found version "5.9.0")
-- Found KF5WidgetsAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.9.0")
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.9.0")
-- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.9.0")
-- Found KF5: success (found version "5.9.0") found components:  Archive Bookmarks Codecs Completion CoreAddons Config DocTools I18n IconThemes ItemViews KIO Notifications Parts Solid TextWidgets Wallet WidgetsAddons WindowSystem XmlGui
-- Looking for include file attr/libattr.h
-- Looking for include file attr/libattr.h - found
-- Looking for include file sys/xattr.h
-- Looking for include file sys/xattr.h - found
-- Looking for include file sys/acl.h
-- Looking for include file sys/acl.h - found
-- Looking for include file acl/libacl.h
-- Looking for include file acl/libacl.h - found
-- Found ACL support: /usr/lib/libacl.so;/lib/x86_64-linux-gnu/libattr.so
-- libkonq library not found
-- /home/ubuntu/src/krusader/krusader: skipped subdir $(KRJSDIR)
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
--
-- The following REQUIRED packages have been found:

 * ECM (required version >= 1.1.0)
 * Qt5Core
 * Qt5Gui
 * Qt5DBus
 * Qt5Widgets
 * Qt5PrintSupport
 * Qt5Xml
 * Qt5
 * KF5Archive
 * KF5Bookmarks
 * KF5Codecs
 * KF5Completion
 * KF5CoreAddons
 * KF5Config
 * KF5DocTools
 * Gettext
 * PythonInterp
 * KF5I18n
 * KF5IconThemes
 * KF5ItemViews
 * KF5KIO
 * KF5Notifications
 * KF5Parts
 * KF5Solid
 * KF5TextWidgets
 * KF5Wallet
 * KF5WidgetsAddons
 * KF5WindowSystem
 * KF5XmlGui
 * KF5

-- Configuring done
-- Generating done
-- Build files have been written to: /home/ubuntu/src/krusader/build



FYI - The (partial) output of make on Kubuntu 15.04

ubuntu@ubuntu-VirtualBox:~/src/krusader/build$ make
[  1%] Automatic moc for target krusader
Generating moc_actionsbase.cpp
Generating moc_kractions.cpp
Generating moc_krslots.cpp
Generating moc_krtrashhandler.cpp
Generating moc_krusader.cpp
Generating moc_krusaderview.cpp
Generating moc_panelmanager.cpp
Generating moc_paneltabbar.cpp
Generating moc_tabactions.cpp
[  1%] Built target krusader_automoc
[  1%] Automatic moc for target ActionMan
Generating moc_actionman.cpp
Generating moc_actionproperty.cpp
Generating moc_addplaceholderpopup.cpp
Generating moc_useractionlistview.cpp
Generating moc_useractionpage.cpp
[  1%] Built target ActionMan_automoc
[  1%] Generating ui_actionproperty.h
Scanning dependencies of target ActionMan
[  1%] Building CXX object krusader/ActionMan/CMakeFiles/ActionMan.dir/actionman.cpp.o
[  2%] Building CXX object krusader/ActionMan/CMakeFiles/ActionMan.dir/actionproperty.cpp.o
...
...
...
[ 95%] Built target kio_krarc
Scanning dependencies of target kio_iso_automoc
[ 95%] Automatic moc for target kio_iso
[ 95%] Built target kio_iso_automoc
Scanning dependencies of target kio_iso
[ 96%] Building CXX object iso/CMakeFiles/kio_iso.dir/kisodirectory.cpp.o
[ 96%] Building CXX object iso/CMakeFiles/kio_iso.dir/kisofile.cpp.o
[ 97%] Building CXX object iso/CMakeFiles/kio_iso.dir/qfilehack.cpp.o
[ 97%] Building CXX object iso/CMakeFiles/kio_iso.dir/kiso.cpp.o
[ 98%] Building CXX object iso/CMakeFiles/kio_iso.dir/iso.cpp.o
[ 98%] Building C object iso/CMakeFiles/kio_iso.dir/libisofs/isofs.c.o
[ 99%] Building CXX object iso/CMakeFiles/kio_iso.dir/kio_iso_automoc.cpp.o
Linking CXX shared library libkio_iso.so
[ 99%] Built target kio_iso
Scanning dependencies of target doc-index-cache-bz2
[100%] Generating index.cache.bz2
[100%] Built target doc-index-cache-bz2
Scanning dependencies of target doc-krusader-1
[100%] Generating krusader.1
Note: Writing krusader.1
[100%] Built target doc-krusader-1


--- To achieve that Krusader uses another translation

There is a list of available language codes in the [10n.kde.org Krusader page](http://l10n.kde.org/stats/gui/trunk-kf5/po/krusader.po/). In that list anyone can see which is his desired language code (e.g. for a German user normally his language code is: de), and consequently the XX that appears in the following commands must be replaced with his desired language code:

    wget http://websvn.kde.org/*checkout*/trunk/l10n-kf5/XX/messages/extragear-utils/krusader.po
    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
    su -c "cp -a krusader.mo /usr/share/locale/XX/LC_MESSAGES/"