Install

You can install tut in three ways

  1. Use your package manager
  2. Use pre-built binaries
  3. Build it yourself

Package manager

Currently tut is packaged four in repos. If you know some more places you can contact me.

I only manage the AUR package so you'll have to trust the other maintainers.

Arch and Manjaro

You can find it in the Arch User Repository (AUR). I'm the maintainer.

https://aur.archlinux.org/packages/tut/

You can also use tut-mastodon. Currently aur/tut collides with a package named tut if you're running Manjaro ARM. So if you face the same problem you can use this package instead. I suggest you add an alias for tut-mastodon to tut in the config for your shell. Usually .bashrc or .zshrc.

alias tut='tut-mastodon'

https://aur.archlinux.org/packages/tut-mastodon/

Alpine linux

tut package is available in the community repository. I'm not the maintainer.

https://pkgs.alpinelinux.org/package/edge/community/x86_64/tut

Debian / Ubuntu

You'll have to add the repo. Follow the instructions on the site. I'm not the maintainer.

http://packages.azlux.fr/

FreeBSD

I'm not the maintainer.

https://www.freshports.org/net-im/tut

Pre-built binaries

You can find the binaries under releases on Github.

The only build I'm able to test is tut-amd64, but I've compiled for some more architectures. They're targeting Linux. If you want some other architecture or OS you can open an issue or you can contact me.

Build it yourself

You will need to install Go. Minimum version 1.16.

# Fetches and installs tut. Usally /home/user/go/bin
go get -u github.com/RasmusLindroth/tut

# You can also clone the repo if you like
# First clone this repository
git clone https://github.com/RasmusLindroth/tut.git

# Go to that folder
cd tut

# Build or install

# Install (usally /home/user/go/bin)
go install

# Build (same directory i.e. ./ )
go build

After you're done you'll have to add the binary into your path.

You should be able to do that by adding export PATH=$PATH:$(go env GOPATH)/bin to your shells config. The file is ~/.bashrc for bash and ~/.zshrc for zsh.

-- Install --