2025-09-30 22:10:02 +02:00
# 🧬 LPKG – Lightweight Package Manager
2025-09-30 17:15:01 +02:00
2025-09-30 22:10:02 +02:00
LPKG is a minimalistic package manager written in Rust, designed for fast and simple software management on Unix-like systems. It emphasizes reproducibility and declarative configuration, leveraging **Nix Flakes** for development and deployment.
2025-09-30 17:15:01 +02:00
---
2025-09-30 22:10:02 +02:00
## 🚀 Features
2025-09-30 17:15:01 +02:00
2025-09-30 22:10:02 +02:00
* **Fast & Lightweight** – Minimal resource usage and quick operations.
* **Rust-Powered** – Safe and concurrent code with Rust.
* **Cross-Platform** – Works on Linux and macOS.
* **Declarative Builds** – Fully reproducible with Nix Flakes.
* **Simple CLI** – Intuitive commands for managing packages.
2025-09-30 17:15:01 +02:00
---
2025-09-30 22:10:02 +02:00
## ⚙️ Installation
2025-09-30 17:15:01 +02:00
2025-09-30 22:10:02 +02:00
### Using Cargo
```bash
cargo install lpkg
```
### Using Nix Flakes
If you have Nix with flakes enabled:
```bash
nix profile install github:lesbiannix/lpkg
```
Or to run without installing:
```bash
nix run github:lesbiannix/lpkg
```
2025-09-30 17:15:01 +02:00
---
2025-09-30 22:10:02 +02:00
## 🧰 Usage
Basic command structure:
```bash
lpkg [command] [package]
```
Common commands:
* `install` – Install a package
* `remove` – Remove a package
* `update` – Update the package list
* `upgrade` – Upgrade all installed packages
For detailed usage:
```bash
lpkg --help
```
---
## 🔧 Development with Flakes
Clone the repository:
```bash
git clone https://github.com/lesbiannix/lpkg.git
cd lpkg
```
2025-09-30 17:15:01 +02:00
2025-09-30 22:10:02 +02:00
Enter the flake development shell:
2025-09-30 17:15:01 +02:00
```bash
2025-09-30 22:10:02 +02:00
nix develop
2025-09-30 17:15:01 +02:00
```
2025-09-30 22:10:02 +02:00
Build the project:
2025-09-30 17:15:01 +02:00
```bash
2025-09-30 22:10:02 +02:00
cargo build
2025-09-30 17:15:01 +02:00
```
2025-09-30 22:10:02 +02:00
Run tests:
2025-09-30 17:15:01 +02:00
```bash
2025-09-30 22:10:02 +02:00
cargo test
2025-09-30 17:15:01 +02:00
```
2025-09-30 22:10:02 +02:00
You can also run the project directly in the flake shell:
2025-09-30 17:15:01 +02:00
```bash
2025-09-30 22:10:02 +02:00
nix run
2025-09-30 17:15:01 +02:00
```
---
2025-09-30 22:10:02 +02:00
## 📄 License
2025-09-30 17:15:01 +02:00
2025-09-30 22:10:02 +02:00
LPKG is licensed under the [MIT License ](LICENSE ).
2025-09-30 17:15:01 +02:00