Neonatox
📦

nhopkg

Universal package manager

Description

nhopkg is a package manager designed to work on any GNU/Linux distribution. It uses binary packages (`.nho`) and source packages (`.srcnho`), allowing you to create, install, convert, and manage software in a simple, consistent, and portable way.

Originally developed in 2010, nhopkg combines simplicity, power, and full control over packaging, being especially useful for Slackware-like systems or minimal environments.

Package formats

Extension Type
.nho Binary
.srcnho Source

Features

  • ✓ Automatic Slackware conversion (.tgz → .nho)
  • ✓ Dependency resolution
  • ✓ Source compilation
  • ✓ Repository management
  • ✓ Internationalization (i18n)
  • ✓ Compatible with any Linux

Installation

nhopkg uses Meson as the build system:

# Install dependencies
sudo apt install meson ninja-build

# Configure
meson setup builddir --prefix=/usr --sysconfdir=/etc --localstatedir=/var

# Build
ninja -C builddir

# Install
sudo ninja -C builddir install

Basic usage

sudo nhopkg -i package-1.0-1.nho

Install local binary package

sudo nhopkg -S package-name

Install from repository

sudo nhopkg -b package.srcnho

Build and install from source

sudo nhopkg -y

Update all packages

sudo nhopkg -r package-name

Remove a package

sudo nhopkg -z package.tgz

Convert Slackware package

Additional tools

  • nhopkg-repos - Repository management
  • nhouser - User/group management for package scripts
  • nhopkg-overlay - Isolated build environment with overlayfs

History: Originally created in 2010 by Jaime Gil de Sagredo Luna. Since then, maintained and evolved by Carlos Sánchez for the NeonatoX distribution.