Skip to content

Latest commit

 

History

History
93 lines (63 loc) · 1.62 KB

installation.md

File metadata and controls

93 lines (63 loc) · 1.62 KB

History manager installation

Install release:

Install latest version in development:

Ubuntu/Debian

  1. Download the latest .deb package from release page or with command line:
wget https://github.com/dkolmakov/hm/releases/download/v1.0.0/hm-1.0.0-Linux-x86_64.deb
  1. Install it:
sudo dpkg -i hm-1.0.0-Linux-x86_64.deb

Nix/NixOS

  1. Download the latest .nix expression from release page or with command line:
wget https://github.com/dkolmakov/hm/releases/download/v1.0.0/hm-1.0.0.nix
  1. Install it:
nix-env -i -f hm-1.0.0.nix

From sources

  1. Download the latest .tar.gz expression from release page or with command line:
wget https://github.com/dkolmakov/hm/archive/v1.0.0.tar.gz
  1. Unpack it:
tar xvf v${version}.tar.gz
  1. Build and install it:
cd hm-${version}
mkdir build
cd build
cmake ..
make install
  1. Run system tests to verify the installation (tests are built with pytest):
py.test

From dev sources

  1. Use git to clone the repository:
git clone https://github.com/dkolmakov/hm.git
  1. Build and install the project:
cd hm
mkdir build
cd build
cmake ..
make install
  1. Run system tests to verify the installation (tests are built with pytest):
py.test