Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build deb for Debian / Ubuntu #113

Open
stuaxo opened this issue Mar 14, 2022 · 2 comments
Open

Build deb for Debian / Ubuntu #113

stuaxo opened this issue Mar 14, 2022 · 2 comments
Assignees
Labels

Comments

@stuaxo
Copy link

stuaxo commented Mar 14, 2022

It would be good if there was a .deb package for Debian or Ubuntu.

I guess in the Ubuntu version, it makes it possible to have a PPA which makes it much easier to try out vkvg.

@jpbruyere
Copy link
Owner

jpbruyere commented Mar 14, 2022

You may create the .deb file by running cpack command inside the build directory. On my debian, cpack is installed with the cmake package.
so the step to have your .deb:

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
cpack

then you may install the vkvg.deb file with:

dpkg -i vkvg_0.3.0.deb

If install is complaining about missing packages, you may do:

sudo apt install -f

On linux, the libc6-dev package must be installed (dependency is not configured by the .deb)

When I make a release, I try to upload a .deb package that should work on both debian and ubuntu.

@jpbruyere jpbruyere self-assigned this Mar 14, 2022
@stuaxo
Copy link
Author

stuaxo commented Mar 15, 2022

Thanks, thats really handy - I'll give it a try.

It might be worth surfacing this in the README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants