github.com/ezbuy/gauge@v0.9.4-0.20171013092048-7ac5bd3931cd/build/README.md (about)

     1  ## Generating .deb
     2  
     3  ### Requirements
     4  
     5  - Debian 7 or Ubuntu 14.04 or Fedora 22+
     6  - Install these packages:
     7      - For Ubuntu/Debian:
     8  
     9        ```
    10        $ sudo apt-get install build-essential fakeroot
    11        ```
    12  
    13      - For Fedora/RHEL/CentOS:
    14  
    15        ```
    16        $ sudo dnf install make automake gcc gcc-c++ kernel-devel dpkg-dev fakeroot
    17        ```
    18  
    19  ### Run the script
    20  
    21  Run this command from the root of this project:
    22  
    23  ```
    24  $ ./build/mkdeb.sh
    25  ```
    26  
    27  ## Generating .rpm
    28  
    29  ### Requirements
    30  
    31  - RHEL6+, CentOS 7+ or Fedora 22+
    32  - Install these packages:
    33  
    34      ```
    35      $ sudo yum install make automake gcc gcc-c++ kernel-devel rpmdevtools
    36      ```
    37  
    38  ### Run the script
    39  
    40  Run this command from the root of this project:
    41  
    42  ```
    43  $ ./build/mkrpm.sh
    44  ```