If you are using Ubuntu you can use PPA in order to install tezos-*
executables.
E.g, in order to do install tezos-client
or tezos-baker
run the following commands:
sudo add-apt-repository ppa:serokell/tezos && sudo apt-get update
sudo apt-get install tezos-client
# dpkg-source prohibits uppercase in the packages names so the protocol
# name is in lowercase
sudo apt-get install tezos-baker-013-ptjakart
Once you install such packages the commands tezos-*
will be available.
In order to use packages with the latest release-candidate Tezos binaries,
use ppa:serokell/tezos-rc
PPA:
sudo add-apt-repository ppa:serokell/tezos-rc && sudo apt-get update
As an addition, tezos-baking
package provides tezos-baking-<network>
services that orchestrate
systemd units for tezos-node
and tezos-baker-<proto>
.
Configuration files for these services are located in /etc/default/tezos-baking-<network>
.
You can add the PPA using:
# Install software properties commons
sudo apt-get install software-properties-common gnupg
# Add PPA with Tezos binaries
sudo add-apt-repository 'deb http://ppa.launchpad.net/serokell/tezos/ubuntu bionic main'
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 37B8819B7D0D183812DCA9A8CE5A4D8933AE7CBB
sudo apt-get update
If packages for bionic
are not suited for your Debian version, see the
related askubuntu thread to choose a valid one.
Then install with apt-get
, e.g. for tezos-client
:
sudo apt-get install tezos-client
If you have a Raspberry Pi running the 64bit version of the official OS,
you can use the Launchpad PPA to install tezos-*
executables on it as well.
You can add the PPA using:
# Install software properties commons
sudo apt-get install software-properties-common
# Add PPA with Tezos binaries
sudo add-apt-repository 'deb http://ppa.launchpad.net/serokell/tezos/ubuntu focal main'
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 37B8819B7D0D183812DCA9A8CE5A4D8933AE7CBB
sudo apt-get update
And install packages with apt-get
, e.g. for tezos-client
:
sudo apt-get install tezos-client
If you use Ubuntu on WSL, you can use the Launchpad PPA
to install tezos-*
executables on it as well.
You can add the PPA and install packages in the same way as described in Ubuntu section
In order to use ledger on WSL some additional preparation steps are needed. We recommed to use usbipd-win
tool and follow this guide about connecting usb devices to WSL.
Some of the packages provide background systemd
services, you can read more about them
here.