OSMC Install On A Raspberry Pi¶
A free and open source media player that acts as a Open Source Media Center (OSMC). The operating system is based on the Debian Linux distribution and the media player software itself is based upon the Kodi project.
- A computer system running Linux/Unix operating system
- Instructions done via the command line interface (CLI) (terminal/console)
- Steps prefixed with a "$" (dollar sign) represents the CLI prompt; The text after the "$" is to be entered at the CLI
- Steps prefixed with a "#" (number sign) represents the CLI prompt with elevated user permissions (e.g. root); The text after the "#" is to be entered at the CLI
These instructions are an installation example that focuses on using the
dd command in order to write the disk image to a memory card.
- Download the latest disk image release, OSMC.
Verify the download was successful.
$ echo "175b87851dbf1143df351cfb4134dbdd OSMC_TGT_rbp2_20220314.img.gz" | md5sum -
Decompress the downloaded archive.
$ gunzip OSMC_TGT_rbp2_20220314.img.gz
Insert memory card into memory card reader.
Determine memory card device name.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sdg 8:96 1 7.4G 0 disk ├─sdg1 8:97 1 100M 0 part /run/media/adam/0E9A-D8D0 └─sdg2 8:98 1 7.3G 0 part /run/media/adam/f2577c9a-c3da-4f5f-aa38-c6a5dbcfbae1
If a path is shown under "MOUNTPOINT" for the memory card then unmount each applicable partition.
$ umount /dev/sdg1 $ umount /dev/sdg2
Elevated permissions maybe required to unmount the device (e.g. root).
Write the disk image to the memory card.
Replace image name (OSMC_TGT_rbp2_20220314.img) and device name (/dev/sdg) with applicable values.
# dd bs=4M if=OSMC_TGT_rbp2_20220314.img of=/dev/sdg
Run the following command to ensure everything has been completed.
Do not remove memory card until prompt returns. Wait patiently.
You are can now safely remove the memory card.
- Insert the memory card into the Raspberry Pi.
- Connect cables to Raspberry Pi.
- Power supply
- Once device is powered allow installer to complete installation.
- Installing files
- OSMC Installed successfully
- Follow setup wizard to answer the following.
- SSH > Enabled
- License > Continue
- Look + Feel > The OSMC Skin
- Signup > No thanks
- Set region default format. Go to Settings > Interface > Regional > Region default format and select a desired country.
- Set Timezone country. Go to settings > Interface > Regional > Timezone country and select a desired country.
- Change default username password.
$ ssh osmc@osmc
- OSMC Project, GitHub