rejetto forum

Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: NKCorp. on September 21, 2015, 05:37:35 PM

Title: HTTP File Server on a Raspberry PI.
Post by: NKCorp. on September 21, 2015, 05:37:35 PM
Hi,
I use HFS since a couple of years ago, and I think it's a very
useful software. I've recently buought a Raspberry Pi 2
and installed Raspbian. Now i want to ask if it's possible
(and if you know how to do) to run HFS on the raspberry.
(Sorry for bad english but it's not my primary language).

Thanks to everyone! ;)

Nicolò
Title: Re: HTTP File Server on a Raspberry PI.
Post by: bmartino1 on September 21, 2015, 09:54:02 PM
well, HFS is a windows executable, the "Raspberry Pi 2" Operating system runs a Debian Linux Distro: https://www.raspbian.org/

https://www.raspberrypi.org/documentation/linux/software/apt.md

In order to run HFS or any windows excutable with in Linux, you will need a "windows emulator", There have been forums and reports of Linux users having success with ubuntu and the use of wine: https://www.winehq.org/download/

So Linux commands to install wine we first need to make sure the OS has a "repository" a place to search and download the software
wine has one.... in the terminal:

Code: [Select]
sudo add-apt-repository ppa:ubuntu-wine/ppa
Since a new repository has been added, we need to OS to check it and use it for an available download list:

Code: [Select]
sudo apt-get update
Now since the OS has checked for all available updates and checked all the "respiratory" for available packages
we can now install wine:

Code: [Select]
sudo apt-get install wine1.6
Info and some help form:
https://www.winehq.org/download/ubuntu

There are many windows executable emulators for Linux, wine is free open source...
i have not tested one on a raspberry pi!
Most install windows OS / use a virtual machine or use an emulator to run ".exe" files in windows form there pi

http://www.hongkiat.com/blog/running-windows-app-on-other-platforms/
http://www.reallylinux.com/docs/toptip4.shtml

I have successful used ubuntu Linux with HFS in the past, so i know it can be done with wine.
Your Linux Must Have a GUI (gnome / Xfce / etc...etc...) though!
Title: Re: HTTP File Server on a Raspberry PI.
Post by: NKCorp. on October 28, 2015, 10:45:53 AM
Hi, thank you for the reply.

The biggest promblem is that the Raspberry Pi has
an ARMv7 processor, so it can run only specific O.S.
that are derivate from Linux, in my case Raspbian,
a Debian derivation. The problem of ARMv7 processors
is that they can't run x32 O.s. and x32 software.

There are other ways to run HFS on Raspberry Pi.
Title: Re: HTTP File Server on a Raspberry PI.
Post by: bmartino1 on October 28, 2015, 04:20:48 PM
Then i recommend switching to Ubuntu:

https://ubuntu-mate.org/raspberry-pi/
Title: Re: HTTP File Server on a Raspberry PI.
Post by: LeoNeeson on October 29, 2015, 06:31:12 AM
The best path you can choose, is searching on how to run WINE on ARMv7 (since HFS runs fine using WINE on Linux). And you can start looking here (http://wiki.winehq.org/ARM), here (https://www.raspberrypi.org/forums/viewtopic.php?f=2&t=4785), and here (https://www.google.com/search?q=%22WINE%22+%22ARMv7%22)...

If you are a programmer, another path is porting (http://www.freepascal.org/) the Delphi/x86 source code (http://sourceforge.net/projects/hfs/) of HFS, into a Lazarus (http://www.freepascal.org/docs-html/3.0.0/user/userse35.html)/ARMv7 (http://forum.lazarus.freepascal.org/index.php?topic=21009.0) compatible code (http://wiki.freepascal.org/Setup_Cross_Compile_For_ARM). But it's a hard way, and you're on your own.
Title: Re: HTTP File Server on a Raspberry PI.
Post by: Chris Harris on June 21, 2016, 01:46:38 AM


There are other ways to run HFS on Raspberry Pi.

I would like to know of any way to run HFS on a Raspberry Pi (Raspbian OS  based on Debian Jessie)?

Has anyone compiled it for Linux?

Chris
Title: Re: HTTP File Server on a Raspberry PI.
Post by: LeoNeeson on June 21, 2016, 07:22:07 AM
I would like to know of any way to run HFS on a Raspberry Pi (Raspbian OS  based on Debian Jessie)?
I haven't tested, but I think you can run HFS on Raspberry Pi using ExaGear Desktop (https://eltechs.com/product/exagear-desktop/) (since it lets you run x86 apps on ARM devices, like Raspberry Pi). Sadly it's not free (prices start from €14.95).
Title: Re: HTTP File Server on a Raspberry PI.
Post by: Rapid on August 29, 2021, 07:31:46 PM
This is HFS on Windows 11 in ESXi-ARM on Raspberry PI  :)
Title: Re: HTTP File Server on a Raspberry PI.
Post by: danny on August 29, 2021, 07:39:56 PM
I would like to try a native HFS on arm hardware. 
Title: Re: HTTP File Server on a Raspberry PI.
Post by: Rapid on August 30, 2021, 10:59:22 AM
I hope next year we will have a Delphi with Windows ARM support.
Title: Re: HTTP File Server on a Raspberry PI.
Post by: bmartino1 on March 15, 2022, 06:55:33 PM
I made a old x86 wine installation. arm should run wine just fine under Debian. I have ran a pie 3 model b in the past:

https://rejetto.com/forum/index.php?topic=11787.msg1061701#msg1061701

back then play on linux and exo gear were the x86 emulation layer.
Title: Re: HTTP File Server on a Raspberry PI.
Post by: rejetto on March 16, 2022, 06:13:56 PM
rejoice, for hfs 3 already runs natively on linux :)
the linux binary may not be right for arm, but i expect the node version to run smoothly
https://github.com/rejetto/hfs/releases