Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ Build status
.. image:: https://img.shields.io/badge/DOI-10.5281%2Fzenodo.5371409-blue?style=flat-square
:target: https://doi.org/10.5281/zenodo.5371409

Dependencies
============

- `libarchive <https://libarchive.org>`_
- `libtalloc <https://talloc.samba.org>`_
- `uthash <https://troydhanson.github.io/uthash>`_ (only required for building CARE)

To install all dependencies automatically, run the following commands::

chmod +x dependencies/<your_package_manager>_install.sh
./dependencies/<your_package_manager>_install.sh

Compiling
=========

Expand All @@ -42,13 +54,6 @@ The following commands can be used to compile PRoot and CARE::
.. |asciicast| image:: https://asciinema.org/a/315367.svg
:target: https://asciinema.org/a/315367

Dependencies
============

- `libarchive <https://libarchive.org>`_
- `libtalloc <https://talloc.samba.org>`_
- `uthash <https://troydhanson.github.io/uthash>`_ (only required for building CARE)

Manuals
=======

Expand Down
5 changes: 5 additions & 0 deletions dependencies/apt_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -e

sudo apt update -y
sudo apt install libtalloc-dev libarchive-dev uthash-dev -y
4 changes: 4 additions & 0 deletions dependencies/pacman_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -e

sudo pacman -Sy --noconfirm talloc libarchive uthash