https://github.com/ghtaarn/simple-deb-experiment
Demonstrates how to make a simple Debian package
https://github.com/ghtaarn/simple-deb-experiment
Last synced: 4 months ago
JSON representation
Demonstrates how to make a simple Debian package
- Host: GitHub
- URL: https://github.com/ghtaarn/simple-deb-experiment
- Owner: GHTaarn
- License: mit
- Created: 2022-04-29T04:20:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-29T16:58:06.000Z (about 4 years ago)
- Last Synced: 2025-11-04T16:09:54.547Z (8 months ago)
- Language: Makefile
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A simple demonstration of how to build a Debian package based on
https://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/
# Usage
```
git clone https://github.com/GHTaarn/simple-deb-experiment
cd simple-deb-experiment
make
sudo dpkg -i simple-deb-experiment.deb
```
This will build the package and install it. To test if the package works
correctly, you can do the following:
```
# Test that it is correctly installed
dpkg -l simple-deb-experiment
apt show simple-deb-experiment
which simple-deb-experiment
simple-deb-experiment
# Uninstall
sudo dpkg -r simple-deb-experiment
# Test that it is correctly uninstalled
dpkg -l simple-deb-experiment
apt show simple-deb-experiment
which simple-deb-experiment
simple-deb-experiment
```
The point of this project is that you can put your own project into `src/` and
modify the other files to create a deb package for your project.
The `Makefile` has some convenient targets so that everything can be
done in one go with the command `make clean installtest` or
`make thoroughclean installtest`.