Skip to content

Commit

Permalink
Debian package build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
frode-h committed Apr 16, 2024
1 parent aae1d11 commit 61a2fce
Showing 1 changed file with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,48 @@ debian-keyring
dns-root-data
firmware-linux
firmware-linux-nonfree
```
```

## Building a Debian Package

To build a Debian package of this project, follow these steps:

1. Install the necessary build dependencies:

```bash
sudo apt-get install devscripts debhelper
```

2. Navigate to your project directory:

```bash
cd /path/to/your/project
```

3. Create a source tarball in the parent directory of your project:

```bash
tar czvf ../deblint_0.0.0.orig.tar.gz .
```

Replace `0.0.0` with your actual package version.

4. Build the Debian package:

```bash
debuild -us -uc
```

This command will create a `.deb` file in the parent directory of your project.

5. To install the package, use the `dpkg` command:

```bash
sudo dpkg -i ../your-package-name.deb
```

* To increment the version of your package, run:

```bash
dch -i
```

0 comments on commit 61a2fce

Please sign in to comment.