-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathINSTALL
63 lines (44 loc) · 1.95 KB
/
INSTALL
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
************************************
* Compilation And Installation *
************************************
First install build dependencies. In Debian-based systems, they are:
* g++ >= 12
* qt6-base-dev (for Qt6)
* qt6-svg-dev (for hard-coded SVG icons)
* qt6-base-dev-tools (for localization -- optional)
In Arch-based systems, the required package are:
* gcc (or gcc-multilib for multilib systems)
* qt6-base (for Qt6)
* qt6-svg (for hard-coded SVG icons)
* qt6-tools (for localization -- optional)
In Red Hat based systems like Fedora:
* gcc-c++
* qt6-qtbase-devel
* qt6-qtsvg-devel
* qt6-qttools-devel
And, finally, in OpenSUSE:
* gcc-c++
* libqt6-qtbase-devel
* libqt6-qtsvg-devel
* libqt6-qttools-devel
In addition, you need to have libarchive (bsdtar), gzip and 7z installed because Arqiver is a front-end for them, but they are not build dependencies.
With cmake
==========
Then, open a terminal inside this folder and issue the following commands:
mkdir build && cd build
cmake ..
make
sudo make install
In some distros, you may need to be more explicit and use `cmake .. -DCMAKE_INSTALL_PREFIX=/usr` for installing Arqiver under `/usr`, in contrast to `/usr/local`. The latter place may not be good in Linux distros and could cause troubles later.
With qmake
==========
If you prefer qmake, use these commands instead:
qmake && make
sudo make install
Afterward, you could use this command to clean the source directory:
make distclean
**********************************
* Translation (Localization) *
**********************************
The file 'data/translations/arqiver.ts' can serve as the basis for translation. The translated file should be saved in the same directory as "arqiver_LN.ts", where "LN" is the abbreviation for the target language, like "de", "fr", etc.
If you have translated Arqiver's GUI into your language, please make a "Pull Request" (PR) at https://github.com/tsujan/Arqiver for your work to be merged into Arqiver!