{"id":16027043,"url":"https://github.com/ashwinvis/apt-local","last_synced_at":"2026-02-18T14:02:43.479Z","repository":{"id":95790088,"uuid":"117974550","full_name":"ashwinvis/apt-local","owner":"ashwinvis","description":"📦 Simple package manager for local installations (without sudo) for Debian-based distros","archived":false,"fork":false,"pushed_at":"2019-09-04T08:13:41.000Z","size":45,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-13T00:53:41.921Z","etag":null,"topics":["debian","package-manager"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ashwinvis.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":"CONTRIBUTING.md","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":"2018-01-18T11:32:43.000Z","updated_at":"2024-07-03T15:01:59.000Z","dependencies_parsed_at":"2023-04-26T20:01:24.503Z","dependency_job_id":null,"html_url":"https://github.com/ashwinvis/apt-local","commit_stats":{"total_commits":27,"total_committers":4,"mean_commits":6.75,"dds":0.4814814814814815,"last_synced_commit":"474a6782bbf411a07bbf6b05dfa64dd302c3bbdb"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ashwinvis/apt-local","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwinvis%2Fapt-local","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwinvis%2Fapt-local/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwinvis%2Fapt-local/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwinvis%2Fapt-local/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashwinvis","download_url":"https://codeload.github.com/ashwinvis/apt-local/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwinvis%2Fapt-local/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278903601,"owners_count":26065907,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["debian","package-manager"],"created_at":"2024-10-08T20:04:45.845Z","updated_at":"2025-10-08T07:10:30.763Z","avatar_url":"https://github.com/ashwinvis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"apt-local\n=========\n\n[![image](https://img.shields.io/pypi/v/apt_local.svg)](https://pypi.python.org/pypi/apt_local)\n[![image](https://img.shields.io/travis/ashwinvis/apt-local.svg)](https://travis-ci.org/ashwinvis/apt-local)\n[![Documentation\nStatus](https://readthedocs.org/projects/apt-local/badge/?version=latest)](https://apt-local.readthedocs.io/en/latest/?badge=latest)\n\nSimple symlink-based package manager for local installations (without sudo)\n\n* Free software: GNU General Public License v3\n\n* Documentation: https://apt-local.readthedocs.io.\n\n# Features\n\nMeant for Debian-based distributions: such as Debian / Ubuntu /\nLinux Mint and so on.\n\nThis package is born out of the frustration of a typical grad student\nwho has no admin-rights over the machine, and has to rely on the\nsystem-admin over and over for installation of that \"X\" package.\n\n## Requirements\n\n  - Debian-based OS or atleast `dpkg`, `apt-get` and `apt-cache`\n    installed\n  - GNU Stow: [HTTP](https://ftp.gnu.org/gnu/stow/) |\n    [FTP](ftp://ftp.gnu.org/gnu/stow/) |\n    [Git](https://savannah.gnu.org/git/?group=stow) |\n    [CPAN](https://metacpan.org/pod/distribution/Stow/bin/stow)\n\nIf Stow is not available in the system you may use [this\nscript](https://gist.github.com/ashwinvis/a533c210d1ba788479a3724558e4d873)\nto install it.\n\n\u003cdiv class=\"warning\"\u003e\n\u003cdiv class=\"admonition-title\"\u003e\nWarning\n\u003c/div\u003e\n\nThis is an experimental project, and often results in hit-or-miss\nsituation. The advantages with apt-local is a lightweight installation\nand installing packages requires no compilation. If you want a more\nrobust package manager use one of the following:\n\n  - NixOS/nix\n  - conda/conda\n  - fsquillace/junest\n  - bpkg/bpkg\n\n\u003c/div\u003e\n\n## Quick start\n\nInstall the package using **either** of the following commands\n\n``` bash\npython setup.py install --user  # with the source code\npip install apt-local --user  # without the source code\n```\n\nTo get started choose a local directory where you would like the package\nto be installed. For example `~/.local` or\n`\u003cpath-to-scratch-directory\u003e/.local` and a directory called `apt-cache`\n(name can be anything) **under it** (very important\\!). This can simply\nbe done as:\n\n``` bash\napt-local set-path ~/.local/apt-cache\napt-local show-path\n```\n\nInstalling a `.deb` package is made as simple as:\n\n``` bash\nusage: apt-local install [-h] pkg\n\npositional arguments:\n  pkg\n```\n\nFor example `apt-local install wget`.\n\n## Usage\n\nThe subcommands serve self-explanatory purposes. The subcommands\n`set-path` and `show-path` are used to configure path and display the\nconfigured path respectively.\n\n``` bash\nusage: apt-local [-h] {install,uninstall,list,set-path,show-path} ...\n\npositional arguments:\n  {install,uninstall,list,set-path,show-path}\n\noptional arguments:\n  -h, --help            show this help message and exit\n```\n\nMake your installation useable by setting up environment variables such\nas `PATH`, `LD_LIBRARY_PATH`, `CPATH` etc. in the `~/.profile` or\n`~/.bashrc`. The following snippet can be adapted:\n\n``` bash\nexport PATH=$PATH:$HOME/.local/bin\nexport CPATH=$CPATH:$HOME/.local/include\nexport LIBRARY_PATH=$LIBRARY_PATH:$HOME/.local/lib\nexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/.local/lib\n```\n\n# Credits\n\nThis package was created with\n[Cookiecutter](https://github.com/audreyr/cookiecutter) and the\n[ashwinvis/cookiecutter-pypackage](https://github.com/ashwinvis/cookiecutter-pypackage)\nproject template.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwinvis%2Fapt-local","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashwinvis%2Fapt-local","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwinvis%2Fapt-local/lists"}