ubuntu server raspberry pi code example

Example 1: raspberry pi ubuntu server raspi-config

sudo echo "deb http://archive.raspberrypi.org/debian/ jessie main" >> /etc/apt/sources.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 7FA3303E
sudo apt-get update
sudo apt-get install raspi-config

Example 2: ubuntu on raspberry pi 4

yea its possible download the fire for sd drive and jsut plug and run
make sure it is correct .tar file. partition drive and upload onto sd 
card. Plug and set up. its pretty easy go to raspberrian for help