PHPCalc/readme.md
2014-07-17 06:14:29 -05:00

9 lines
395 B
Markdown

#Installation
In terminal, copy/paste the following to create a ```ubin``` (user bin) folder if it doesn't exist already and add to paths.
```
sudo mkdir /usr/ubin
sudo chown $USER /usr/ubin
echo "export PATH=\"/usr/ubin:\$PATH\"" >> ~/.profile
```
Then move the ```calc.php``` and ```calc``` file over to ```/usr/ubin/``` and make sure ```calc``` is executable by ```chmod +x /usr/ubin/calc```