-
Notifications
You must be signed in to change notification settings - Fork 41
Installation Guide
Dunner can be installed using various options on each platform:
- Download precompiled binary - all platforms
- Package Managers
- Install from source code
Download the suitable tar file from Github Releases page based on your OS and architecture type. Extract the file as below:
tar -xvzf <path_to_downloaded_tar_file>
This extracts the dunner
binary which can be added to $PATH
environment variable.
Dunner can be installed on any flavour of Linux using the below methods:
For the first time use, add Dunner's GPG Key and also add Dunner to the apt
repository list using below commands.
apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-keys 379CE192D401AB61
echo "deb https://dl.bintray.com/leopardslab/dunner-deb stable main" | tee -a /etc/apt/sources.list
Finally, install Dunner as:
sudo apt-get update
sudo apt-get install dunner
Note: In some Linux images, you might need to run apt update && apt install ca-certificates gnupg2
to add gpg key.
Install docker
with snap and then install dunner
. You'll have to run a command to connect dunner with docker.
snap install docker
snap install dunner
snap connect dunner:docker
Download the .deb or .rpm from Github Releases page and install with dpkg -i
and rpm -i
respectively.
For the first time, add Dunner to yum repository list by running below commands:
wget https://bintray.com/leopardslab/dunner-rpm/rpm -O bintray-leopardslab-dunner-rpm.repo
sudo mv bintray-leopardslab-dunner-rpm.repo /etc/yum.repos.d/
Then install dunner as:
sudo dnf update
sudo dnf install dunner
Dunner can be installed via Homebrew. On Mac OS X, you can install by running below command:
brew tap leopardslab/dunner
brew install dunner
or
brew install leopardslab/homebrew-dunner/dunner
To reinstall, run brew reinstall dunner
.
[Refer this] Clone the AUR package repository,
git clone https://aur.archlinux.org/dunner.git
cd dunner/
Use makepkg
to build the PKGBUILD
file and install Dunner
makepkg -si
Note: You need 'Dep' to download the dependencies. See how to install Dep here.
-
Run
dep ensure
to download all the dependencies of Dunner. -
Run
go install
to install Dunner on your machine.
Now you can use dunner
like dunner do <taskname>
Note: We will be adding more methods like RPM & Deb packages in the future