The `installs_with_apt` clause is a fact on its own, and shouldn't be within the `meet` clause. Just replace the linux part with:

```prolog
installs_with_apt('emacs').
```

The meet and met clauses for linux are automatic: https://github.com/larsyencken/marelle/blob/master/04-apt.pl#L39