Skip to content

Commit

Permalink
Merge pull request #241 from ikoas/patch-1
Browse files Browse the repository at this point in the history
Update README.md to improve Linux and macOS installation.
  • Loading branch information
Neo23x0 authored Oct 30, 2024
2 parents 78fb009 + 80192a0 commit 88c8d3e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,12 @@ To include the msvcr100.dll to improve the target os compatibility change the li

# Use LOKI on Mac OS X (Or later) or Linux

- Create a separate Python environment using [virtualenv](https://docs.python.org/3/library/venv.html)
- Activate the virtual Python environment ```source .env/bin/activate```
- Install libraries ```pip install colorama yara-python psutil rfc5424-logging-handler netaddr```
- Run loki-upgrader.py ```python loki-upgrader.py```
- Run loki ```python loki.py```

- Initialize a Python virtual environment for loki. To do this you have to make sure you have the Python module `venv` then run `python -m venv path/to/venv` where `path/to/venv` is the path to your virtual environment. Test your virtual environment by running `path/to/venv/bin/python --version`.
Upgrade your virtual environment modules for `pip`, `setuptools`, and `wheel` by running `path/to/venv/bin/python -m pip install --upgrade pip setuptools wheel`.
- Install libraries ```path/to/venv/bin/python -m pip install colorama yara-python psutil rfc5424-logging-handler netaddr```
- Run loki-upgrader.py ```path/to/venv/bin/python path/to/loki/loki-upgrader.py``` where `path/to/loki` is the path of the Loki repository.
- Run loki ```sudo path/to/venv/bin/python loki.py```

# Yara sources

Expand Down

0 comments on commit 88c8d3e

Please sign in to comment.