interlynk-io / sbomqs

SBOM quality score - Quality metrics for your sboms
Apache License 2.0
158 stars 20 forks source link

add sbomqs installation support for debian apk and rpm #291

Closed viveksahu26 closed 1 month ago

viveksahu26 commented 1 month ago

closes: https://github.com/interlynk-io/sbomqs/issues/189

This PR introduces the nfpms section in the GoReleaser configuration, enabling the creation of apk, deb, and rpm packages.

For reference: https://goreleaser.com/customization/nfpm/

viveksahu26 commented 1 month ago

For deb package installation:

  1. download the *.deb package. For say: sbomqs_0.1.6_amd64.deb
  2. Install it:

    $ sudo dpkg -i dist/sbomqs_0.1.6_amd64.deb 
    
    Selecting previously unselected package sbomqs.
    (Reading database ... 421095 files and directories currently installed.)
    Preparing to unpack dist/sbomqs_0.1.6_amd64.deb ...
    Unpacking sbomqs (0.1.6) ...
    Setting up sbomqs (0.1.6) ...
  3. Check whether installed or not:

    $ dpkg -L sbomqs                                      
    
    /usr
    /usr/bin
    /usr/bin/sbomqs-linux-amd64
    /usr/bin/sbomqs
  4. Run the command: $ sbomqs