Skip to content

OpenCog packaging-related files for Debian / Ubuntu

Notifications You must be signed in to change notification settings

iCogLabs/opencog-debian

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCog packaging-related files for Debian / Ubuntu

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.

Pre-built OpenCog packages for Debian sid

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 Buster (testing) or the recent Ubuntu releases. And of course, you can quite easily rebuild them by yourself.

How to apt-get opencog

  1. 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/
  1. You need to add my GPG pubkey.

$ wget -q -O - https://people.debian.org/~mhatta/mhatta.asc | sudo apt-key add

  1. Install packages.

$ sudo apt-get update; sudo apt-get install opencog

There are currently 5 packages available: opencog, opencog-cogutils, opencog-atomspace, opencog-moses, opencog-relex. 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.

Building OpenCog by yourself using these files

  1. Clone this repo into a directory.

  2. Create directories, then clone each OpenCog GitHub repo into those dirs.

  3. Copy update-$REPO_NAME.sh into each directory.

So the directory structure will look like the following:

.
├── atomspace
│   ├── atomspace (repo)
│   └── update-atomspace.sh
├── cogutils
│   ├── cogutils (repo)
│   └── update-cogutils.sh
├── moses
│   ├── moses (repo)
│   └── update-moses.sh
├── opencog
│   ├── opencog (repo)
│   └── update-opencog.sh
├── opencog-debian (repo)
│   ├── README.md
│   ├── atomspace
│   ├── cogutils
│   ├── moses
│   ├── opencog
│   └── relex
├── relex
     ├── relex (repo)
     └── update-relex.sh
  1. Run update-$REPO_NAME.sh. This will create the source dir and the orig source tarball, then copy debian/ into the source dir.

  2. Install needed packages for the build by sudo apt-get build-dep $PACKAGE_NAME. Edit debian/changelog.

  3. In the source dir, run $ dpkg-buildpackage -rfakeroot

License

Files in this repo are put in Public Domain.

About

OpenCog packaging-related files for Debian / Ubuntu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 71.0%
  • Shell 29.0%