Skip to main content

Package manager for Beyond Linux from Scratch (BLFS) system

Project description

BLFS-automation:

"A simple Python package that simplifies your BLFS project in many ways..."

About this project:

This project is designed for people who have built their own LinuxFromScratch (LFS) system, and are now working on the next stage - BeyondLinuxFromScratch (BLFS). BLFS packages often require many other dependencies to work, and sometimes it is a bit cumbersome to install all of those. blfs-pm aims to make it easier to install these packages without the stress of downloading everything and calculating, while simultaneously allowing you to still get the full build experience.

Download and installation:

To get a local copy up and running follow these steps.

Prerequisites:

  • A working LFS system (check them out at https://www.linuxfromscratch.org/)
  • A working internet connection - you may need to install a couple of BLFS packages like NetworkManager, DHCPClient, and WPA-supplicant.
  • A working Python environment
  • Python3 package manager (Pip)
  • Git (https://www.linuxfromscratch.org/blfs/view/svn/general/git.html)

Installation:

pip install blfs-pm

Usage:

It is recommended that the package should always be run as root, in order to prevent errors when installing packages to the system.

This package has many options to list, download, list commands, or install a given package. Note: once again it is highly recommended that you always run this as root!

Usage: blfs-pm [-h] [-a] [-b PACKAGE] [-c PACKAGE] [-d PACKAGE] [-f] [-l PACKAGE] [-o] [-r] [-s PACKAGE] [--systemd]

Note: It is recommended to follow along the installation process in the BLFS book. blfs-pm is not perfect and I have not tested every BLFS package. There are still some issues with circular dependencies, and at the moment it is best to monitor everything to prevent problems. Additionally, the -b (build) option will prompt the user to run EVERY command provided for the specific package. Some commands can only be run if optional dependencies are installed (like Texlive, Docbook, etc.). Furthermore, some packages require further kernel configuration (and recompilation) as a prerequisite for installation.

  -h, --help                        show this help message and exit

  -a, --all                         Downloads ALL BLFS packages - uses a lot of time and space.

  -b PACKAGE, --build PACKAGE       Install a given Package on the system.

  -c PACKAGE, --commands PACKAGE    List installation (without installing) commands for a given package.
  
  -d PACKAGE, --download PACKAGE    Downloads a given BLFS package along with all of its dependencies.

  -f, --force                       Force package installation even though it is already installed

  -l PACKAGE, --list PACKAGE        Lists all of the dependencies for a given BLFS package in order of installation.

  -o, --optional                    List/download optional packages.

  -r, --recommended                 List/download recommended packages.

  -s PACKAGE, --search PACKAGE      Search for a given package.
  --systemd                         Pass this flag if you built LFS with Systemd

Additional options:

Contributers:

Ahron Maslin (creator, maintainer, and designer), Josh W. (moral support), Dan the Man (Chief Psychologist)

Todo

  • implement different db's for different LFS versions
  • add --info flag to display information about a package
  • query to install a package if only one search result was found

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blfs_pm-1.0.5.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blfs_pm-1.0.5-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file blfs_pm-1.0.5.tar.gz.

File metadata

  • Download URL: blfs_pm-1.0.5.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for blfs_pm-1.0.5.tar.gz
Algorithm Hash digest
SHA256 ac67bfebb01c0ae97165e40df4a3e2729c78ccabebfb024d7b1bdbbf90b4ce04
MD5 d8ec23278d1152988588d44d6b5fc6df
BLAKE2b-256 4ccbd0bb073fe99a0b454f970c8b6e46d1f2e2c67c1091f588a3d836f725eb9b

See more details on using hashes here.

File details

Details for the file blfs_pm-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: blfs_pm-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for blfs_pm-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4de0b6b805fa5ccc873a0e651501f6f6713fadaa18949c9a3efcb7bc44398686
MD5 2568764d52d4a9d83031e8ca32f2e7fa
BLAKE2b-256 f8711785dcf2c59e9d8d7a464c3f3abaf80210c73f428f5ce9640938250efd6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page