{"id":17382949,"url":"https://github.com/ankit-ap-paul/first-debian-package","last_synced_at":"2026-04-20T09:32:37.511Z","repository":{"id":254288791,"uuid":"846078535","full_name":"Ankit-AP-Paul/first-debian-package","owner":"Ankit-AP-Paul","description":"My first Debian package","archived":false,"fork":false,"pushed_at":"2024-08-22T13:50:45.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T20:48:50.743Z","etag":null,"topics":["bash","debian-packages","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ankit-AP-Paul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-22T13:44:17.000Z","updated_at":"2024-08-22T13:49:13.000Z","dependencies_parsed_at":"2024-08-22T15:44:00.026Z","dependency_job_id":null,"html_url":"https://github.com/Ankit-AP-Paul/first-debian-package","commit_stats":null,"previous_names":["ankit-ap-paul/first-debian-package"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankit-AP-Paul%2Ffirst-debian-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankit-AP-Paul%2Ffirst-debian-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankit-AP-Paul%2Ffirst-debian-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankit-AP-Paul%2Ffirst-debian-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ankit-AP-Paul","download_url":"https://codeload.github.com/Ankit-AP-Paul/first-debian-package/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245924493,"owners_count":20694728,"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":["bash","debian-packages","shell-script"],"created_at":"2024-10-16T07:39:58.804Z","updated_at":"2026-04-20T09:32:37.479Z","avatar_url":"https://github.com/Ankit-AP-Paul.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# First Debian package\n\n### Installing packages\n\n```\nsudo apt install dpkg-dev devscripts debhelper build-essential\n```\n\n### Setting up directory structure\n\n```\npakage-name/\n|- DEBIAN\n   |- control\n|- usr\n   |- bin\n      |- bashscript.sh\n```\n\n### Add the following in `control` file\n\n```\nPackage: package-name\nVersion: 1.0\nSection: base\nPriority: optional\nArchitecture: all\nDepends: bash (or other dependencies)\nMaintainer: Your Name \u003cyour.email@example.com\u003e\nDescription: A simple package for demonstration purposes\n```\n\n### Set Permissions\n\n```\nchmod 755 usr/bin/bashscript.sh\nchmod 755 DEBIAN\n```\n\n### Build Package\n\nGo to the root of package directory and build the package\n\n```\ndpkg-deb --build package-name\n```\n\nThis creates a `.deb` file in the current directory named `package-name.deb`\n\n### Install and Test the package\n\n```\nsudo dpkg -i package-name.deb\n```\n\nRun the installed script\n\n```\nbashscript.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankit-ap-paul%2Ffirst-debian-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankit-ap-paul%2Ffirst-debian-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankit-ap-paul%2Ffirst-debian-package/lists"}