Skip to content

Instantly share code, notes, and snippets.

@largerock
Created March 23, 2022 00:10
Show Gist options
  • Save largerock/3eda8697d8ac076fa3894e39b2f8161c to your computer and use it in GitHub Desktop.
Save largerock/3eda8697d8ac076fa3894e39b2f8161c to your computer and use it in GitHub Desktop.
install script for efsw: https://github.com/SpartanJ/efsw
#!/bin/bash
if (( $EUID != 0 )); then
echo "Please run as root"
exit
fi
cd /tmp
git clone https://github.com/SpartanJ/efsw.git
cd efsw && mkdir build && cd build
cmake ..
make -j 2
make install
rm -rf /tmp/efsw
echo "efsw installed"
@largerock
Copy link
Author

largerock commented Mar 23, 2022

Run this as sudo in terminal to install:

/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/largerock/3eda8697d8ac076fa3894e39b2f8161c/raw/6701449ef97880f249bb2a797cdbf48471bf0e12/install-efsw.sh)"

@largerock
Copy link
Author

largerock commented Mar 23, 2022

Note: this script will require cmake to be installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment