How To Install pl-jpl on Fedora 36
Introduction
In this tutorial we learn how to install pl-jpl
on Fedora 36.
What is pl-jpl
JPL is a library using the SWI-Prolog foreign interface and the Java Native Interface providing a bidirectional interface between Java and Prolog that can be used to embed Prolog in Java as well as for embedding Java in Prolog. In both setups it provides a re-entrant bidirectional interface.
We can use yum
or dnf
to install pl-jpl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pl-jpl.
Install pl-jpl on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install pl-jpl
using dnf
by running the following command:
sudo dnf -y install pl-jpl
Install pl-jpl on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pl-jpl
using yum
by running the following command:
sudo yum -y install pl-jpl
How To Uninstall pl-jpl on Fedora 36
To uninstall only the pl-jpl
package we can use the following command:
sudo dnf remove pl-jpl
pl-jpl Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/0289d9d97c4998cc9565d92a349c81538751e3
/usr/lib64/swipl-8.4.2/lib/jpl.jar
/usr/lib64/swipl-8.4.2/lib/x86_64-linux/libjpl.so
/usr/lib64/swipl-8.4.2/library/jpl.pl
/usr/lib64/swipl-jpl
/usr/lib64/swipl-jpl/jpl.jar
/usr/lib64/swipl-jpl/libjpl.so
/usr/share/doc/pl-jpl
/usr/share/doc/pl-jpl/CNAME
/usr/share/doc/pl-jpl/Deployment.md
/usr/share/doc/pl-jpl/DeploymentJava.md
/usr/share/doc/pl-jpl/DeploymentLinux.md
/usr/share/doc/pl-jpl/DeploymentMacos.md
/usr/share/doc/pl-jpl/DeploymentWindows.md
/usr/share/doc/pl-jpl/DevelopmentJPL-Arch.md
/usr/share/doc/pl-jpl/DevelopmentJPL-Devel.md
/usr/share/doc/pl-jpl/DevelopmentJPL-Live.md
/usr/share/doc/pl-jpl/DevelopmentJPL-Setup.md
/usr/share/doc/pl-jpl/DevelopmentJPL-Test.md
/usr/share/doc/pl-jpl/DevelopmentJPL.md
/usr/share/doc/pl-jpl/JavaApi.md
/usr/share/doc/pl-jpl/JavaApiOverview.md
/usr/share/doc/pl-jpl/PrologApi.md
/usr/share/doc/pl-jpl/PrologApiOverview.md
/usr/share/doc/pl-jpl/PrologApiReference.md
/usr/share/doc/pl-jpl/README.md
/usr/share/doc/pl-jpl/ReleaseNotes.md
/usr/share/doc/pl-jpl/ReleaseNotes202.md
/usr/share/doc/pl-jpl/ReleaseNotes300.md
/usr/share/doc/pl-jpl/ReleaseNotes302.md
/usr/share/doc/pl-jpl/ReleaseNotes303.md
/usr/share/doc/pl-jpl/ReleaseNotes701.md
/usr/share/doc/pl-jpl/ReleaseNotes740.md
/usr/share/doc/pl-jpl/ReleaseNotes750.md
/usr/share/doc/pl-jpl/ReleaseNotes760.md
/usr/share/doc/pl-jpl/ReleaseNotes761.md
/usr/share/doc/pl-jpl/ToDo.md
/usr/share/doc/pl-jpl/Tutorial.md
/usr/share/doc/pl-jpl/TutorialInitializing.md
/usr/share/doc/pl-jpl/TutorialJavaCallsProlog.md
/usr/share/doc/pl-jpl/TutorialMultithreaded.md
/usr/share/doc/pl-jpl/TutorialResources.md
/usr/share/doc/pl-jpl/TutorialTypesOfQueries.md
/usr/share/doc/pl-jpl/_layouts
/usr/share/doc/pl-jpl/_layouts/default.html
/usr/share/doc/pl-jpl/images
/usr/share/doc/pl-jpl/images/junk.md
/usr/share/doc/pl-jpl/images/screendump.jpg
/usr/share/doc/pl-jpl/index.md
/usr/share/doc/pl-jpl/javadoc
/usr/share/doc/pl-jpl/javadoc/allclasses-frame.html
/usr/share/doc/pl-jpl/javadoc/allclasses-noframe.html
/usr/share/doc/pl-jpl/javadoc/constant-values.html
/usr/share/doc/pl-jpl/javadoc/deprecated-list.html
/usr/share/doc/pl-jpl/javadoc/help-doc.html
/usr/share/doc/pl-jpl/javadoc/index-all.html
/usr/share/doc/pl-jpl/javadoc/index.html
/usr/share/doc/pl-jpl/javadoc/org
/usr/share/doc/pl-jpl/javadoc/org/jpl7
/usr/share/doc/pl-jpl/javadoc/org/jpl7/Atom.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/Compound.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/Dict.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/Float.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/Integer.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/JPL.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/JPLException.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/JRef.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/PrologException.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/Query.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/Rational.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/Term.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/Util.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/Variable.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/BooleanHolder.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/DoubleHolder.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/Int64Holder.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/IntHolder.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/LongHolder.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/ObjectHolder.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/PointerHolder.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/Prolog.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/StringHolder.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/atom_t.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/engine_t.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/fid_t.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/functor_t.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/module_t.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/package-frame.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/package-summary.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/package-tree.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/predicate_t.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/qid_t.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/fli/term_t.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/package-frame.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/package-summary.html
/usr/share/doc/pl-jpl/javadoc/org/jpl7/package-tree.html
/usr/share/doc/pl-jpl/javadoc/overview-frame.html
/usr/share/doc/pl-jpl/javadoc/overview-summary.html
/usr/share/doc/pl-jpl/javadoc/overview-tree.html
/usr/share/doc/pl-jpl/javadoc/package-list
/usr/share/doc/pl-jpl/javadoc/script.js
/usr/share/doc/pl-jpl/javadoc/serialized-form.html
/usr/share/doc/pl-jpl/javadoc/stylesheet.css
References
Summary
In this tutorial we learn how to install pl-jpl
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).