<commit_before># Installation guide

## DEPENDENCY

### For building:

* C compiler that supports the c99 standard. (gcc or clang)
* make
* autoconf
* automake (1.11.3 or up)
* pkg-config
* Developer packages of the external libraries

### External libraries

* libpango
* libpangocairo
* libcairo
* libcairo-xcb
* libglib2.0 >= 2.40
* libx11
* libstartup-notification-1.0
* libxkbcommon-dev
* libxkbcommon-x11-dev
* libxcb-ewmh-dev
* libxcb-icccm4-dev
* libxcb-util0-dev
* libxcb-xinerama0-dev
* libxcb-xkb-dev
* libxcb1-dev

On debian based systems, the developer packages are in the form of: `<package>-dev` on rpm based
'<package>-devel'.


### Optional:

* For i3 support, you need at least i3 version 4.5 or up.
Make sure that 'i3/ipc.h' is included. If it fails please check 
config.log.



## Install from a release

Check dependencies and configure build system:

```
./configure
```

Build Rofi:

```
make
```

The actual install, execute as root (if needed):

```
make install<commit_msg>INSTALL: Use upstream names (and Debian names as hint)<commit_after># Installation guide

## DEPENDENCY

### For building:

* C compiler that supports the c99 standard. (gcc or clang)
* make
* autoconf
* automake (1.11.3 or up)
* pkg-config
* Developer packages of the external libraries

### External libraries

* libpango
* libpangocairo
* libcairo
* libcairo-xcb
* libglib2.0 >= 2.40
* libx11
* libstartup-notification-1.0
* libxkbcommon
* libxkbcommon-x11
* libxcb (sometimes split, you need libxcb, libxcb-xkb and libxcb-xinerama)
* xcb-util
* xcb-util-wm (sometimes split as libxcb-ewmh and libxcb-icccm)

On debian based systems, the developer packages are in the form of: `<package>-dev` on rpm based
`<package>-devel`.


### Optional:

* For i3 support, you need at least i3 version 4.5 or up.
Make sure that 'i3/ipc.h' is included. If it fails please check 
config.log.



## Install from a release

Check dependencies and configure build system:

```
./configure
```

Build Rofi:

```
make
```

The actual install, execute as root (if needed):

```
make install
{'fraction_non_alphanumeric': 0.11298889425398358, 'fraction_numerical': 0.02317720907774022, 'mean_word_length': 4.041362530413625, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4378335', 'n_tokens_mistral': 782, 'n_tokens_neox': 723, 'n_words': 244}