{"id":15663931,"url":"https://github.com/spk/ruby-apt-pkg","last_synced_at":"2025-05-05T23:02:26.168Z","repository":{"id":13030087,"uuid":"15709740","full_name":"spk/ruby-apt-pkg","owner":"spk","description":"Ruby interface to Debian apt-pkg","archived":false,"fork":false,"pushed_at":"2023-08-26T15:34:54.000Z","size":150,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T12:13:48.978Z","etag":null,"topics":["apt","binding","debian","ruby","ruby-interface"],"latest_commit_sha":null,"homepage":"http://www.rubydoc.info/gems/apt-pkg","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spk.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-01-07T16:26:50.000Z","updated_at":"2023-07-09T08:46:13.000Z","dependencies_parsed_at":"2024-10-23T08:45:05.269Z","dependency_job_id":"4911f83b-5445-4c57-bf21-24da73edacc4","html_url":"https://github.com/spk/ruby-apt-pkg","commit_stats":{"total_commits":116,"total_committers":1,"mean_commits":116.0,"dds":0.0,"last_synced_commit":"9505e243610beceec79022f2b73d86517fa58e61"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spk%2Fruby-apt-pkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spk%2Fruby-apt-pkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spk%2Fruby-apt-pkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spk%2Fruby-apt-pkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spk","download_url":"https://codeload.github.com/spk/ruby-apt-pkg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252590572,"owners_count":21772936,"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":["apt","binding","debian","ruby","ruby-interface"],"created_at":"2024-10-03T13:40:32.498Z","updated_at":"2025-05-05T23:02:26.152Z","avatar_url":"https://github.com/spk.png","language":"C++","readme":"# Ruby interface to apt-pkg\n\nGoal of this project is to have a proper Ruby binding to APT like in\n[Python](https://tracker.debian.org/pkg/python-apt).\n\nCurrently install, remove packages commands are **not** implemented.\n\n## INSTALL\n\n```\napt install build-essential ruby-dev libapt-pkg-dev (\u003e= 1.0)\ngem install apt-pkg\n```\n\n## USING\n\nBasic usage:\n\n``` ruby\nrequire 'debian/apt_pkg'\n\n# Initialize the configuration and system of apt\nDebian::AptPkg.init\n\n# Update the index files used by the cache\nDebian::AptPkg::PkgCache.update\n\n# List packages stored in the cache\nDebian::AptPkg::PkgCache.packages\n\n# List installed packages\nDebian::AptPkg::PkgCache.packages.select { |pkg| pkg.is_installed }\n```\n\n[Documentation](http://www.rubydoc.info/gems/apt-pkg)\n\n## BUILD\n\n``` console\nrake compile\n```\n\n## TEST\n\n``` console\nrake test\n```\n\n## LICENSE\n\nThe MIT License\n\nCopyright (c) 2014-2020 Laurent Arnoud \u003claurent@spkdev.net\u003e\n\n---\n[![Build](https://img.shields.io/gitlab/pipeline/spkdev/ruby-apt-pkg/master)](https://gitlab.com/spkdev/ruby-apt-pkg/-/commits/master)\n[![Version](https://img.shields.io/gem/v/apt-pkg.svg)](https://rubygems.org/gems/apt-pkg)\n[![Documentation](https://img.shields.io/badge/doc-rubydoc-blue.svg)](http://www.rubydoc.info/gems/apt-pkg)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT \"MIT\")\n[![Project status](https://img.shields.io/badge/status-experimental-red)](https://github.com/spk/ruby-apt-pkg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspk%2Fruby-apt-pkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspk%2Fruby-apt-pkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspk%2Fruby-apt-pkg/lists"}