An open API service indexing awesome lists of open source software.

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

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