Skip to content

Step 1: create the main directory

iVAN edited this page Mar 16, 2022 · 1 revision

Each installation script is a normal shell script, so add the shebang:

#!/bin/sh

The name of the program, this way:

APP=your-app

And finally create a place where the program will be placed, in /opt:

mkdir /opt/$APP
cd /opt/$APP