This repository contains files for packaging the OpenCog AI/AGI testbed for Debian / Ubuntu based GNU/Linux distributions. For general information on OpenCog, visit the official website or the offcial Wiki.
Table of Contents
I periodically upload pre-built OpenCog packages to my personal Debian APT repository. I usually build these packages on Debian sid (unstable), but you can use them on Debian Bullseye (testing) or the recent Ubuntu releases. And of course, you can quite easily rebuild them by yourself.
- Put something like the following as /etc/apt/sources.list.d/opencog.list:
deb https://people.debian.org/~mhatta/debian mhatta-unstable/
deb-src https://people.debian.org/~mhatta/debian mhatta-unstable/
Or, you can download opencog.list from here.
- You need to add my GPG pubkey.
$ wget -q -O - https://people.debian.org/~mhatta/mhatta.asc | sudo apt-key add
- Install packages.
$ sudo apt-get update; sudo apt-get install opencog
There are currently 9 packages available: opencog
, opencog-cogutil
, opencog-atomspace
, opencog-moses
, opencog-asmoses
, opencog-relex
, opencog-miner
, opencog-cogserver
, opencog-ure
, opencog-visualization
. opencog
depends on the others, so apt-get install opencog
should be enough. apt-get source
,apt-get build-dep
, etc. should also work.
jwnl
(Java WordNet Library) is not a part of OpenCog, but is available in this APT repository since opencog-relex
uses it and not available in the main Debian archive. link-grammar
is avavilable in the main Debian archive but sadly has been orphaned and has no Debian maintainer currently.
Also, you can access the APT repository directly: https://people.debian.org/~mhatta/debian/mhatta-unstable/. You can download older packages from there by hand.
Debian-based Docker container image is available at dockerhub.
-
Clone this repo into a directory.
-
Create directories, then clone each OpenCog GitHub repo into those dirs.
-
Copy
update-$REPO_NAME.sh
into each directory.
So the directory structure will look like the following:
.
├── asmoses
│ ├── asmoses (repo)
│ └── update-asmoses.sh
├── atomspace
│ ├── atomspace (repo)
│ └── update-atomspace.sh
├── cogserver
│ ├── cogserver (repo)
│ └── update-cogserver.sh
├── cogutils
│ ├── cogutils (repo)
│ └── update-cogutils.sh
├── miner
│ ├── miner (repo)
│ └── update-miner.sh
├── moses
│ ├── moses (repo)
│ └── update-moses.sh
├── opencog
│ ├── opencog (repo)
│ └── update-opencog.sh
├── opencog-debian (repo)
│ ├── README.md
│ ├── atomspace
│ ├── cogutils
│ ├── miner
│ ├── moses
│ ├── opencog
│ └── relex
│ └── ure
├── relex
│ ├── relex (repo)
│ └── update-relex.sh
├── ure
│ ├── ure (repo)
│ └── update-ure.sh
├── visualization
├── visualization (repo)
└── update-visualization.sh
-
Run
update-$REPO_NAME.sh
. This will create the source dir and the orig source tarball, then copydebian/
into the source dir fromopencog-debian
. -
Install needed packages for the build by
sudo apt-get build-dep $PACKAGE_NAME
. Editdebian/changelog
. -
In the source dir, run
$ dpkg-buildpackage -rfakeroot
Files in this repo are put in Public Domain.