An email will arrive to say if the package was accepted or rejected.
Wait for the autobuild to complete, and when the package is published, copy the
link to the `.deb` from "Package Details".
### Building an AppImage `.deb` and `.rpm` locally
The deb used in the PPA is different than the one downloaded from the website.
The latter is an encapsulation of an AppImage file which makes installation much easier and more likely to succeed due to the library dependencies being contained within.
Because of how AppImage works, the build cannot be done on a shared folder from within a VM that points back to the host OS’s file system (usually in /mnt/hgfs).
So be sure to checkout the source into a location that exists directly in the VM if you are using one.
To build the AppImage after successfully building using the make after qmake has ben run, do the following:
Ensure you these have two files in the folder up one level from the fractorium folder:
Make them executable by running this command in the folder they reside in:
`chmod +x ./*.AppImage`
Once those are installed, run these commands from the root of the fractorium folder:
`make`
`cd archive`
`./build_linux.sh`
In fractorium/Bin the output is contained in the following file:
`Fractorium-x.y.z.w-.x86_64.deb`
Alternatively, select the `.rpm` file for Red Hat.
These will contain an AppImage file inside of them. Just copy the file to the machine you want to install on and double click it. Follow the installer instructions.
## Narrative
Test that the package creator script:
`package-linux.sh` with no arguments builds a signed source for the Launchpad PPA.
Instead, now we want an unsigned binary `.deb`:
```
$ ./package-linux.sh --binary-only --unsigned
```
```
Error: Different version numbers were found. Please update the correct file,
the version numbers should agree up to the digits in:
a.b.c.d
w.x.y.z
./debian/changelog : a.b.c.d
./Source/Ember/EmberDefines.h : w.x.y.z
```
Change the version number in `debian/changelog` to match the one in `EmberDefines.h`. Next, get the time in the correct format and add it to a new entry in the changelog:
```
$ date -R
Sat, 18 Jun 2016 13:12:15 +0100
```
Add a new log message at the top of `debian/changelog`, copying the last message
and changing the version number and time.
```
fractorium (w.x.y.z-0ubuntu1) xenial; urgency=low
* release w.x.y.z
-- Matt Feemster <matt.feemster@gmail.com> Sat, 18 Jun 2016 13:12:15 +0100
```
Now try again:
```
$ ./package-linux.sh --binary-only --unsigned
```
You will be prompted with a question about the type of build:
```
Type of package: single binary, indep binary, multiple binary, library, kernel module, kernel patch?
[s/i/m/l/k/n]
```
Type `s` for single binary, `Enter`.
It displays a confirmation message, `Enter`.
The build starts. It copied the files which are not ignored in `.gitignore` out
to `~/PPA/fractorium-VERSION/`, and built it there.
Verify the build finished:
```
$ cd ~/PPA/fractorium-w.x.y.z
$ ls -lh
total 7.7M
drwxrwxr-x 2 user user 4.0K Jun 18 13:31 build-area
drwxrwxr-x 8 user user 4.0K Jun 18 13:19 fractorium
-rw------- 1 user user 780 Jun 18 13:31 fractorium_w.x.y.z-0ubuntu1_amd64.changes
-rw------- 1 user user 3.5M Jun 18 13:31 fractorium_w.x.y.z-0ubuntu1_amd64.deb
-rw-rw-r-- 1 user user 2.1M Jun 18 13:18 fractorium_w.x.y.z.orig.tar.gz
-rw-rw-r-- 1 user user 2.1M Jun 18 13:18 fractorium-w.x.y.z.tar.gz
```
This `.deb` is ready to use.
(aside)
You could upload this `.deb` to the website if you don't want to bother with the
Launchpad PPA. The advantages of the PPA are
- Testing the package and build procedure
- Users will automatically get the updated version when they run their regular upgrades
People prefer using the PPA to install and remain up to date like so: