How to install Linux on a Raspberry Pi 3 running Windows 10, MacOS, and Android via PVRD
When I was in elementary school, I spent an afternoon playing around with Linux, Windows, and iOS.
This is the first post in a series of articles on how to get a Linux computer running on a Windows PC or Android smartphone.
I am going to show you how to install a Debian GNU/Linux distribution, make it run Ubuntu Linux on Windows 10 and macOS, and get it running on Android phones and tablets.
First, we need to install the Raspberry Pi.
You can download it for free from here.
Next, we will install a basic Debian package called PVRd.
We can download a copy here.
Once you have downloaded PVRs package, you can install it by typing sudo apt-get install pvrd.
Now we need the Android SDK, the Python interpreter, and the Python bindings for PVR.
First install the Android bindings and make sure that they are in your PATH.
Open your Terminal app and run sudo apt install android-dev.
You will see the following message: Installing: android-libs-dev This is a good indication that we have installed all required dependencies.
You should now have a working Android development environment on your Raspberry Pi, but we are going to add a few other pieces to it.
We will add a web server, and we will also install some tools.
We are going do this step because it’s an important step to make sure the server works.
Open up the command line with sudo apt -f install.
We want to install libxml2 for Android and Google’s Chromium, and libevent-dev for WebGL.
If you have a terminal running on your Android device, you should see the output of sudo apt apt – f install libevent2-dev libevent1-dev Google Chromium and libavformat-dev are required.
We have added the Google Chromecast SDK, and Google Cast SDK is a Chromium extension for Android.
Open the command prompt with sudo sh -c ‘echo “apt-get update && apt-set install -y gstreamer3-plugins-baseband” >> /etc/apt/sources.list.d/gstreamer-3.1.0.list’ You should see this message: [downloading gstreamers3-plugin-basebands-basebands-base4] Install Google Cast, ChromiumDev, and WebGL, and they will be installed in the PATH.
Next we will add the PVR DLL, and it will install the PVPLEVELS library.
In order to get it to work with our new Android device we are installing a PVR package called libpvr.
In Ubuntu, it is called libPVR, but you can use libpvrd instead.
If we installed this PVR on the Raspberry pi we would use: sudo apt update && sudo apt dist-upgrade libpVR libpvpld libpvs libpvc libpvvlt.
We do not need to do this in Ubuntu.
Open a terminal and type sudo apt add-apt-repository ppa:libpvr/libpvr sudo apt deb http://mirrors.openvpn.org/repos/lib/libvrd/libPVR-0.9.4.tgz libpvdeadl.so libpvmss.so If we have a newer version of libpve installed, we can install this PVPLL instead.
We already have the libpvt library installed, so we can just install libpvlc instead.
Open terminal and run: sudo dpkg –add-architecture arm-linux-gnueabi libpovrd-arm-linux libpvi-arm libpvo libpvidc libpvu-arm If we get a message like this, you will have an error message.
If it doesn’t work, try removing the PVMSS dependency, and re-installing the dependencies with the libavutil library.
If all of this is working, we are done!
You can now open up the Pvrd web browser and navigate to http://127.0,9.0 in your browser.
Now you should be able to view your site and connect to it from the Internet.
To do that, you need to go to http:/localhost:8080/hostname.
We’re going to use a domain name for this website.
We should add a domain here.
Type sudo ldconfig -a to configure the DNS settings.
This will set up the hostname, and make it available to our Web server.
Next is to add some additional sites.
Type the following in the terminal: sudo ldpadd www.example.com.
We need to add more domains to the list.
We could just add the IP addresses of the domains we