How to Setup a Full Litecoin Node on a Raspberry Pi 3

The Easy Step-By-Step Guide for Windows/Linux/Mac

The purpose of this guide is to help facilitate the support of a healthy Litecoin Network in a cost efficient way. The more full nodes there are distributed throughout the world, the less the Litecoin Network is prone to attack.


Quick Disclaimer: This work is the compilation of other guides. At the end of this walk through, I give credit to the authors of the outdated guides I based my work on. Also in Part 2 of my guide, I will provide you an .img of the final product of this guide in case you want to create a litecoin node in the easiest and quickest way possible.

If you want to be lazy and do not want to mess with the terminal and all that nerd stuff, click here to check the Easiest Way Possible to set a Litecoin Node Plug&Play.

What you will need:

  1. Raspberry (duuuh)
  2. A at least 8gb micro sd (I highly stupidly recommend you to use a 32gb)
  3. A power supply (micro usb cable)
  4. An HDMI cable or a HDMI to VGA adapter
  5. Keyboard and mouse
  6. Internet
  7. A copy of the latest Raspdebian OS (
  8. Win32Disk ( (Only if you are using Windows)
  9. If you want to do it on your own because #YOLO here is the link to all the Litecoin clients :


  1. I am going to assume you already downloaded and installed Win32Disk and you already downloaded the latest Raspbian OS Image. The first step is to create a bootable microsd with Raspbian on it where you will be running the node.
  2. Open Win32Disk, select the Device that you will be using (don’t worry about formatting, it will be done here automatically), and then select the .img you downloaded. It has to look something similar to this:

Once you have configured as above, click on “Write”, and be patient. It might take a while.


1. Press CTRL+ALT+T to open a terminal window or alternatively, open the terminal your way, next you are going to write:


This will show all the current partitions and drives, look for your microsd here always by looking at the gigabite size that the system is showing, if your micro sd has multiple partitions, you can see your drive name by removing the last number, for example you might get that your drive name is /dev/sda1, this means that the drive name is sda and the number 1 represents the number of the partition.

2. Knowing this, you will type now:

sudo dd if=/location/of/the/img/file.img of=/dev/sdX

And again just wait until this finishes and you are set to go!


Go to your applications folder, then click on utilities and click on Disk Utility.

1. Now mount the Raspbian.img file either by double cliking it, or by right clicking on it and open with disk utilities.

2. On the Disk Utility application select the .IMG file from the left panel and go to “Restore”, on the target field select and drag to it the micro sd from your left panel as well. Then click on the restore button. Just wait until it completes.


3. Once you have successfully wrote the .img to the micro sd, it’s the time to boot your Raspberry. Insert it in its slot and plug it into your monitor and the wall. The system will autostart and it will reboot itself.

OPTIONAL STEP: Change the Keyboard Layout to your computer’s Keyboard. To do this go to the Start Menu >Preferences >Mouse and Keyboard > Keyboard > Layout and select the one that works the best for you.

4. The first step to do is to increase the SWAP partition. To do this, press CRTL+ALT+T and a Terminal Window will open. Type in the following code:

sudo nano /etc/dphys-swapfile

Now change the Value that reads CONFIG_SWAPSIZE=100 to CONFIG_SWAPSIZE=1000

Press CTRL+O then hit Enter to confirm and finally CRTL + X to exit.

After that now type

sudo dphys-swapfile setup

and then

sudo dphys-swapfile swapon

5. Next step is to get everything ready to download the Litecoin client. To do this connect to your internet either via WIFI or ethernet.

6. Once you are connected you are going to type this (copy-paste it, it’s ok to be lazy):

sudo apt-get install git build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libminiupnpc-dev libzmq3-dev jq

UPDATE: type “sudo apt-get update” after step 6 just to avoid possible future errors.

Let it finish its thing and in the meanwhile, check what is the latest Litecoin client version. At the moment of writing this guide (October 2017), the latest is 0.16

Check the version here:

7. Now that you know what litecoin version is the most current, type:

cd ~
git clone -b 0.16

Wait again until it finishes

Disclaimer: I am not going to go through how to get wallet capabilities since this is supposed to be the simplest guide possible.

8. Time to install Litecoin!

Copy-paste the following or type it like an old man

cd litecoin

If that does not work because life hates you, try:

cd /home/pi/litecoin

Now type:


Once again, wait until it finishes. It should take about 3 minutes to complete

9. We are almost done here. Just a few more steps! Now type (don’t lie, you are copy-pasting this, you liar)

./configure CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768" --enable-cxx --without-gui --disable-shared --with-pic --enable-upnp-default --disable-wallet

Give it a minute or two to complete.

10. And here is where all the years of practice come in hand, type:

make check

It will take a long time (like how long it takes yo mamma to get out of bed)

If you get an error here, it means you did something wrong, and your life sucks, but no worries we can fix that, just start back from step 6 and move forward. Your life will still suck, but your installation should work.

sudo make install

11. Now lets go back to your root folder, type:

cd ~/

And then

litecoind -daemon

Once you have done that, it will create some essential files that you will need for the next step. Press CTRL+ C to stop the process and then type:

nano .litecoin/litecoin.config

Here you want to add your username, password, as well as some optimizing configuration made possible by Jameson Lopp’s work.


Press CTRL+O to write it off, then ENTER to confirm, then CRTL+X to exit the file.

12. Here are the last steps, now type:

Litecoin-cli stop



This will restart the litecoin node, and just to verify that it is working type:

tail -f ~/.litecoin/debug.log

Press CTRL+C to kill the process and to go back to the terminal

And to conclude type:

which litecoind


crontab -e

select 2, then add

@reboot sleep 8; /usr/local/bin/litecoind

Press CTRL+O, then Enter then CTRL+X

I recommend you installing teamviewer to remotely connect and manage your Raspberry but in the end it’s up to you.

That is it!

All my credits go to the work of Damian Mee and to Raspnode’s tutorial

If you feel like buying me a beer you can donate to these addresses: