Skip to content

AmigaLabs/apt-os4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apt-os4

apt-os4 is a package manager for AmigaOS 4, inspired by Debian's apt. It allows users to search, install, update, and remove clib4 library packages from its repository using a command-line interface.

Features

  • Download and parse repository metadata (InRelease, Packages files)
  • Search for packages by name or description
  • Install packages (.deb files) and extract their contents into SDK: folder on AmigaOS4
  • Update local package lists and check for updates
  • Remove installed packages
  • Supports options for verbose output and ignoring SSL peer verification

Directory Structure

  • src/ — Source code files
  • build/ — Build output (object files, binaries)
  • Makefile — Build instructions
  • .gitignore — Files and directories to ignore in git
  • sources.list — List of repositories

Build Instructions

To build the project, run:

make

The resulting binary will be placed in the build directory.

Usage

Assign APT: where you want all apt data will be saved (an installer is planned).
Execute apt update to create the package list

Use following commands:

apt install <package1> <package2> ...
apt uninstall <package1> <package2> ...
apt remove <package1> <package2> ...
apt search <package> ...
apt list
apt update
apt upgrade

to manage packages.

Options

  • --verbose — Enable verbose output
  • --ignorepeers — Skip SSL peer verification
  • --help — Show usage information

Configuration

Edit sources.list to add or remove repositories. Each line should follow the format:

deb <repository_url> <distribution>

Example:

deb https://example.com/ repo

Create deb files

To create .deb files to publish to clib4 repository please refer to clib4 repository wiki

Dependencies

License

This project is licensed under the GPL License.