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

Linux deb packaging #773

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Linux deb packaging #773

wants to merge 2 commits into from

Conversation

wbqpk3
Copy link
Collaborator

@wbqpk3 wbqpk3 commented Oct 24, 2024

The goal of this patch is to allow users to easily install CodeCompass without compiling from source.

See doc/packaging.md for documentation.

The resulting .deb package is about 150MB in size. Runtime dependencies are always included in the package (such as ODB), but in total these only take up about 20MB in space uncompressed.

The package has been tested on a fresh Ubuntu 22.04 server image. First, the required dependencies were installed (from doc/deps.md guide), and a built codecompass.deb package. Then, it successfully parsed a C++ project and ran the webserver.
It was not needed to compile ODB since it's included in the .deb package.

It's also possible to create a Linux distribution specific package such as for Ubuntu 22.04 which also pulls all the required dependencies specific to the distribution. The dependencies can be specified using PACKAGE_DEPENDS (see doc/packaging.md).

@zporky
Copy link
Collaborator

zporky commented Oct 24, 2024

Hi
This is a great achievement. Is there an installation description somewhere?
gsd

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

Successfully merging this pull request may close these issues.

2 participants