GHC & Cabal on Raspberry Pi 4 with Debian Buster - haskell

Is there already a way to install GHC & Cabal on a Raspberry Pi with Debian Buster?
https://downloads.haskell.org/~debian/
I need to port an already existing code to the new Raspberry Pi 4.
Thanks and best regards,
Manuel

Related

How to install Electron app on Raspberry Pi?

I have created an Electron app. I want to install it on a Raspberry Pi so it can be displayed on a small, portable screen. How do I install my electron app on a Raspberry Pi?
What I have tried:
I have used electron-packager to create a linux package for my app. (Note: I can use electron-packager and create a .dmg or .exe for Mac or Windows with no problems)
I have downloaded Raspberry Pi OS on my Raspberry Pi and copied the app package onto the desktop.
Next, I used electron-installer-debian to create a .deb file on the Desktop of the Raspberry Pi.
Finally, I double clicked on the .deb file on the Raspberry Pi's desktop and it installs successfully!
However, when I click on the application to open it, I get the error: invalid desktop entry file.
I have checked out the .desktop file that was created on the Raspberry Pi and it looks normal and valid to me...
Commands I used:
electron-packager . --platform=linux --arch=arm64 (My Raspberry Pi is arm64)
electron-installer-debian --src myApp-linux-arm64 --dest ./ --arch x64
I am not familiar with Linux at all. I just want my electron app to run on a Raspberry Pi. Any help would be appreciated!

Proper way of installation of Kivy 1.10+ with Python 3 on Raspberry Pi 3 with 7" Touchscreen Display

I'm searching around for quite a long time for a description of a proper way of installation of Kivy 1.10.0 on a Raspberry Pi 3 with Raspbian Stretch Lite and an attached 7" Raspberry Pi 3 Touch Display. My problem is that there is a description on the Kivy Site for Python 2.7 but there is no update on this page for the Python 3 way.
In this thread a way is shown for Python 3.2 but it seems to be not complete. On this page the way is also shown for 2.7 only. I know that there is a distribution that sums all up but I want to install it on an origin Raspbian.
Cut a long story short: Where can I find a complete list of all dependencies and requirements for a working Kivy application on a RPi3 + 7" Touch?
Thanks a lot for your support in advance.
I followed the steps decribed here for "Manual installation (On Raspbian Jessie)" from kivy itself, which you already linked. Replace pip with pip3. If I remember correctly, that's all I did.
Also, first try to upgrade Cython without a specific version, as it might be that it will install a higher version.
(It takes a long time, prepare yourself to wait for a while...)
See comments for fix to another problem
Came across the solution for installing kivy on Raspberry Pi 3+ here:
https://groups.google.com/forum/#!topic/kivy-users/OSpnIv4a_S4
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev \
pkg-config libgl1-mesa-dev libgles2-mesa-dev \
python-setuptools libgstreamer1.0-dev git-core \
gstreamer1.0-plugins-{bad,base,good,ugly} \
gstreamer1.0-{omx,alsa} python-dev
(Note that I stripped off the "cython" from the above command)
sudo pip install cython==0.20.1
sudo pip install git+https://github.com/kivy/kivy.git#7e789b2
Worked perfectly for me after struggling with dependencies for a couple of days of try and fail.

PVFS2 on Raspberry Pi B+

is it possible to install PVFS2/OrangeFS on a Raspberry Pi cluster?
I already installed it on Linux but i really dont know how to install it on a Raspberry. Anyone got an idea or is it simple as installing it on the build system?

Install Lazarus on Raspberry Pi

I want to develop with Lazarus on Raspberry Pi, but until now I can't.
Here I've read this:
In the Raspbian OS it is easy to install Lazarus and Free Pascal. In order to do this simply open a terminal window and type:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fpc
sudo apt-get install lazarus
I've tryed to install FPC for Linux ARM, but the installer didn't work.
Moreover I dont't know where to get Lazarus for Linux ARM.
It seems that Lazarus and FPC for Linux are target to x86/x64 and not fot ARM.
Can someone help me where can I download one single bundled of binaries (Lazarus + FPC) that install out of the box (without the need of source compilation) in the same way as the Windows version?
Another question: is that possible to cross-compile from Windows to Raspbian?
I've done cross-compilations many times but between other OSs.
Thank you
If you use the shell commands from above (those that begin with "sudo apt-get") you don't have to install anything in addition. Lazarus and FPC should be readily installed and available from the "Programming" section of the LXDE start menu.

Python update Linux (Raspberry Pi)

I am trying to upgrade my Python 3.2.4 to the newer 3.3.1 on my Raspberry Pi using the Raspian Wheezy Distro, but for some reason this won't work. I only need it to use the new ipaddress module introduced, however, this is giving me some issues. I am not getting any errors, just the entire proccess doesn't seem to work with the Pi.
I have tried :
apt-get install python3
apt-get update python-3.2.4
Nothing is giving me any luck, any ideas?
Try apt-get install package=version.

Resources