summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: fda025cd4f726722f365791a188ab170a855c5bb (plain)
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
Installation Instructions:
-------------------------


Install from Source:
-------------------

1. gluster-block uses targetcli (>= 2.1.fb43-2) and tcmu-runner. So, make sure you have them installed.

2. $ git clone https://github.com/gluster/gluster-block.git

3. Run ./autogen.sh.

4. Run ./configure.

 $ ./configure
 [...]
 ------------------ Summary ------------------
  gluster-block version 0.3
   Prefix.........: /usr/local
   C Compiler.....: gcc -g -O2
   Linker.........: /usr/bin/ld -m elf_x86_64
 ---------------------------------------------

 In case if you notice failures, install the dependencies suggested by configure.

5. Now just run 'make' and later run 'make install' to install the package.

 $ make
 $ make install

Installation completed :-)

Check,
 $ gluster-block version (or)
 $ gluster-block --version

 $ gluster-block help (or)
 $ gluster-block --help

Make sure your version is the latest from the release, and the one you just installed.


Download from repo:
-------------------

Fedora:
------
Get the gluster-block repo URL from https://copr.fedorainfracloud.org/coprs/pkalever/gluster-block/

URL look similar to:
https://copr.fedorainfracloud.org/coprs/pkalever/gluster-block/repo/fedora-25/pkalever-gluster-block-fedora-25.repo

 $ dnf config-manager --add-repo $URL

 $ dnf install gluster-block

Installation completed :-)

Check,
 $ gluster-block version (or)
 $ gluster-block --version

 $ gluster-block help (or)
 $ gluster-block --help

As of now gluster-block is supported on fedora >= 25.

Cheers!