{"id":13586952,"url":"https://github.com/lodosgroup/lpm","last_synced_at":"2025-04-07T18:35:20.996Z","repository":{"id":40321078,"uuid":"459761130","full_name":"lodosgroup/lpm","owner":"lodosgroup","description":"an experimental package manager for operating systems","archived":false,"fork":false,"pushed_at":"2024-03-03T19:30:11.000Z","size":436,"stargazers_count":65,"open_issues_count":21,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-02T16:05:13.744Z","etag":null,"topics":["linux","operating-system","package-manager","rust","source-builder","unix"],"latest_commit_sha":null,"homepage":"https://lpm.lodosgroup.org","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lodosgroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-02-15T21:49:09.000Z","updated_at":"2024-07-07T17:35:43.000Z","dependencies_parsed_at":"2023-02-18T20:16:08.770Z","dependency_job_id":"a78d7872-13d6-4777-9e81-395aea5b282d","html_url":"https://github.com/lodosgroup/lpm","commit_stats":null,"previous_names":["lodosgroup/lpm"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lodosgroup%2Flpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lodosgroup%2Flpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lodosgroup%2Flpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lodosgroup%2Flpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lodosgroup","download_url":"https://codeload.github.com/lodosgroup/lpm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223290315,"owners_count":17120887,"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":["linux","operating-system","package-manager","rust","source-builder","unix"],"created_at":"2024-08-01T15:05:55.760Z","updated_at":"2024-11-06T05:30:58.659Z","avatar_url":"https://github.com/lodosgroup.png","language":"Rust","readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://lpm.lodosgroup.org/images/logo/lpm-logo.png\" /\u003e\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\n**This is the main source code repository for Lod Package Manager.**\n\n- For a comprehensive understanding of the project, refer to this blog post [An Experimental Package Manager For Operating Systems: LPM](https://onurozkan.dev/read/an-experimental-system-package-manager-lpm/)\n\n- Please refer to the documentation at [lpm.lodosgroup.org/docs](https://lpm.lodosgroup.org/docs/getting-started/introduction) for more information.\n\n- If you'd like to add/update or propose packages for the lpm repositories, please visit [github.com/lodosgroup/package-builds](https://github.com/lodosgroup/package-builds).\n\n- To report bugs, suggest improvements, or request new features, kindly [open a GitHub issue](https://github.com/lodosgroup/lpm/issues/new).\n\n- For security-related concerns, please [open a private security vulnerability report](https://github.com/lodosgroup/lpm/security/advisories/new). We kindly ask you not to create a public issue on GitHub for security matters.\n\n- To explore the packages available in the official lpm repositories, visit [lpm.lodosgroup.org/explore-packages](https://lpm.lodosgroup.org/explore-packages/).\n\n- For guidance on contributing, read [lpm.lodosgroup.org/docs/contributing/contribution-guidelines/](https://lpm.lodosgroup.org/docs/contributing/contribution-guidelines/) and [lpm.lodosgroup.org/docs/contributing/code-of-conduct/](https://lpm.lodosgroup.org/docs/contributing/code-of-conduct/).\n\n- Get the latest news and updates about lpm [lpm.lodosgroup.org/news](https://lpm.lodosgroup.org/news/).\n\n## Quickstart\n\n\u003cdiv align=\"center\"\u003e\n\n*Package install and delete demonstration in docker*\n\n![lpm-demo](https://lpm.lodosgroup.org/lpm-demo.svg)\n\n\u003c/div\u003e\n\n### Install with Cargo\n\nTo install LPM from a specific branch, run the following command:\n\n```sh\ncargo install --git https://github.com/lodosgroup/lpm --branch main\n```\n\nAlternatively, you can install it from tags:\n\n```sh\ncargo install --git https://github.com/lodosgroup/lpm --branch \u003ctag\u003e\n```\n\nTo confirm a successful LPM installation, simply execute the `lpm -v` or `lpm --version` command.\n\n### Build LPM from Source\n\nIf you prefer building LPM from its source code (usually preferred for development), follow these steps:\n\n1. **Clone the lpm repository from GitHub**:\n\n   ```sh\n   git clone https://github.com/lodosgroup/lpm\n   ```\n\n2. **Change into the cloned repository directory**:\n\n   ```sh\n   cd lpm\n   ```\n\n3. **Build the lpm executable**:\n    \n\n   ```sh\n   cargo build --release # exclude the `--release` flag for debugging\n   ```\n\nAfter the building, you will be able to use the lpm executable under`target/{debug/release}` directory.\n\n### Try in Docker\n\nYou don't need to install LPM on your host system just to play with it. You can use the docker image instead:\n\n```sh\ndocker run -it ozkanonur/lpm:alpha\n```\n\nIf you want to do some benchmarking with `perf` tool, you may need to add `--privileged` flag:\n\n```sh\ndocker run -it --privileged ozkanonur/lpm:alpha\n```\n\nNow, you can play with LPM as you like in the container without touching your host system.\n\n### Database and Repository Setup (ignore this step if using docker):\n\n1. **Migrate LPM database**:\n\n    The first step is to migrate the LPM database. This process initializes the core database files required for LPM to function effectively.\n\n    ```sh\n    sudo lpm --update --db\n    ```\n\n2. **Add repository**:\n\n    Adding a repository is essential for LPM to access and manage packages. A repository acts as the source of packages for your system. Let's add the `linux-amd64-default` repository as an example.\n\n    ```sh\n    # args: \u003crepository-name\u003e \u003crepository-url\u003e\n    sudo lpm --repository --add linux-amd64-default linux-amd64-default.lpm.lodosgroup.org\n    ```\n\n    Once you've added the repository, LPM will synchronize with the package indexes sourced from the added repository. This indicates that you are all set to install packages.\n\n### Basic Usage\n\n1. **Install a package**:\n\n    Installing packages using LPM is straightforward. Simply use the following command, replacing \u003cpackage-name\u003e with the name of the package you want to install.\n\n    ```sh\n    # args: \u003cpackage-name\u003e\n    sudo lpm --install lzip\n    ```\n\n    To confirm the successful completion of the installation, you can check by running the command `lzip --version`.\n\n2. **Delete the installed package**:\n\n    If you want to delete a package from your system, use the delete command followed by the package name.\n\n    ```sh\n    # args: \u003cpackage-name\u003e\n    sudo lpm --delete lzip\n    ```\n\nThese steps cover the basic operations to quickly start using the LOD Package Manager. You can explore the advanced features of LPM from the docs at https://lpm.lodosgroup.org.\n","funding_links":[],"categories":["Rust","unix","Applications"],"sub_categories":["System tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flodosgroup%2Flpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flodosgroup%2Flpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flodosgroup%2Flpm/lists"}