Everything about we

mungkin bagi siswa lain pembukaan acara anniversary sekolah adalah hal yang bahagia, namun tidak dengan anva yang semenjak tadi hanya diam saja dan berdebat dengan isi kepala sendiri. “va,sorry gue…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Automate Your Debian Package Creation with Simple Package Tool

Creating Your First Debian Package with SPT

Image by the author. Using teffects glow from a command line.
Image by the author. Using teffects glow from a command line.

SPT is a Bash script tool to create a DEBIAN package from Github-name/repo-name. The package will be saved in the ~/.cache/spt/deb directory. Let me explain how it works in detail.

SPT works on Linux/Debian and it uses the dpkg tool under the hood. Debian/Ubuntu should have it. But if not, install it using apt.

SPT uses GitHub CLI gh and curl to get your GitHub repository information. Please install it in advance and log in to GitHub using the gh auth login command from your terminal.

Then run:

The outputs from sudo apt install command. Image by the author.
The outputs from the sudo apt install command. Image by the author.

The first step is to run spt create github-name/repo-name. For example:

The create subcommand takes one parameter github-name/repo-name. The script checks your OS, gh installation, and…

Add a comment

Related posts:

Five Tips for Managing Multiple Projects At Once

For project managers it would be nice if everything was always perfect: in other words, getting to focus on a single, well-organized and strongly supported project with a proactive and enthusiastic…