-
Notifications
You must be signed in to change notification settings - Fork 0
Install
uimaxbai edited this page Jun 14, 2023
·
1 revision
There are two ways to install OSP.
Installing OSP is easy.
Run this in a terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/spartanproj/OSP/main/install.sh)"
The script does not download a binary, but instead downloads the source code and then compiles it.
If you're planning to develop on OSP or scared that we'll install a virus or something, you can build OSP from source.
-
Clone the repository:
git clone https://github.com/spartanproj/OSP
-
Install
nuitka
:pip install nuitka
-
Build using Nuitka.
python3 -m nuitka --standalone|--onefile <path/to/main.py>
Note: using
--standalone
compiles a binary inmain.dist
and the libraries inmain.build
, requiring them both. Using--onefile
allows you to have one file,main.bin
, but is slower as it has to unarchive the libraries into your temporary folder. The script uses the--standalone
parameter for performance. -
Move the file(s) to your desired location.
NerdOS's package manager - osp
.