hstr/INSTALLATION.md
2015-02-06 07:18:52 +01:00

2.5 KiB

INSTALLATION

Install hh using distribution, from source code, on Ubuntu, Debian/Mint, Arch Linux or Mac OS.

UBUNTU

Install hh on Ubuntu:

sudo add-apt-repository ppa:ultradvorka/ppa
sudo apt-get update
sudo apt-get install hh

Optionally configure hh and check its man page.

INSTALLATION FROM SOURCE CODE

Clone Git repository:

git clone https://github.com/dvorka/hstr.git

Create build files using:

cd ./dist && ./1-dist.sh && cd ..

Install hh using:

./configure && make && make install

Optionally configure hh and check its man page.

DISTRIBUTION INSTALLATION

Download latest distribution from project Releases section:

https://github.com/dvorka/hstr/releases

Expand the archive and install hh using:

./configure && make && make install

Optionally configure hh and check its man page.

DEBIAN/MINT

Install hh on Debian (Wheezy) or Mint (13) by registering the key:

wget www.clfh.de/frankh.asc
apt-key add frankh.asc

adding the repository:

deb http://www.clfh.de/debian wheezy main
deb-src http://www.clfh.de/debian wheezy main

and installing it:

apt-get update
apt-get install hh

Optionally configure hh:

hh --show-configuration >> ~/.bashrc

Optionally configure hh and check its man page.

ARCH LINUX

Download latest distribution from project Releases section:

https://github.com/dvorka/hstr/releases

Use PKGBUILD in the root of the distribution to build package using makepkg:

https://aur.archlinux.org/packages/hstr-git/

Install hh.

Optionally configure hh and check its man page.

MAC OS

Install MacPorts:

http://www.macports.org

And then install readline and ncurses:

port install readline
port install ncurses

Set the environment:

env CFLAGS="-I/opt/local/include -I/usr/include" LDFLAGS="-L/opt/local/lib -L/usr/lib" ./configure

Finish the installation

make && make install

Optionally configure hh and check its man page.