saferm/README.md
2022-11-04 15:55:54 +01:00

41 lines
960 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# saferm
Safely runs ```rm -rf``` so you don´t make an oopsie
# Dependencies
You need to have haxe along with hxcpp and g++ installed to compile.
Earliest tested working haxe version is 4.1.5
# Installation
Either follow the instructions below to build it yourself or download the binary from latest release
## Linux
### Step 1. Install haxe and Dependencies
#### Debian, Ubuntu and derivatives:
```
sudo apt update && sudo apt install haxe g++ make
mkdir ~/haxelib && haxelib setup ~/haxelib
```
#### Fedora
```
sudo dnf install haxe gcc-c++ make
mkdir ~/haxelib && haxelib setup ~/haxelib
```
#### Arch
```
sudo pacman -S haxe gcc make
mkdir ~/haxelib && haxelib setup ~/haxelib
```
### Step 2. Compile and install
Make sure you have haxe installed then run the following commands
```
haxelib install hxcpp
git clone https://git.subsonics.nl/andreas/saferm.git
cd saferm
make && sudo make install
```
## Windows
![](https://i.imgflip.com/2/rh1n8.jpg)