# 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:
<ul>
<li>A working LFS system (check them out at https://www.linuxfromscratch.org/)</li>
<li>A working internet connection - you may need to install a couple of BLFS packages like NetworkManager, DHCPClient, and WPA-supplicant.</li>
<li>A working Python environment</li>
<li>Python3 package manager (Pip)</li>
<li>Git (https://www.linuxfromscratch.org/blfs/view/svn/general/git.html)</li>
</ul>
### 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
Raw data
{
"_id": null,
"home_page": "https://github.com/ahron-maslin/BLFS-automation",
"name": "blfs-pm",
"maintainer": "Aharon Maslin",
"docs_url": null,
"requires_python": "",
"maintainer_email": "aronmas613@gmail.com",
"keywords": "BLFS,LFS,Package Manager,automation",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/4a/0b/1f9eec2b8624f0f93f2605542d68ab9a782854d66e16f508f265a73d5a37/blfs-pm-1.0.3.tar.gz",
"platform": "Linux",
"description": "# BLFS-automation:\n\"A simple Python package that simplifies your BLFS project in many ways...\"\n\n## About this project:\nThis project is designed for people who have built their own LinuxFromScratch (LFS) system, and are now working on the next stage - BeyondLinuxFromScratch (BLFS).\nBLFS 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.\n\n\n## Download and installation:\nTo get a local copy up and running follow these steps.\n\n### Prerequisites:\n<ul>\n <li>A working LFS system (check them out at https://www.linuxfromscratch.org/)</li>\n <li>A working internet connection - you may need to install a couple of BLFS packages like NetworkManager, DHCPClient, and WPA-supplicant.</li>\n <li>A working Python environment</li>\n <li>Python3 package manager (Pip)</li>\n <li>Git (https://www.linuxfromscratch.org/blfs/view/svn/general/git.html)</li>\n</ul>\n\n### Installation:\n\n```\npip install blfs-pm\n```\n\n## Usage:\nIt is recommended that the package should always be run as root, in order to prevent errors when installing packages to the system.\n\n\nThis package has many options to list, download, list commands, or install a given package.\nNote: once again it is *highly* recommended that you always run this as ```root```!\n\nUsage: ```blfs-pm [-h] [-a] [-b PACKAGE] [-c PACKAGE] [-d PACKAGE] [-f] [-l PACKAGE] [-o] [-r] [-s PACKAGE] [--systemd]```\n\nNote: 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.\n\n```\n -h, --help show this help message and exit\n\n -a, --all Downloads ALL BLFS packages - uses a lot of time and space.\n\n -b PACKAGE, --build PACKAGE Install a given Package on the system.\n\n -c PACKAGE, --commands PACKAGE List installation (without installing) commands for a given package.\n \n -d PACKAGE, --download PACKAGE Downloads a given BLFS package along with all of its dependencies.\n\n -f, --force Force package installation even though it is already installed\n\n -l PACKAGE, --list PACKAGE Lists all of the dependencies for a given BLFS package in order of installation.\n\n -o, --optional List/download optional packages.\n\n -r, --recommended List/download recommended packages.\n\n -s PACKAGE, --search PACKAGE Search for a given package.\n --systemd Pass this flag if you built LFS with Systemd\n ```\n\n## Additional options:\n\n\n## Contributers: \nAhron Maslin (creator, maintainer, and designer), Josh W. (moral support), Dan the Man (Chief Psychologist)\n\n## Todo\n- [ ] implement different db's for different LFS versions\n- [ ] add ```--info``` flag to display information about a package\n- [ ] query to install a package if only one search result was found\n\n\n\n",
"bugtrack_url": null,
"license": "LGPL",
"summary": "Package manager for Beyond Linux from Scratch (BLFS) system",
"version": "1.0.3",
"project_urls": {
"Homepage": "https://github.com/ahron-maslin/BLFS-automation"
},
"split_keywords": [
"blfs",
"lfs",
"package manager",
"automation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "18100c31611f8c7c10395257a81d35068934d1f5db7b5ea477a69bade2109848",
"md5": "c44e5c36963d7ea7ba851567beaad566",
"sha256": "870a41d0c4d204e3f2d861172e7e9d9ff7f05be2fa4ef00d4f32e1445984198f"
},
"downloads": -1,
"filename": "blfs_pm-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c44e5c36963d7ea7ba851567beaad566",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 15812,
"upload_time": "2023-05-30T21:14:34",
"upload_time_iso_8601": "2023-05-30T21:14:34.557720Z",
"url": "https://files.pythonhosted.org/packages/18/10/0c31611f8c7c10395257a81d35068934d1f5db7b5ea477a69bade2109848/blfs_pm-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4a0b1f9eec2b8624f0f93f2605542d68ab9a782854d66e16f508f265a73d5a37",
"md5": "5ce42ae23b0ac91cf06ec5bd857a5f10",
"sha256": "e6e1191ea4d53cb25683ffed22b847090d0f1425d887f3cb2c21357fcc6f30ad"
},
"downloads": -1,
"filename": "blfs-pm-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "5ce42ae23b0ac91cf06ec5bd857a5f10",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 16355,
"upload_time": "2023-05-30T21:14:35",
"upload_time_iso_8601": "2023-05-30T21:14:35.832787Z",
"url": "https://files.pythonhosted.org/packages/4a/0b/1f9eec2b8624f0f93f2605542d68ab9a782854d66e16f508f265a73d5a37/blfs-pm-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-30 21:14:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ahron-maslin",
"github_project": "BLFS-automation",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "blfs-pm"
}