Both sides previous revisionPrevious revisionNext revision | Previous revision |
howto:raspbian_install [2023/12/29 23:08] – [Prerequisites] nelgin | howto:raspbian_install [2024/10/11 22:16] (current) – Installation make command-line updated to reflect new makefile name and default target digital man |
---|
| |
Install all the [[install:nix:prerequisites]] for Debian/Ubuntu for version 23.00 upwards then follow the instructions below: | Install all the [[install:nix:prerequisites]] for Debian/Ubuntu for version 23.00 upwards then follow the instructions below: |
Note: If using an Rpi4 use arm64 instead of armhf. | **Note: If using an Rpi4 use a 64 bit Raspberry Pi OS and download arm64 instead of armhf.** |
^ # ^ Command ^ Description ^ | ^ # ^ Command ^ Description ^ |
| 1 | ''mkdir ~/deb_packages'' | Create a directory to store some packages for manual installation | | | 1 | mkdir ~/deb_packages | Create a directory to store some packages for manual installation | |
| 2 | ''cd ~/deb_packages'' | Change the current working directory to the newly-created directory | | | 2 | cd ~/deb_packages | Change the current working directory to the newly-created directory | |
| 3 | ''wget http://archive.debian.org/debian/pool/main/libf/libffi/libffi6_3.2.1-6_armhf.deb'' | Download libffi6 | | | 3 | wget http://archive.debian.org/debian/pool/main/libf/libffi/libffi6_3.2.1-6_armhf.deb or \\ wget http://archive.debian.org/debian/pool/main/libf/libffi/libffi6_3.2.1-6_arm64.deb | Download libffi6 | |
| 4 | ''wget http://archive.debian.org/debian/pool/main/m/mozjs/libmozjs185-1.0_1.8.5-1.0.0+dfsg-6_armhf.deb'' | Download libmozjs185-1.0 | | | 4 | ''wget http://archive.debian.org/debian/pool/main/m/mozjs/libmozjs185-1.0_1.8.5-1.0.0+dfsg-6_armhf.deb or\\ wget http://archive.debian.org/debian/pool/main/m/mozjs/libmozjs185-1.0_1.8.5-1.0.0+dfsg-6_arm64.deb'' | Download libmozjs185-1.0 | |
| 5 | ''wget http://archive.debian.org/debian/pool/main/m/mozjs/libmozjs185-dev_1.8.5-1.0.0+dfsg-6_armhf.deb'' | Download libmozjs185-dev | | | 5 | ''wget http://archive.debian.org/debian/pool/main/m/mozjs/libmozjs185-dev_1.8.5-1.0.0+dfsg-6_armhf.deb or\\ wget http://archive.debian.org/debian/pool/main/m/mozjs/libmozjs185-dev_1.8.5-1.0.0+dfsg-6_arm64.deb'' | Download libmozjs185-dev | |
| 6 | ''sudo apt install ./libffi6_3.2.1-6_armhf.deb ./libmozjs185-1.0_1.8.5-1.0.0+dfsg-6_armhf.deb ./libmozjs185-dev_1.8.5-1.0.0+dfsg-6_armhf.deb'' | Install libs and dependencies| | | 6 | ''sudo apt install ./lib*.deb'' | Install libs and dependencies| |
| 7 | ''mkdir ~/sbbs'' | Create the directory where Synchronet will be built and run from | | | 7 | ''mkdir ~/sbbs'' | Create the directory where Synchronet will be built and run from | |
| 8 | ''cd ~/sbbs'' | Change the current working directory to the newly-created directory | | | 8 | ''cd ~/sbbs'' | Change the current working directory to the newly-created directory | |
| 9 | ''wget [[https://gitlab.synchro.net/sbbs/sbbs/-/raw/master/install/GNUmakefile]]'' | [[install:nix:Fetch makefile]] | | | 9 | ''wget [[https://gitlab.synchro.net/sbbs/sbbs/-/raw/master/install/install-sbbs.mk]]'' | [[install:nix:Fetch makefile]] | |
|10 | ''make install SYMLINK=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185'' | Build it (will likely take quite a while) | | |10 | ''make -f install-sbbs.mk SYMLINK=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185'' | Build it (will likely take quite a while) | |
|11 | ''export SBBSCTRL=~/sbbs/ctrl'' | See [[config:env]] for details on setting this environment variable persistently | | |11 | ''export SBBSCTRL=~/sbbs/ctrl'' | See [[config:env]] for details on setting this environment variable persistently | |
|12 | ''~/sbbs/exec/[[util:scfg]]'' | Configure your BBS, see ''[[config:sbbs.ini]]'' for more Synchronet server settings | | |12 | ''~/sbbs/exec/[[util:scfg]]'' | Configure your BBS, see ''[[config:sbbs.ini]]'' for more Synchronet server settings | |
| |
Although it [[https://www.tal.org/tutorials/raspberry-pi3-build-64-bit-kernel|is possible]] to create 64-bit ARM binaries for the Raspberry Pi 3/3+ through cross-compilation, this is not supported by the Raspberry Pi foundation and thus not covered here. | Although it [[https://www.tal.org/tutorials/raspberry-pi3-build-64-bit-kernel|is possible]] to create 64-bit ARM binaries for the Raspberry Pi 3/3+ through cross-compilation, this is not supported by the Raspberry Pi foundation and thus not covered here. |
| |
| ====== DOSEMU On Raspberry Pi 4 with 64 Bit OS ====== |
| |
| You will need to add the DosEMU2 Launchpad PPA to your system. |
| |
| First, add the public key |
| |
| $ sudo curl -sS 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xebe1b5ded2ad45d6'|gpg --dearmor > /etc/apt/trusted.gpg.d/ubuntu-dosemu2-ppa.gpg |
| |
| This step seems to be a challenge for some people so you may have to break it into a couple of steps |
| |
| $ curl -sS 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xebe1b5ded2ad45d6' | gpg --dearmor > /tmp/dosemupgp.txt |
| $ sudo mv /tmp/dosemupgp.txt /etc/apt/trusted.gpg.d/ubuntu-dosemu2-ppa.gpg |
| |
| Second, create a source file |
| |
| $ sudo echo "deb https://ppa.launchpadcontent.net/dosemu2/ppa/ubuntu kinetic main" > /etc/apt/sources.list.d/dosemu2 |
| |
| Next, run apt update to make sure there are no issues |
| |
| $ sudo apt update |
| |
| Then install the DosEMU2 files |
| |
| $ apt install dosemu2 |
| |
| A number of packages will be installed. |
| |
| Finally, download Nelgin's dosemu2 configurations. Untar the file and follow the readme. You should be left with a working DosEMU |
| |
| $ wget https://www.endofthelinebbs.com/dosemu2.tar.gz |
| $ tar xf dosemu2.tar.gz |
| |
| |
===== See Also ===== | ===== See Also ===== |