Skip to content

Commit d754831

Browse files
committed
Updated documentation with centos/fedora differences
1 parent 14e25a4 commit d754831

File tree

1 file changed

+38
-15
lines changed

1 file changed

+38
-15
lines changed

docs/docs/Installation/Linux/1_Install.md

Lines changed: 38 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ sudo apt update && sudo apt upgrade
3535

3636
<details>
3737
<summary>
38-
RHEL
38+
Centos/RHEL/Fedora
3939
</summary>
4040

4141
```bash
@@ -46,12 +46,14 @@ sudo dnf update
4646
---
4747
## 2. Pre-requisite Software
4848

49+
50+
Install packages from the distro repo
4951
<details>
5052
<summary>
5153
Ubuntu
5254
</summary>
5355

54-
Install packages from the distro repo
56+
5557

5658
```bash
5759
sudo apt update && sudo apt install python3 && sudo apt install python3-pip
@@ -61,13 +63,29 @@ sudo apt install python3-dev python3-setuptools build-essential python3-gevent p
6163

6264
<details>
6365
<summary>
64-
RHEL
66+
RHEL/Centos
6567
</summary>
6668

67-
Install distro repo packages
69+
```bash
70+
sudo dnf group install "Development Tools"
71+
sudo dnf install python3 pip virtualenv virtualenvwrapper cairo cairo-devel python3-gevent python3-lxml bzip2-devel libffi-devel
72+
```
73+
74+
Create and activate a virtualenv for the next steps
75+
76+
```bash
77+
virtualenv venv
78+
source venv/bin/activate
79+
```
80+
</details>
81+
82+
<details>
83+
<summary>
84+
Fedora
85+
</summary>
6886

6987
```bash
70-
sudo dnf group install "C Development Tools and Libraries" "Development Tools"
88+
sudo dnf group install "Development Tools" "C Development Tools and Libraries"
7189
sudo dnf install python3 python3-pip cairo cairo-devel python3-cairo python3-cairo-devel python3-gevent python3-lxml python3-virtualenv
7290
```
7391

@@ -79,7 +97,6 @@ source venv/bin/activate
7997
```
8098
</details>
8199

82-
83100
---
84101
## 3. Install Python Libraries
85102

@@ -98,7 +115,7 @@ Note, use of pip with sudo is not recommended and you will be warned about this!
98115

99116
<details>
100117
<summary>
101-
RHEL
118+
Centos/RHEL/Fedora
102119
</summary>
103120

104121

@@ -124,26 +141,32 @@ Ubuntu
124141
sudo pip3 uninstall FreeTAKServer
125142
sudo pip3 uninstall FreeTAKServer-UI
126143
```
144+
145+
Delete the database and log folders
146+
147+
```bash
148+
sudo rm /opt/FTSDataBase.db
149+
sudo rm -r /usr/local/lib/<your-python-version>/<dist or site>-packages/FreeTAKServer
150+
```
127151
</details>
128152

129153
<details>
130154
<summary>
131-
RHEL
155+
Centos/RHEL/Fedora
132156
</summary>
133157

134158
```bash
135159
deactivate
136160
rm -rf venv/
137161
pip uninstall FreeTAKServer FreeTAKServer-UI
138162
```
139-
</details>
140163

141164
Delete the database and log folders
142165

143166
```bash
144-
sudo rm /opt/FTSDataBase.db
145-
sudo rm -r /usr/local/lib/<your-python-version>/<dist or site>-packages/FreeTAKServer
167+
sudo rm /opt/FTS/FTSDataBase.db
146168
```
169+
</details>
147170

148171
---
149172
## 5. Install FreeTAKServer
@@ -161,7 +184,7 @@ sudo python3 -m pip install FreeTAKServer[ui]
161184

162185
<details>
163186
<summary>
164-
RHEL
187+
Centos/RHEL/Fedora
165188
</summary>
166189

167190
```bash
@@ -230,7 +253,7 @@ sudo python3 -m FreeTAKServer.controllers.services.FTS
230253

231254
<details>
232255
<summary>
233-
RHEL
256+
Centos/RHEL/Fedora
234257
</summary>
235258

236259
```bash
@@ -410,7 +433,7 @@ sudo python3 run.py
410433

411434
<details>
412435
<summary>
413-
RHEL
436+
Centos/RHEL/Fedora
414437
</summary>
415438

416439
```bash
@@ -502,7 +525,7 @@ for TCP traffic.
502525

503526
<details>
504527
<summary>
505-
RHEL
528+
Centos/RHEL/Fedora
506529
</summary>
507530

508531
```bash

0 commit comments

Comments
 (0)