{"id":18365237,"url":"https://github.com/openlink/virtuoso-opensource-snap","last_synced_at":"2026-05-02T02:38:24.877Z","repository":{"id":66842505,"uuid":"131648693","full_name":"openlink/virtuoso-opensource-snap","owner":"openlink","description":"Initial release of an OpenLink Virtuoso Open Source Edition 7.2.x snap package.","archived":false,"fork":false,"pushed_at":"2018-05-02T10:16:12.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-02-15T19:51:14.560Z","etag":null,"topics":["databases","openlink","snap","snap-packages","ubuntu","virtuoso-database","virtuoso-server"],"latest_commit_sha":null,"homepage":"http://vos.openlinksw.com/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openlink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-30T21:31:31.000Z","updated_at":"2018-05-02T10:36:38.000Z","dependencies_parsed_at":"2023-05-11T05:30:24.450Z","dependency_job_id":null,"html_url":"https://github.com/openlink/virtuoso-opensource-snap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlink%2Fvirtuoso-opensource-snap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlink%2Fvirtuoso-opensource-snap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlink%2Fvirtuoso-opensource-snap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlink%2Fvirtuoso-opensource-snap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openlink","download_url":"https://codeload.github.com/openlink/virtuoso-opensource-snap/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248225656,"owners_count":21068078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["databases","openlink","snap","snap-packages","ubuntu","virtuoso-database","virtuoso-server"],"created_at":"2024-11-05T23:12:57.061Z","updated_at":"2026-05-02T02:38:24.843Z","avatar_url":"https://github.com/openlink.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenLink Virtuoso Open Source Edition (SNAP)\n\nCopyright (c) 2018 OpenLink Software\n\n## Intro\nThis is an **experimental** release of an OpenLink Virtuoso Open Source Edition 7.2.x snap package.\n\n**DISCLAIMER**:\n    At this time this package should be used for testing only and is not recommended in production or mission critical environments.\n\nVirtuoso is a scalable cross-platform server that combines Relational, Graph, and Document Data Management with Web Application Server and Web Services Platform functionality.\n\nAs stated on the [SnapCraft website](http://snapcraft.io):\n```\n    Snaps are containerised software packages that are simple to create and install.\n    They auto-update and are safe to run. And because they bundle their dependencies,\n    they work on all major Linux systems without modification.\n```\n\nDistributions that support snap packages currently include recent versions of Ubuntu, Debian, Mint, Gentoo, Arch, Fedora and OpenSuse.\n\n\n## Installing the snap package on your local systems\n\n### Building the snap package from source\nTo build snap packages you first need to install a number of development tools including a C compiler and a number of development libraries.\n\nThe following instructions will work on most recent Debian and Ubuntu installations:\n```shell\n    # Install the snap daemon and the snapcraft toolkit\n    $ sudo apt install snapd snapcraft\n\n    # Install the basic development tools\n    $ sudo apt install build-essential equivs devscripts \\\n                       autoconf automake bison flex gawk git gperf libtool \\\n                       git make tar gzip bzip2 m4 vim openssl\n\n    # Install development libraries\n    $ sudo apt install libbz2-dev libldap2-dev libssl-dev liblzma-dev libz-dev libedit-dev\n```\n\nInstalling a development environment on other Linux distributions follows a similar pattern.\n\nTo build this snap package in your own environment you can run the following commands:\n```shell\n    # Clone this project to your local system\n    $ git clone https://github.com/openlink/virtuoso-opensource-snap\n    $ cd virtuoso-opensource-snap\n\n    # The following command will download the latest VOS sources from github,\n    # run configure, make, make install and bundle the resulting into a snap image\n    # Depending on your machine, this may take some time\n    $ make\n\n    # If successful you should end up with\n    $ ls -lh *.snap\n    -rw-r--r-- 1 pkleef development 44068864 Apr 30 20:51 virtuoso-opensource_7.2.5-dev_amd64.snap\n\n    # Install the snap image on your computer\n    $ sudo snap install --devmode virtuoso-opensource_7.2.5-dev_amd64.snap\n```\n\n### Downloading the snap package from OpenLink Software\nIf you rather just experiment with a pre-build version you can run the following commands:\n```shell\n    # Install the snap daemon\n    $ sudo apt install snapd\n\n    # Download a copy of the snap image build by OpenLink Software\n    $ cd /tmp\n    $ wget ftp://devhub.openlinksw.com/pub/Support/snap/virtuoso-opensource_7.2.5-dev_amd64.snap\n\n    # Install the snap image on your computer\n    $ sudo snap install --devmode virtuoso-opensource_7.2.5-dev_amd64.snap\n```\n\n### Downloading the snap package from the snap repository\n**TODO**: OpenLink Software will create a registration for this package and provide instructions to download the package and install it.\n\n### Checking if the snap package is installed\nThe following command can be used to see if the package is installed:\n```shell\n    $ snap list\n    Name                 Version    Rev   Tracking  Developer  Notes\n    core                 16-2.32.5  4486  stable    canonical  core\n    virtuoso-opensource  7.2.5-dev  x1    -         -          devmode\n```\n\n### Uninstalling the snap package from your local systems\nThe following command can be used to remove the package from your system:\n```shell\n    $ sudo snap remove virtuoso-opensource\n```\n\n**IMPORTANT**: Removing the snap package also removes the virtuoso database and all other created content.\n\n\n## How to create and start a new virtuoso\n\nThe snap package installs a virtuoso-opensource command which is a wrapper script to simplify creating a new database instance, starting and stopping it etc.\n\nTo get a list of all the commands, simply run:\n```shell\n    $ virtuoso-opensource help\n\n    OpenLink Virtuoso Open Source Edition (SNAP)\n    Version: 7.2.5-dev/amd64/x1\n    Copyright (C) 1009-2018 OpenLink Software\n\n    Usage:\n        virtuoso-opensource CMD args\n\n    CMD list:\n      help           -  This text\n      version        -  Show version of current snap package\n      create [DB]    -  Create database DB\n      start [DB]     -  Start database DB\n      stop [DB]      -  Stop database DB\n      config [DB]    -  Show path to virtuoso.ini for database DB\n      logfile [DB]   -  Show path to virtuoso.log for database DB\n```\n\nThe script can be run by any user on the system to create a personal database under their own home directory:\n```\n    /home/loginname/snap/virtuoso-opensource/common\n```\nor using sudo to create a database in the system wide directory:\n```\n    /var/snap/virtuoso-opensource/common\n```\n\nNote that virtuoso can run multiple database instances simultaneous on the same platform as long as each installation uses unique port numbers.\n\n\n### Creating a new virtuoso database\nTo create a new Virtuoso database you can run the following command:\n```shell\n    $ virtuoso-opensource create testdb\n\n    Initializing new database in /home/pkleef/snap/virtuoso-opensource/common/testdb...\n\tMon Apr 30 2018\n    ...\n    ...\n    22:42:22 OpenLink Virtuoso Universal Server\n    22:42:22 Version 07.20.3217-pthreads for Linux as of Apr 30 2018\n    22:42:22 uses parts of OpenSSL, PCRE, Html Tidy\n    22:42:22 Starting for DBA password change.\n    22:42:22 SQL Optimizer enabled (max 1000 layouts)\n    22:42:22 Compiler unit is timed at 0.000600 msec\n    22:42:26 Checkpoint started\n    22:42:26 Roll forward started\n    22:42:26 Roll forward complete\n    22:42:26 Checkpoint started\n    22:42:26 Checkpoint finished, log reused\n    ...\n    22:42:28 The DBA password is changed.\n    22:42:28 The DAV password is changed.\n    22:42:28 Checkpoint started\n    22:42:29 Checkpoint finished, log reused\n    22:42:29 Server exiting\n\n    NOTE: Initial password for dba and dav: dOEEu29f\n```\n\nFor security reasons each new database is created with a unique random password for the dba and dav accounts. Please make a note of this password before continuing.\n\nNext we start the database:\n```shell\n    $ virtuoso-opensource start testdb\n```\n\nConnect to the new instance using the isql tool, login using the password recorded above and change the dba password:\n```shell\n    $ virtuoso-opensource isql testdb\n\n    Trying to contact virtuoso on port 1111\n    OpenLink Virtuoso Interactive SQL (Virtuoso)\n    Version 07.20.3217 as of Apr 30 2018\n    Type HELP; for help and EXIT; to exit.\n\n    *** Error 28000: [Virtuoso Driver]CL034: Bad login\n    at line 0 of Top-Level:\n\n    Enter password for dba :\n    Connected to OpenLink Virtuoso\n    Driver: 07.20.3217 OpenLink Virtuoso ODBC Driver\n    SQL\u003e user_set_password ('dba', 'myverysecretpassword');\n\n    Done. -- 3 msec.\n    SQL\u003e quit;\n```\n\nTo stop the virtuoso instance use:\n```\n    $ virtuoso-opensource stop testdb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlink%2Fvirtuoso-opensource-snap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenlink%2Fvirtuoso-opensource-snap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlink%2Fvirtuoso-opensource-snap/lists"}