rofi/INSTALL.md

105 lines
1.2 KiB
Markdown
Raw Normal View History

2014-07-27 07:54:10 +00:00
# Installation guide:
## DEPENDENCY
### For building:
* C compiler (gcc or clang)
* make
* autoconf
* automake
### External libraries
* libxinerama
* libxft
* libx11
* libxdg-basedir
### Optional:
* For i3 support, you need at least i3 version 4.5 or up.
2014-07-21 14:41:31 +00:00
2014-07-21 14:41:31 +00:00
Install from a release
----------------------
Check dependencies and configure build system:
2014-07-27 07:54:10 +00:00
```
./configure
```
2014-07-21 14:41:31 +00:00
Build Rofi:
2014-07-27 07:54:10 +00:00
```
make
```
2014-07-21 14:41:31 +00:00
The actual install, execute as root (if needed):
2014-07-27 07:54:10 +00:00
```
make install
```
2014-07-21 14:41:31 +00:00
Install a checkout from git
---------------------------
Generate build system:
2014-07-27 07:54:10 +00:00
```
autoreconf -i
```
2014-07-21 14:41:31 +00:00
Create a build directory:
2014-07-27 07:54:10 +00:00
```
mkdir build
```
2014-07-21 14:41:31 +00:00
Check dependencies and configure build system:
2014-07-27 07:54:10 +00:00
```
../configure
```
2014-07-21 14:41:31 +00:00
Build rofi:
2014-07-27 07:54:10 +00:00
```
make
```
2014-07-21 14:41:31 +00:00
The actual install, execute as root (if needed):
2014-07-27 07:54:10 +00:00
```
make install
```
2014-07-21 14:41:31 +00:00
Options for configure
---------------------
When you run the configure step there are several you can configure. (To see the full list type
`./configure --help` ).
The most useful one to set the installation prefix:
2014-07-27 07:54:10 +00:00
```
./configure --prefix=<installation path>
```
2014-07-21 14:41:31 +00:00
f.e.
2014-07-27 07:54:10 +00:00
```
./configure --prefix=/usr/
```
2014-07-21 14:41:31 +00:00
or to install locally:
2014-07-27 07:54:10 +00:00
```
./configure --prefix=${HOME}/.local/
```
2014-07-21 14:41:31 +00:00