mirror of
https://github.com/harish2704/installer-scripts.git
synced 2026-09-10 06:11:08 +00:00
39e3243d1f6b432b5c6692c2f5ab167eb13c6c99
installer-scripts
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
Add $HOME/.local/bin to your PATH
echo 'export PATH="$HOME/.local/bin:$PATH";' >> ~/.profile
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/<app_name>/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/<app_name>/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/<app_name>--> Installation script for 'app_name'
Usage
- List aplications that can be installed using 'installer-script.sh'
installer-script.sh list-apps
- Update 'installer-script' application
installer-script.sh update
- Install a application using 'installer-script' application
installer-script.sh install <app_name>
Example
installer-script.sh install nodejs-> Installs using in-built installation script.installer-script.sh install https://github.com/harish2704/neovim-konsole-> Installs using generic formula.`
Languages
Shell
100%