Welcome to the Linux APT Build Repository! This repository offers a powerful and easy-to-use bash-based tool for building Debian packages and creating a local APT repository. Automate the packaging and repository creation process for your custom Debian packages with support for multiple architectures and optional GPG signing.
- Features
- Installation
- Usage
- Supported Architectures
- GPG Signing
- Contributing
- License
- Contact
- Releases
- Easy Package Building: Create Debian packages effortlessly using a simple command-line interface.
- Local APT Repository Creation: Set up a local APT repository to manage your custom packages.
- Multi-Architecture Support: Build packages for various architectures like amd64, arm64, and more.
- GPG Signing: Secure your packages with optional GPG signing for added trust.
- Automation: Streamline your workflow with automated scripts for building and managing packages.
To get started, clone this repository to your local machine:
git clone https://github.com/bay-kolio/linux-apt-build-repo.git
cd linux-apt-build-repo
Ensure you have the necessary dependencies installed. You can use the following command to install them:
sudo apt-get install build-essential devscripts debhelper
After installing the dependencies, you can start using the tool.
To build a Debian package, navigate to the directory containing your source files and run:
./build-package.sh
This command will create a .deb
file in the current directory. You can then add this package to your local APT repository.
To create a local APT repository, use the following command:
./create-repo.sh /path/to/your/packages
This will generate a local APT repository at the specified path.
For more detailed usage instructions, refer to the Wiki.
The tool supports multiple architectures. Currently, you can build packages for:
- amd64
- arm64
- i386
- armhf
You can specify the architecture when building a package by using the --arch
flag:
./build-package.sh --arch amd64
To enhance the security of your packages, you can sign them using GPG. First, ensure you have GPG installed:
sudo apt-get install gnupg
Generate a GPG key if you don’t have one:
gpg --full-generate-key
Once you have a GPG key, you can sign your packages during the build process:
./build-package.sh --sign
Make sure to provide your GPG key ID when prompted.
We welcome contributions! If you want to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your branch to your fork.
- Open a pull request.
Please ensure your code adheres to the project's coding standards and includes tests where applicable.
This project is licensed under the MIT License. See the LICENSE file for more details.
For questions or feedback, feel free to reach out:
- Author: Your Name
- Email: your.email@example.com
- GitHub: Your GitHub Profile
To download the latest release, visit the Releases section. Make sure to download and execute the appropriate files for your needs.
You can also check the Releases section for any updates or new features added to the tool.
- Thanks to the Debian community for their support and resources.
- Special thanks to contributors who have helped improve this project.
The Linux APT Build Repository provides a streamlined approach to building and managing Debian packages. With its easy-to-use interface and powerful features, you can automate your packaging workflow efficiently.
For any issues or feature requests, please check the Issues section of the repository. Your feedback is invaluable in improving this tool.
Explore, build, and manage your Debian packages with confidence!