Skip to content

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.

License

Notifications You must be signed in to change notification settings

bay-kolio/linux-apt-build-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux APT Build Repository 🐧

Linux APT Build Repo License Build Status

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.

Table of Contents

Features

  • 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.

Installation

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.

Usage

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.

Supported Architectures

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

GPG Signing

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.

Contributing

We welcome contributions! If you want to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your branch to your fork.
  5. Open a pull request.

Please ensure your code adheres to the project's coding standards and includes tests where applicable.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For questions or feedback, feel free to reach out:

Releases

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.

Acknowledgments

  • Thanks to the Debian community for their support and resources.
  • Special thanks to contributors who have helped improve this project.

Additional Resources

Conclusion

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!

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages