Installing Sweeprolog plugin in Emacs

I am new to Prolog, and I just joined swi-prolog.discourse.group.

I am trying to install sweeprolog package for Emacs.

I tried “M-x package-install RET sweeprolog RET” and I got “[no-match]”.

And I tried “M-x package-list-packages RET” I got a list, but there was no sweeprolog package in that list.

I use Ubuntu 24.04.1 LTS.

How do I install Sweeprolog? Is sweeprolog still supported? What is the best IDE/plugin for Prolog currently?

You may need to configure emacs to use NonGNU Elpa as a source, see install instructions in the manual.

There’s also the LSP server that I’m developing and have been able to devote more attention to recently. Sweeprolog is certainly more feature-rich though.