From cfd2a1ea43341bb00eb59b0c32eeccb410d9b6b8 Mon Sep 17 00:00:00 2001 From: "Harish.K" Date: Sun, 12 Jul 2015 19:57:46 +0530 Subject: [PATCH] Documentation --- README.md | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ec09a1c..d228735 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,34 @@ # installer-scripts -A methodology for installing any software on my ubuntu system. It is supposed to used by users without privileges. Trying to be a home-brew like system +A methodology for installing any software on my ubuntu system. It is supposed to used by users without privileges, Inspired by home-brew system + +## Installation +```bash +wget 'https://raw.githubusercontent.com/harish2704/installer-scripts/master/installer.sh' -O - | sh +``` + +## Important directories + +* ```$HOME/.local/Apps``` --> Application installation root directory. It is like C://ProgramFiles in Windows. +* ```$HOME/.local/installTmp``` --> Temporary directory where all installation files are downloaded. +* ```$HOME/.local/Apps//binaries.lst``` --> List of executable files provided by this particular application ( say 'app_name' ). +* ```$HOME/.local/bin/``` --> Symbolic links are created here for each file in ```$HOME/.local/Apps//binaries.lst``` . +* ```$HOME/.local/bin/installer-script.sh``` --> The main executable script. +* ```$HOME/.local/Apps/installer-scripts``` --> Installation directory of this application +* ```$HOME/.local/Apps/installer-scripts/packages/``` --> Installation script for 'app_name' + +## Usage + +* List aplications that can be installed using 'installer-script.sh' +```bash +installer-script.sh --list +``` + +* Update 'installer-script' application +```bash +installer-script.sh --update +``` + +* Install a application using 'installer-script' application +```bash +installer-script.sh --install +```