-
Notifications
You must be signed in to change notification settings - Fork 7
Clib4 apt packages repository
Andrea Palmatè edited this page Nov 24, 2023
·
1 revision
clib4 now has a working in progress ubuntu packages repository.
To use it you have to:
- Download the public key using this command
curl -fsSL https://clib4pkg.amigasoft.net/ubuntu/clib4.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/clib4.gpg
- Add repository using:
echo "deb https://clib4pkg.amigasoft.net/ubuntu/ focal main" | sudo tee /etc/apt/sources.list.d/clib4.list
. - Execute
apt update
To create an apt package you have to follow some specific rules. You can find an example here
However an example of package should have this format:
In the DEBIAN/control file you have to fill all the informations about package. This is an example of control file:
Package: gdbm-clib4
Version: 1.19
Maintainer: Andrea Palmatè <[email protected]>
Architecture: amd64
Section: libdevel
Description: GNU dbm for clib4
After creating the correct tree you can use the dpkg
to create the .deb
package. For example:
dpkg --build gdbm_1.19_amd64