DietPi is a lightweight and optimized Linux distribution that can be installed on a single-board computer, such as Raspberry Pi, Orange Pi, or Odroid. In this tutorial, we will show you how to install DietPi on Manjaro.
Before we start, make sure that you have the following requirements:
First, you need to download the DietPi image for your specific SBC from the official website: https://dietpi.com/. Click on the "Downloads" menu and select your board from the list.
Once you have downloaded the image, extract the zip file to a convenient location on your computer.
Insert your SD card into your card reader, and identify the device path of your SD card. You can find the device path using the following command:
lsblk
In the output, look for a device with a size matching your SD card. The device path should be in the format /dev/mmcblk0
or /dev/sdX
, where X
is a letter between b
and z
.
To burn the DietPi image to the SD card, we will use the dd command. Replace /dev/sdX
with the device path of your SD card.
sudo dd bs=4M if=<path to DietPi image file> of=/dev/sdX conv=fsync status=progress
This process will take a few minutes to complete. Once it finishes, eject the SD card from your computer.
Insert the SD card into your SBC, and connect it to your network and power supply.
After a few moments, the DietPi installer will start automatically. Follow the on-screen instructions to configure DietPi to your preferences.
In this tutorial, you learned how to install DietPi on Manjaro. Now you can enjoy the lightweight and optimized DietPi experience on your SBC.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!