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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
|
<appendix id = "installation">
<!-- **********************************************************************
installation.docbook
++++++++++++++++++++++++++
copyright : (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006
Rafi Yanai, Shie Erlich, Frank Schoolmeesters
& the Krusader Krew
e-mail : krusader@users.sourceforge.net
web site : http://www.krusader.org
description : a Krusader Documentation File
***************************************************************************
* Permission is granted to copy, distribute and/or modify this *
* document under the terms of the GNU Free Documentation License, *
* Version 1.1 or any later version published by the Free Software *
* Foundation; with no Invariant Sections, no Front-Cover Texts and *
* no Back-Cover Texts. A copy of the license is available on the *
* GNU site http://www.gnu.org/licenses/fdl.html or by writing to: *
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, *
* MA 02110-1301, USA. *
*********************************************************************** -->
<title
>Installation</title>
<sect1 id="requirements">
<title
>Requirements</title>
<para
>In order to successfully use the most recent &krusader;, you need &kde;libs >= 3.4</para>
<para
>Required &kde; version: <itemizedlist>
<listitem
><para
>&krusader; v1.01: &kde; 2</para>
</listitem>
<listitem
><para
>&krusader; v1.02 - 1.40: &kde; 3.0 - &kde; 3.2</para>
</listitem>
<listitem
><para
>&krusader; 1.40: prefers &kde; 3.2 (otherwise not all features will be available)</para>
</listitem>
<listitem
><para
>&krusader; v1.50 - v1.51: &kde; 3.2 - &kde; 3.3 (Konfigurator crash on &kde; 3.4)</para>
</listitem>
<listitem
><para
>&krusader; v1.60.0 - v1.70.0: &kde; 3.3 - &kde; 3.5</para>
</listitem>
<listitem
><para
>&krusader; 1.70.0: prefers &kde; >= 3.4 (otherwise not all features will be available)</para>
</listitem>
<listitem
><para
>&krusader; v2.xx.x: &kde; 4 - &Qt; 4 The big challenge, maybe a first release in 2006 ;)</para>
</listitem>
</itemizedlist>
</para>
<para
>Platforms: <itemizedlist>
<listitem
><para
>All POSIX (&Linux;/BSD/&UNIX;-like OSes), &Solaris;.</para
></listitem>
<listitem
><para
>All BSD Platforms (&freebsd;/&netbsd;/&openbsd;/&MacOS;).</para
></listitem>
</itemizedlist>
</para>
<para
>&krusader; uses about 3-4 MByte of memory to run (and about 15 Mbyte shared memory which is also used by other processes), but this may vary depending on your platform and configuration. In order to handle archives the archivers must be configured <link linkend="konfig-dependencies"
>here</link
>.</para>
<para
>A package of popular (un)packers, &krusader; itself and addons can be found on the &krudownload_url;.</para>
<para
>For more requirements, continue to read this chapter and read also the &faq_lnk; section.</para>
</sect1>
<sect1 id = "getting-krusader">
<title
>How to obtain &krusader;</title>
<para
>The latest information about &krusader; can be found on the &kruwebsite_url; .</para>
<sect2 id="krusader_download">
<title
>Download &krusader;</title>
<para
>It's recommend to use the &krusader; package that is provided by your distribution, &distrowatch_com_url; is a great resource to check the availability. If your distribution does not offer &krusader; please contact the creators of your distribution and ask them to provide a &krusader; package, thanks!</para>
<para
>The latest version (and older versions) can be found on the &krudownload_url; and on the &sfmirrors_url;. It contains the source tarballs, RPM and DEB packages to whatever distro the &krusader;-Krew is using and packages build by third-parties and &krusader; users.</para>
<para
>Distributions who provide &krusader;: <itemizedlist
> <listitem
> <para
>&suse_download_url;
>= 9.3, Note: please use &krusader;-1.60.0 and not &krusader;-1.51 (might be instable on &SuSE;9.3-&kde;3.4)</para
> </listitem
> <listitem
> <para
>&fedora; via &fedora_extras_url; <command
># yum install krusader</command
> will do the job, thanks to Marcin Garski. &RedHat; RPM packages can usually found on the &krudownload_url; or at &dag_wiers_download_url; and &dries_verachtert_download_url; .</para
> </listitem
> <listitem
> <para
>&debian_download_url;, on our &krudownload_url; you might find more recent "unofficial bleeding-edge" DEB packages. Note: usually &debian; packages work also on distributions who are "based on &debian;", some of these provide their own (incompatible) packages. &ubuntu_kubuntu_download_url;, &linspire_download_url;, &knoppix; 4.x DVD, &kanotix;, ...</para
> </listitem
> <listitem
> <para
>&mandriva_download_url; via the contrib repository <command
># urpmi krusader</command
> will do the job, &gentoo_download_url;, &yoper_download_url;</para
> </listitem
> <listitem
> <para
>&archlinux_download_url;, &frugalware_linux_download_url;, &pclinuxos_download_url;, &altlinux_download_url;</para
> </listitem
> <listitem
> <para
>&freebsd_download_url;, the port is maintained by <link linkend="credits"
>Heiner Eichmann</link
> .</para
> </listitem
> <listitem
> <para
>&netbsd_download_url;, &lunarlinux_download_url; ,&arklinux;, &openlx;, &sourcemage;.</para
> </listitem
> <listitem
> <para
>Even more distributions can be found with &distrowatch_com_url;</para
> </listitem
> </itemizedlist
> Use the installation tools that your distro uses to install the &krusader; package, sometimes an internet connection is needed if &krusader; is not available on the &CD; or DVD. There are probably more distributions out there who include &krusader;, sorry we can't mention you all, though feedback is always welcome to improve this distrolist. </para>
<para
>Others <itemizedlist>
<listitem>
<para
>&slackware; tgz binaries can usually found on the &krudownload_url;, or use &portpkg_url; that contains a &kru_slackbuild_url;, <command
># portpkg krusader</command
> will do the job.</para>
</listitem>
<listitem>
<para
>There is a &macosx_download_url; port with the help of &fink_url; , the port is maintained by &bodo_tasche_url; .</para>
</listitem>
</itemizedlist>
</para>
<para
>Installation via the &klik_protocol_url; . <itemizedlist>
<listitem>
<para
>&klik_krusader_url; downloads &krusader; provided by &debian; stable, more information is &klik_available_url; .</para>
</listitem>
<listitem>
<para
>&klik_krusader_latest_url; downloads the latest &klik_stable_krusader_url; provided by the &krusader; Krew.</para>
</listitem>
<listitem>
<para
>&klik_krusader_cvs_url; downloads a &klik_cvs_krusader_url; provided by the &krusader; Krew.</para>
</listitem>
</itemizedlist>
</para>
<para
>Search engines <itemizedlist
> <listitem
> <para
>You can also find packages on &Linux; software archives such as &freshmeat_url; or &kde_apps_url; .</para
> </listitem
> <listitem
> <para
>If you can't find a package for your distribution, we recommend searching for it with &rpmfind_url; , &rpmpbone_url; or &rpmseek_url; .</para
> </listitem
> </itemizedlist
> If you like &krusader; go to one of these sites and rate &krusader;, thanks. </para>
<para
>If you still can't find a package, please don't worry. We provide a very detailed installation procedure. This very thorough HowTo shows even newcomers how to compile &krusader; from source, even if you've never compiled a program from source. Please continue to read this chapter ;)</para>
</sect2>
<sect2 id="version_scheme">
<title
>Version scheme</title>
<para
>We use a new version scheme since &krusader;-1.60.0 <itemizedlist
> <listitem
><para
>First digit - the major version </para
></listitem
> <listitem
><para
>Second digit(s) - percentage of features completed for this major version </para
></listitem
> <listitem
><para
>third digit(s) - bugfixes. </para
></listitem
> </itemizedlist
> So in essence, releasing &krusader;-1.60.0, means that we believe that &krusader; is about 60% done with all the features we'd schedule for the 1.x.x series. Series 2.x.x will be &kde; 4.x releases. We hope it'd be easy to understand. </para>
</sect2>
<sect2 id="krusader_stable">
<title
>Stable version</title>
<para
><filename
>krusader-x.xx.tar.gz</filename
></para>
<note
><para
>&krusader; is released under the &gpl_lnk;, this means that THE PROGRAM IS PROVIDED "AS IS" WITH NO WARRANTY OF ANY KIND, even when it is marked as a stable release.</para
></note>
</sect2>
<sect2 id="krusader_devel">
<title
>Development version (beta release)</title>
<para
><filename
>krusader-x.xx-betax.tar.gz</filename
></para>
<para
>Before every stable release we release at least one development version, so that we can hunt down the bugs.</para>
<warning
><para
>These releases are beta releases and will probably contain some bugs.</para
></warning
> &dev_cvs_note; <para
>The beta release has 3 goals: <itemizedlist>
<listitem>
<para
>Apply a feature-freeze until the stable is released, only bugs will be fixed. New features have to wait until the stable is released.</para>
</listitem>
<listitem>
<para
>Obtain feedback from &krusader; users so that we can fix the bugs.</para>
</listitem>
<listitem>
<para
>Give translators the time to update the translations, for the coming stable. Please read the &i18n_page_url;</para>
</listitem>
</itemizedlist>
</para>
</sect2>
<sect2 id="krusader_cvs">
<title
>CVS builds</title>
<para
><filename
>krusader-cvs-yyyymmdd.tar.gz</filename
></para>
<warning
><para
>These builds are untested and come without any warranty. They may contain bugfixes, new features or new bugs!</para
></warning>
<para
>We provide daily snapshots of &krusader;'s CVS version. For those who are interested, the <emphasis role="bold"
>nightly tarball</emphasis
> can be found on the &krucutedge_url;. Depending on the stage of development, this version will either be stable or unstable. Just before a stable release, the CVS version is almost stable. After a stable release new features will be committed into CVS, which might lead to the appearance of bugs. In some rare cases, the build will even not compile if we make a mistake, in that case we try to fix the mistake as soon as possible.</para>
<para
>&krusader; provides 2 nightly snapshots: <orderedlist numeration="arabic">
<listitem>
<para
><filename
>krusader-cvs-yyyymmdd.tar.gz</filename
>: <command
>make -f Makefile.cvs</command
> must be run before the <command
>./configure</command
> script is available</para>
</listitem>
<listitem>
<para
><filename
>krusader-cvs2-yyyymmdd.tar.gz</filename
>: for users who have problems with the <command
>make -f Makefile.cvs</command
> command, we have already done this for you and the <command
>./configure</command
> script is included in the tarball (This tarball is a bit bigger then the first one). </para>
</listitem>
</orderedlist>
</para>
<para
><emphasis role="bold"
>Checkout from CVS</emphasis
>. &krusader; can be checked out through anonymous (pserver) CVS with the following instruction set. The module you wish to check out must be specified as the modulename. When prompted for a password for anonymous, simply press the &Enter; key.</para>
<para
>Currently, there are two module options: <itemizedlist>
<listitem
><para
>krusader_kde2: the &kde;2 branch, stable but it's basically v1.01 and there are no planned changes</para
></listitem>
<listitem
><para
>krusader_trinity: the &kde;3 branch, that we currently use</para
></listitem>
</itemizedlist
></para>
<para
>To checkout &krusader; from CVS: <screen
><prompt>$</prompt> <userinput><command>cvs</command> <option>-d:pserver:anonymous@krusader.cvs.sourceforge.net:/cvsroot/krusader login</option></userinput></screen
> <screen
><prompt>$</prompt> <userinput><command>cvs</command> <option>-z3 -d:pserver:anonymous@krusader.cvs.sourceforge.net:/cvsroot/krusader co krusader_trinity</option></userinput></screen
> (note: updates from within the modules directory do not need the -d parameter)</para>
<para
>If you want to checkout a specific version of &krusader; from CVS (⪚ &krusader;-1.60.0) : <screen
><prompt>$</prompt> <userinput><command>cvs</command> <option>-z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/krusader co -rversion_1_60_0 krusader_trinity</option></userinput></screen>
</para>
<para
>If you want to checkout a specific date of &krusader; from CVS (⪚ &krusader;-2005-05-23) : <screen
><prompt>$</prompt> <userinput><command>cvs</command> <option>-z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/krusader co -D2005-05-23 krusader_trinity</option></userinput></screen>
</para>
<para
>Mostly being &gentoo; users, we provide a &gentoo_life_ebuild_url; for all those who want to stay on the bleeding edge of filemanagement and don't want to miss the advantages of portage. Please take a look at our &krucutedge_url; for more installation details.</para>
<para
>We also provide &viewcvs_url; to browse the CVS repository.</para>
</sect2>
<sect2 id="krusader_svn">
<title
>Subversion</title>
<para
>&subversion_url; will probably used for the &krusader; 2.x series for &kde;4. It's also possible to &browse_svn_repo_url;.</para>
<para
>To checkout the latest &krusader; 1.x for &kde; 3 from SVN: (NOTE: at moment of writing it's recommend to use CVS for krusader_trinity, since krusader_trinity is developed in CVS and not in SVN) <screen
><prompt>$</prompt> <userinput><command>svn</command> <option>co https://svn.sourceforge.net/svnroot/krusader/trunk/krusader_trinity</option></userinput></screen
> To checkout the latest &krusader; 2.x for &kde; 4 from SVN: (NOTE: not yet available at moment of writing) <screen
><prompt>$</prompt> <userinput><command>svn</command> <option>co https://svn.sourceforge.net/svnroot/krusader/trunk/krusader_kde4</option></userinput></screen>
</para>
</sect2>
<sect2 id="krusader_old">
<title
>Older releases</title>
<para
>Looking for older releases? Try the &sfmirrors_url; available from our project page.</para>
</sect2>
</sect1>
<sect1 id="compilation">
<title
>Compilation and installation</title>
<sect2 id="sourcedownload">
<title
>I have downloaded the sources for &krusader;. What now?</title>
<para
>Check the environment variables &kdeqtdir_lnk;.</para>
<para
>In order to compile and install &krusader; on your system, type the following in the base directory of the &krusader; package:</para>
<screen
><prompt>$</prompt> <userinput><command>./configure</command></userinput>
<prompt>$</prompt> <userinput><command>make</command></userinput>
<prompt>$</prompt> <userinput><command>su -c 'make</command> <option>install'</option></userinput></screen>
&krusaderui_rc_text; <para
>Since &krusader; uses <command
>autoconf</command
> and <command
>automake</command
> you should have no trouble compiling it. Should you run into problems please read the detailed installation instructions below.</para>
</sect2>
<sect2 id="install_tutorial">
<title
>Installation Tutorial</title>
<para
>The next section will explain step by step, in detail, how to install &krusader;. This question has been asked many times and especially users new to &Linux; often have problems compiling software from source. Therefore, we are trying to keep the explanations as detailed as possible even if they are mostly not &krusader; specific. Experienced users may easily skip most of the steps.</para>
<para
>Because not all &Linux; distributions do follow the &fhs_url; it's unfortunately impossible to write a tutorial that always works in all circumstances, but with these guidelines will be a big help in the right direction.</para>
<note
><para
>If you encounter problems, please read first this installation procedure and the &faq_lnk;, if this does not solve your problem then feel free to ask for help with an &help_request_lnk;. </para
></note>
<orderedlist>
<listitem>
<para
>Install all needed packages and libraries that you need for the compilation, please read the &faq_lnk;. <tip
><para
>If you install &tdevelop; then (almost) everything that you need to compile &krusader; will be installed on your computer, BUT please don't use &tdevelop; to compile &krusader; if you are not a developer (possible automake hell), just follow the next instructions.</para
></tip>
</para>
<!-- Empty line to make it more readable -->
</listitem>
<listitem>
<para
>Open your favourite terminal emulator (⪚ &konsole;).</para>
<!-- Empty line to make it more readable -->
</listitem>
<listitem>
<para
>We recommend you create a separate directory to keep all the sources you compile in. This will give you a better overview of installed programs and makes it easier to uninstall them later. <screen
><prompt>$</prompt> <userinput><command>mkdir</command> ~/source</userinput></screen
> The chosen directory is just an example, any other will work.</para>
<!-- Empty line to make it more readable -->
<!-- Empty line to make it more readable (second line is needed) -->
</listitem>
<listitem>
<para
>Copy the sources to the <filename
>~/source</filename
> directory and unpack them. <screen
><prompt>$</prompt> <userinput><command>cp</command> /<replaceable>"your_dir"</replaceable>/krusader-x.xx.tar.gz ~/source</userinput></screen>
<screen
><prompt>$</prompt> <userinput><command>cd</command> ~/source</userinput></screen>
<screen
><prompt>$</prompt> <userinput><command>tar</command> <option>-xzvf</option> krusader-x.xx.tar.gz</userinput></screen
></para>
<!-- Empty line to make it more readable -->
</listitem>
<listitem>
<para
>Optional step: the tarball is no longer needed at this point, you can delete it if you want or you can keep it if you like. <screen
><prompt>$</prompt> <userinput><command>rm</command> krusader-x.xx.tar.gz</userinput></screen
></para>
<!-- Empty line to make it more readable -->
</listitem>
<listitem>
<para
>Change to the directory containing the sources. <screen
><prompt>$</prompt> <userinput><command>cd</command> krusader-x.xx</userinput></screen
></para>
<!-- Empty line to make it more readable -->
</listitem>
<listitem id="kde_qt_dir">
<para
>Check the environment variables <envar
>QTDIR</envar
> and <envar
>TDEDIR</envar
>. &krusader;'s <command
>./configure</command
> script needs to know where the &Qt; and &kde; directories are. </para>
<para
><envar
>QTDIR</envar
> : <replaceable
><path to your Qt installation></replaceable
> ⪚ <filename
>/usr/lib/qt3</filename
> or <filename
>/usr/qt3</filename
></para>
<para
><envar
>TDEDIR</envar
> : <replaceable
><path to your KDE installation></replaceable
> ⪚ <filename
>/usr</filename
> or <filename
>/opt/trinity</filename
></para>
<para
>Normally your distribution will set them for you, but experience has shown that some don't. You can easily check the values with the <command
>echo</command
> command. <screen
><prompt>$</prompt> <userinput><command>echo</command> $QTDIR</userinput>
/usr/lib/qt3
<prompt>$</prompt> <userinput><command>echo</command> $TDEDIR</userinput>
/usr</screen
> If both commands give an output, the enviroment variables are set (the above example are the settings of &mandriva;-&Linux;). In case you just receive empty lines, the variables are not set and you have to set them it manually. If you have no idea what to set the variables to, or if you want to check if the variables are correctly set, ask your distributor or use the <command
>find</command
> command. <screen
><prompt>$</prompt> <userinput><command>find</command> <option>/usr /opt -name</option> qtconfig <option>-type f 2>/dev/null</option></userinput>
/usr/lib/qt3/bin/qtconfig
<prompt>$</prompt> <userinput><command>find</command> <option>/usr /opt -name</option> tdeinit <option>-type f 2>/dev/null</option></userinput>
/usr/bin/tdeinit</screen
> In this case <filename
>/usr/lib/qt3</filename
> is your <envar
>QTDIR</envar
> and <filename
>/usr</filename
> is your <envar
>TDEDIR</envar
>. The installed binaries will go to <filename
>/usr/bin</filename
>. Now we will set the enviroment variables with the <command
>export</command
> command. <screen
><prompt>$</prompt> <userinput><command>export</command> QTDIR=<replaceable><replace with your QTDIR></replaceable></userinput></screen>
<screen
><prompt>$</prompt> <userinput><command>export</command> TDEDIR=<replaceable><replace with your TDEDIR></replaceable></userinput></screen>
</para>
<note
><para
>These enviroment variables are only set for the lifetime of your current shell. When you close your terminal and open a new one they will be gone. Assuming &krusader; is not the only &Qt;/&kde; program you want to compile, we recommend to make these settings permanent (⪚ append both export commands to your <filename class="directory"
>/etc/profile</filename
>) file.</para
></note>
<para
>If you can't determine your TDEDIR than <command
>tde-config --prefix</command
> might help you.</para>
<!-- Empty line to make it more readable -->
<!-- Empty line to make it more readable (second line is needed) -->
</listitem>
<listitem>
<para
>If you have downloaded a stable version <filename
>"krusader-x.xx.tar.gz"</filename
> or a beta version <filename
>"krusader-x.xx-betax.tar.gz"</filename
>, you can skip this step, in this case the <filename
>./configure</filename
> script is provided.</para>
<para
>If you have downloaded a CVS build or nightly tarball <filename
>"krusader-cvs-yyyy-mm-dd.tar.gz"</filename
>", you will have to run the following command to create the <filename
>./configure</filename
> script: <screen
><prompt>$</prompt> <userinput><command>make</command> <option>-f</option> Makefile.cvs</userinput></screen
></para>
<para
>If everything is OK you will see the following output on your screen: <screen
><prompt>$</prompt> <userinput><command>make</command> <option>-f</option> Makefile.cvs</userinput>
This Makefile is only for the CVS repository
This will be deleted before making the distribution
*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating configure.in
*** Creating aclocal.m4
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
*** Postprocessing Makefile templates
*** Creating date/time stamp
*** Finished
Don't forget to run ./configure
If you haven't done so in a while, run ./configure --help
<prompt>$</prompt></screen>
</para>
<note
><para
>You will need to have: <application
>autoconf 2.52, 2.53 or 2.54</application
> and <application
>automake 1.6</application
> (or higher) to run the <command
>make -f Makefile.cvs</command
> command</para
></note>
<tip
><para
>If you encounter problems with this command click <link linkend="krusader_cvs"
>here</link
>. &krusader; provides 2 nightly builds (snapshots) one with a <filename
>./configure</filename
> script and one without.</para
></tip>
<!-- Empty line to make it more readable -->
<!-- Empty line to make it more readable (second line is needed) -->
</listitem>
<listitem>
<para
>Your &Linux; distro &krusader; RPM or DEB package will usually install &krusader; in the <filename
>TDEDIR/bin</filename
> directory. According to the &fhs_url;, any user installed files should go to the <filename
>/usr/local</filename
> directory, but in some cases you might want that &krusader; will be installed in an other directory, this behaviour can be determed with the prefix option. If you don't have root access <filename
>/home/YOUR_USERNAME/.trinity</filename
> is probably a good choice. <screen
><prompt>$</prompt> <userinput><command>./configure</command> <option>--prefix=/usr/local</option></userinput></screen
></para>
<para
>This will take about 1 minute, if everything goes well it will ⪚ end with the following messages: </para>
<para>
<screen
>foo
Krusader Project:
-----------------
Source code location: .
C Compiler: gcc
C Compiler flags: -ansi -W -Wall -pedantic -Wchar-subscripts -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2
-Wformat-security -Wmissing-format-attribute
C++ Compiler: g++
prefix: /usr/local
kde_libraries: /usr/include
kde_includes: /usr/lib
kde_locale: /usr/share/locale
qt_libraries: /usr/lib/qt3/lib
qt_includes: /usr/lib/qt3/include
TDEDIR: /usr
QTDIR: /usr/lib/qt3
Install path: /usr/local/bin
krusader version: 1.51
krusader binary: /usr/local/bin/krusader (after 'make install')
Thank you for using Krusader
Good - your configure finished. Start make now
<prompt>bash$</prompt>
</screen>
</para>
<para
>This is the output for &Mandrake;-&Linux; 10, other distributions may give a different output.</para>
<tip
><para
>At the end of the <command
>./configure</command
> script you will find a summary of the most important settings, ⪚ where the &krusader; binary will be installed (after the 'make install' command). This part will also display a warning if the environment variables &kdeqtdir_lnk; are empty. </para
></tip>
<!-- Empty line to make it more readable -->
<para
>Since &krusader;-1.70.0 <command
>./configure</command
> has two specific &krusader; options: <itemizedlist
> <listitem
> <para
><userinput
><command
>./configure</command
> <option
>--without-konqueror</option
></userinput
>: build Krusader without support &konqueror;'s servicemenus, default=with. This means that &konqueror;'s right-click menu entries will not be available.</para
> </listitem
> <listitem
> <para
><userinput
><command
>./configure</command
> <option
>--without-javascript</option
></userinput
>: build Krusader without JavaScript support, default=with. This means that the &javascript_console_lnk; will not be available.</para
> </listitem
> </itemizedlist
> In the past the support was always compiled in when the headers where found, now you have the choice. </para>
<para
>Use <userinput
><command
>./configure</command
> <option
>--help</option
></userinput
> to see more options or read the <filename
>INSTALL</filename
> file in the &krusader; sources.</para>
<para
>If you dit use the an other --prefix= than <filename
>$TDEDIR or /usr/local</filename
> , then it can't hurt to do an extra check: <screen
><prompt>$</prompt> <userinput><command>tde-config</command> <option>--path exe</option></userinput>
/home/frank/.trinity/bin/:/usr/bin/:/usr/local/bin/
<prompt>$</prompt></screen
> If the <prefix_dir/bin> directory is not shown, you need to use e.g. <command
>export TDEDIRS=/usr/local:/usr</command
>. To make these settings permanent you can ⪚ append this export command to your <filename
>/etc/profile</filename
> file. Than you need to restart &kde;, and check again. </para>
<note
><para
>If <command
>./configure</command
> fails, take a look at &missing_libs_lnk;.</para
></note>
<!-- Empty line to make it more readable -->
</listitem>
<listitem>
<para
>Start the compilation process with the <command
>make</command
> command. <screen
><prompt>$</prompt> <userinput><command>make</command></userinput></screen
> This will take about 10 to 40 minutes, if everything goes well it will ⪚ end with the following messages: <screen
>foo
make[2]: Leaving directory `/home/source/krusader_trinity/tar'
make[2]: Entering directory `/home/source/krusader_trinity'
make[2]: Leaving directory `/home/source/krusader_trinity'
make[1]: Leaving directory `/home/source/krusader_trinity'
<prompt>bash$</prompt>
</screen>
</para>
<!-- Empty line to make it more readable -->
<para
>If <command
>./configure</command
> was successful and <command
>make</command
> failed for some reason, continue to read this page. If you can't find any solution for your problem then feel free to post a help request at our &forum_lnk;.</para>
<!-- Empty line to make it more readable -->
</listitem>
<listitem>
<para
>If nothing went wrong, you can now install &krusader;. <screen
><prompt>$</prompt> <userinput><command>su -c 'make</command> <option>install'</option></userinput></screen
> You will be asked to enter your root password.</para>
<!-- Empty line to make it more readable -->
<!-- Empty line to make it more readable (second line is needed) -->
</listitem>
<listitem
>&krusaderui_rc_text; <para
></para
> <!-- Empty line to make it more readable -->
</listitem>
<listitem>
<para
>Now you can <link linkend="starting-krusader"
>start</link
> &krusader;.</para>
<para
></para
> <!-- Empty line to make it more readable -->
</listitem>
<listitem>
<para
>Optional step: if you want you can clean up to save some diskspace. Note: in this case all the compiled files created with the <command
>make</command
> command will be deleted. <screen
><prompt>$</prompt> <userinput><command>make</command> <option>clean</option></userinput></screen>
</para>
<!-- Empty line to make it more readable -->
<!-- Empty line to make it more readable (second line is needed) -->
</listitem>
<listitem>
<para
>If you ever want to uninstall &krusader;, just use <screen
><prompt>$</prompt> <userinput><command>su -c 'make</command> <option>uninstall'</option></userinput></screen
> You will be asked to enter your root password.</para>
<para
></para
> <!-- Empty line to make it more readable -->
</listitem>
</orderedlist>
<para
>If you encounter problems with installing &krusader; please read first the &faq_lnk;. If this installation procedure and the FAQ does not solve the problem, feel free to ask for help with an &help_request_lnk;.</para>
</sect2>
</sect1>
<sect1 id="mac-port">
<title
>&MacOS;-x port</title>
<para
>Krusader is ported to &MacOS; thanks to Jonas Bähr and &bodo_tasche_url; . Unfortunately the only *stable* kdelib-binaries which &fink_url; has to offer is currenly 3.1.4 which means you need to use &krusader;-1.40 . Unfortunately the &MacOS; X &krusader; port doesn't have the same power as in a native &Linux;-&kde; environement. To run &krusader; you need also X11 which doesn't realy interact with the rest of the &MacOS; desktop (drag and drop, etc...) We hope that &Qt;4/&kde;4 will solve most of these problems. When you want a higher Krusader version than you need to compile &kde; , what is not so difficult with &fink_url; but it takes some CPU cycles. </para>
<para
>Installation Instructions for &krusader;-1.40 <orderedlist>
<listitem>
<para
>Download and install &fink_url; with the &kde;3.1 binaries provided by fink and read the documentation.</para>
</listitem>
<listitem>
<para
>Extract the <filename
>krusader-1.40.fink.darwin-ppc.tar.bz2</filename
> package to <filename
>/sw/fink/dist/local/main/</filename
> Only root can write here, you may have to create 'local' and 'main' </para>
</listitem>
<listitem>
<para
>Run as root: <command
>fink install krusader</command
></para>
</listitem>
</orderedlist>
</para>
<para
>If you like to compile more sourcecode or if you want to use a more recent &krusader; version then these are the installation instructions. <orderedlist>
<listitem>
<para
>install &apple_x11_url;</para>
</listitem>
<listitem>
<para
>install the &apple_x11_sdk_url; developer-tools with X11 headers (gcc is included)</para>
</listitem>
<listitem>
<para
>install the fink-base</para>
</listitem>
<listitem>
<para
>compile tdelibs 3.4.1 or higher (fink provides the necessary <filename
>.info</filename
> files)</para>
</listitem>
<listitem>
<para
>compile the &krusader;-tarball or follow steps 2 and 3 of the previous section if a recent &krusader;-package ⪚ <filename
>krusader-1.60.0.fink.darwin-ppc.tar.bz2</filename
> is available</para>
</listitem>
</orderedlist>
</para>
</sect1>
<sect1 id="starting-krusader">
<title
>Starting &krusader;</title>
<para
>Type <userinput
><command
>krusader</command
></userinput
> (lower case) at a command prompt. You can create shortcut on your desktop or create an entry in the (&kde;) menu. Read the previous page and the &faq_lnk; if &krusader; doesn't start.</para>
<para
>When &krusader; is started from the command-line, various options can be specified to modify its behavior.</para>
<screen
><prompt>$</prompt> <userinput><command>krusader</command></userinput>
WARNING: Mt.Man: Born, looking around to get familiar.
foo</screen>
<note
><para
>Don't worry about the messages you get in the &konsole;. These messages are log messages that can be used for debugging &krusader;.</para
></note>
<para
>You can also use <keycombo action="simul"
>&Alt;<keycap
>F2</keycap
></keycombo
> to open the Run Command dialog box, type <userinput
><command
>krusader</command
></userinput
> (lower case) and press &Enter; or click on the <guibutton
>Run</guibutton
> button.</para>
<para
>If &krusader; is installed by an RPM or DEB package then usually &krusader; can be started from the &kmenu;. ⪚ on &Mandrake;-&Linux; 10.0 click on the &ticon; button and choose <emphasis role="bold"
><menuchoice
><guimenuitem
>Applications</guimenuitem
><guimenuitem
>File tools</guimenuitem
> <guimenuitem
>&krusader;</guimenuitem
></menuchoice
></emphasis
>.</para>
<variablelist
><title
>Command-line options:</title>
<varlistentry>
<term
><option
>--left</option
> <replaceable
><path></replaceable
></term>
<listitem
><para
><action
>start left panel at <path></action
></para
></listitem>
</varlistentry>
<varlistentry>
<term
><option
>--right</option
> <replaceable
><path></replaceable
></term>
<listitem
><para
><action
>start right panel at <path></action
></para
></listitem>
</varlistentry>
<varlistentry>
<term
><option
>--left</option
> <replaceable
><path1>,<path2>,<path3></replaceable
></term>
<listitem
><para
><action
>start left panel at <path1>,<path2>,<path3>, with tabs.</action
></para
></listitem>
</varlistentry>
<varlistentry>
<term
><option
>--profile</option
> <replaceable
><panel-profile></replaceable
></term>
<listitem
><para
><action
>load a <link linkend="panel_profiles"
>panel-profile</link
> on startup (this overrides the <link linkend="konfig-startup"
>default startup profile</link
>). </action
></para
></listitem>
</varlistentry>
</variablelist>
<para
>Examples: <screen
><prompt>$</prompt> <userinput><command>krusader</command> <replaceable>--left=<path> --right=<path></replaceable></userinput></screen>
<screen
><prompt>$</prompt> <userinput><command>krusader</command> <replaceable>--left=/mnt/cdrom --right=ftp://downloads@myserver.net</replaceable></userinput></screen>
<screen
><prompt>$</prompt> <userinput><command>krusader</command> <replaceable>--left=<path1>,<path2> --right=<path1>,<path2>,<path3></replaceable></userinput></screen>
<screen
><prompt>$</prompt> <userinput><command>krusader</command> <replaceable>--profile <panel-profile></replaceable></userinput></screen>
<screen
><prompt>$</prompt> <userinput><command>krusader</command> <replaceable>--profile ftp-managment</replaceable></userinput></screen>
</para>
<para
>The standard &Qt; and &kde; command-line options are available, and can be listed by entering <userinput
><command
>krusader</command
> <option
>--help</option
></userinput
> .</para>
<variablelist
><title
>Other command-line options:</title>
<varlistentry>
<term
><option
>--help-qt</option
></term>
<listitem
><para
><action
>List Qt-specific options</action
></para
></listitem>
</varlistentry>
<varlistentry>
<term
><option
>--help-kde</option
></term>
<listitem
><para
><action
>List KDE-specific options</action
></para
></listitem>
</varlistentry>
<varlistentry>
<term
><option
>--help-all</option
></term>
<listitem
><para
><action
>List all options</action
></para
></listitem>
</varlistentry>
<varlistentry>
<term
><option
>--author</option
></term>
<listitem
><para
><action
>Show the authors names</action
></para
></listitem>
</varlistentry>
<varlistentry>
<term
><option
>-v,--version</option
></term>
<listitem
><para
><action
>Show the version number</action
></para
></listitem>
</varlistentry>
<varlistentry>
<term
><option
>--license</option
></term>
<listitem
><para
><action
>Show license information</action
></para
></listitem>
</varlistentry>
</variablelist>
</sect1>
<sect1 id="configuration">
<title
>Configure &krusader;</title>
<para
>When you run &krusader; for the first time the &krusader; configuration module <link linkend="konfigurator"
>Konfigurator</link
> will show up and allow you to configure &krusader; as well as detect installed packers and tools. You can always run Konfigurator again from the &settingsmenu_lnk;.</para>
</sect1>
</appendix>
|