# Creating an ISO

Heavy packaging of Nexa Linux can be difficult, which is why we made our own ISO packaging script.

First, start off with a clean Ubuntu VM.

Set a password for the root password with sudo passwd root (it will be removed later).

Once you're in, clean up after the user that you had to make while installing:

userdel YOUR_USERNAME
rm -rf /home/YOUR_USERNAME

Then, install wget, nano and python3:

sudo apt install -y nano wget python3

After installing the packages, download the necessary scripts:

mkdir /tmp/nexa-prod/
wget https://scripts.nexalinux.xyz/nlcs.py -O /tmp/nexa-prod/nlcs.py
wget https://scripts.nexalinux.xyz/iso.py -O /tmp/nexa-prod/iso.py

Remove wget HSTS rules:

rm ~/.wget-hsts

And now, execute nlcs.sh (NLCS):

python3 /tmp/nexa-prod/nlcs.py

After that's done, immediately run the ISO creator:

python3 /tmp/nexa-prod/iso.py

And now, grab the ISO in /home/eggs and you're done!