Both sides previous revisionPrevious revisionNext revision | Previous revision |
install:nix:prerequisites [2023/01/25 11:59] – Add lrzsz and gkermit to install example and move install example out of the Building section digital man | install:nix:prerequisites [2024/11/23 15:01] (current) – [MacOS] need pkgconf manually installed digital man |
---|
==== Required ==== | ==== Required ==== |
| |
^ Required Component ^ Files ^ Debian Package ^ FreeBSD Port/Package ^ | ^ Required Component ^ Files ^ Debian Package ^ Red Hat Package ^ FreeBSD Port/Package ^ |
| [[http://www.gnu.org/software/make/|GNU make]] | ''[[:install:nix:make|gmake]]'' or ''make'' | [[http://packages.debian.org/stable/make|make]] | devel/gmake | | | [[http://www.gnu.org/software/make/|GNU make]] | ''[[:install:nix:make|gmake]]'' or ''make'' | [[http://packages.debian.org/stable/make|make]] | make | devel/gmake | |
| [[http://gcc.gnu.org/|GNU C/C++ Compiler]] | ''gcc'' and ''g++'' | [[http://packages.debian.org/stable/g++|g++]] | lang/gcc | | | [[http://gcc.gnu.org/|GNU C/C++ Compiler]] or [[https://clang.llvm.org/|Clang C/C++ Compiler]] | ''gcc'' and ''g++'' or ''clang'' and ''clang++'' | [[http://packages.debian.org/stable/g++|g++]] | gcc | Part of system | |
| System C library header files |''errno.h'' | [[http://packages.debian.org/stable/linux-libc-dev|linux-libc-dev]] | Part of system | | | System C library header files |''errno.h'' | [[http://packages.debian.org/stable/linux-libc-dev|linux-libc-dev]] | glibc-headers | Part of system | |
| [[http://libarchive.org|libarchive]] | ''libarchive.so'' and ''archive.h'' | [[https://packages.debian.org/stable/libarchive-dev|libarchive-dev]] | Part of system | | | [[http://libarchive.org|libarchive]] | ''libarchive.so'' and ''archive.h'' | [[https://packages.debian.org/stable/libarchive-dev|libarchive-dev]] | libarchive-devel | Part of system | |
| [[http://www.gnu.org/software/ncurses/|ncurses library and headers]] | ''libncurses.so'' and ''ncurses.h'' or ''curses.h'' | [[http://packages.debian.org/stable/libncursesw5-dev|libncursesw5-dev]] | Part of system | | | [[http://www.gnu.org/software/ncurses/|ncurses library and headers]] | ''libncurses.so'' and ''ncurses.h'' or ''curses.h'' | [[http://packages.debian.org/stable/libncursesw5-dev|libncursesw5-dev]] | ncurses-devel | Part of system | |
| [[http://www.mozilla.org/projects/nspr/|Netscape Portable Runtime Library]] | ''libnspr4.so'' and ''nspr.h'' | [[http://packages.debian.org/stable/libnspr4-dev|libnspr4-dev]] | devel/nspr | | | [[http://www.mozilla.org/projects/nspr/|Netscape Portable Runtime Library]] | ''libnspr4.so'' and ''nspr.h'' | [[http://packages.debian.org/stable/libnspr4-dev|libnspr4-dev]] | nspr-devel | devel/nspr | |
| [[http://www.perl.org|Perl]] | ''perl'' | [[https://packages.debian.org/stable/perl|perl]] | lang/perl5.14 (version subject to change) | | | [[http://www.perl.org|Perl]] | ''perl'' | [[https://packages.debian.org/stable/perl|perl]] | | lang/perl5.14 (version subject to change) | |
| [[http://www.python.org|Python]] | ''python'' | [[https://packages.debian.org/stable/python2.7|python2.7]] | lang/python2 | | | [[http://www.python.org|Python]] | ''python'' | [[https://packages.debian.org/stable/python3|python3]] | python | lang/python | |
| [[http://github.com/pkgconf/pkgconf/|pkgconf]] | ''pkg-config'' | [[https://packages.debian.org/stable/python2.7|pkg-config]] | devel/pkgconf | | | [[http://github.com/pkgconf/pkgconf/|pkgconf]] | ''pkg-config'' | [[https://packages.debian.org/stable/pkg-config|pkg-config]] |pkgconfig| devel/pkgconf | |
| zip | ''zip'' | [[https://packages.debian.org/stable/zip|zip]] | archivers/zip | | | unzip | ''unzip'' | [[https://packages.debian.org/stable/zip|zip]] | unzip | archivers/unzip | |
| unzip | ''unzip'' | [[https://packages.debian.org/stable/zip|zip]] | archivers/unzip | | | patch (for non-x86 platforms)| patch | [[https://packages.stable.org/stable/patch|patch]] | patch | | |
| patch (for non-x86 platforms)| patch | [[https://packages.stable.org/jessie/patch|patch]] | | | |
| |
| |
^ Recommended Component ^ Files ^ Debian Package ^ FreeBSD port/package ^ Alternative ^ | ^ Recommended Component ^ Files ^ Debian Package ^ FreeBSD port/package ^ Alternative ^ |
| [[https://git-scm.com/|Git]] | ''git'' | [[https://packages.debian.org/stable/git|git]] | ''devel/git'' | ''ftp'', ''wget'', ''curl'' | | | [[https://git-scm.com/|Git]] | ''git'' | [[https://packages.debian.org/stable/git|git]] | ''devel/git'' | ''ftp'', ''wget'', ''curl'' | |
| Capabilities Library (Linux) | ''libcap.so'' and ''sys/capability.h'' | [[http://packages.debian.org/stable/libcap2-dev|libcap2-dev]] | Not available | ''[[howto:linux_non-root|setcap]]'' | | | Capabilities Library (Linux) | ''libcap.so'' and ''sys/capability.h'' | [[http://packages.debian.org/stable/libcap2-dev|libcap-dev]] | Not available | ''[[howto:linux_non-root|setcap]]'' | |
| GNU Debugger | ''gdb'' | [[http://packages.debian.org/stable/gdb|gdb]] | Part of system | | | | GNU Debugger | ''gdb'' | [[http://packages.debian.org/stable/gdb|gdb]] | Part of system | | |
| systemd library (for systemd integration) | ''libsystemd.so'' and headers | [[https://packages.debian.org/stable/libsystemd-dev|libsystemd-dev]] | N/A | | | | systemd library (for systemd integration) | ''libsystemd.so'' and headers | [[https://packages.debian.org/stable/libsystemd-dev|libsystemd-dev]] | N/A | | |
| MQTT library | ''libmosquitto.so'' and headers | [[https://packages.debian.org/stable/libmosquitto-dev|libmosquitto-dev]] | | | | | MQTT library | ''libmosquitto.so'' and headers | [[https://packages.debian.org/stable/libmosquitto-dev|libmosquitto-dev]] | net/mosquitto | | |
| [[http://x.org|Xorg]] | ''Xlib.so'' and headers | [[http://packages.debian.org/stable/xorg-dev|xorg-dev]] | ''x11/xorg'' | | | | [[http://x.org|Xorg]] | ''Xlib.so'' and headers | [[http://packages.debian.org/stable/xorg-dev|xorg-dev]] | ''x11/xorg'' | | |
| [[http://libSDL.org|SDL 2]] | ''libsdl.so'' and headers | [[http://packages.debian.org/stable/libsdl2-dev|libsdl2-dev]] | ''devel/sdl2'' | | | | [[http://libSDL.org|SDL 2]] | ''libsdl.so'' and headers | [[http://packages.debian.org/stable/libsdl2-dev|libsdl2-dev]] | ''devel/sdl2'' | | |
| [[http://www.gtk.org|GTK+]] | libraries and headers | [[http://packages.debian.org/stable/libgtk-3-dev|libgtk-3-dev]] | ''x11-toolkits/gtk30'' | | | | [[http://www.gtk.org|GTK+]] | libraries and headers | [[http://packages.debian.org/stable/libgtk-3-dev|libgtk-3-dev]] | ''x11-toolkits/gtk30'' | | |
| [[https://glade.gnome.org/|GTK+ User Interface Builder (GLADE)]] | libraries and headers | [[http://packages.debian.org/stable/libglade2-dev|libglade2-dev]] | | | | | [[https://glade.gnome.org/|GTK+ User Interface Builder (GLADE)]] | libraries and headers | [[http://packages.debian.org/stable/libglade2-dev|libglade2-dev]] | devel/libglade2 | | |
| [[https://www.gnu.org/software/wget/|GNU Wget]] | ''wget'' | [[https://packages.debian.org/stable/wget|wget]] | ''ftp/wget'' | | | | [[https://www.gnu.org/software/wget/|GNU Wget]] | ''wget'' | [[https://packages.debian.org/stable/wget|wget]] | ''ftp/wget'' | | |
| |
**Note:**\\ | |
The following SyncTERM build error means you need to install the ''libsdl2-dev'' package: | |
undefined reference to `vstat' | |
| |
===== 3rd Party Programs ===== | ===== 3rd Party Programs ===== |
| |
| |
The following shell command-line/script file((made executable with chmod +x)) can be used to install the required and recommended packages on **Debian**-based Linux distros (e.g. **Ubuntu**): | The following shell command-line/script file((made executable with chmod +x)) can be used to install the required and recommended packages on **Debian**-based Linux distros (e.g. **Ubuntu**): |
| |
<file sh install-sbbs-deps.sh> | <file sh install-sbbs-deps.sh> |
sudo apt install build-essential perl zip git gdb lib-archive-dev libncursesw5-dev libnspr4-dev libmosquitto-dev libcap2-dev xorg-dev libsdl2-dev libgtk-3-dev libglade2-dev python2.7 lrzsz gkermit | sudo apt install build-essential perl zip git gdb libarchive-dev libncursesw5-dev libnspr4-dev libmosquitto-dev libsystemd-dev libcap-dev xorg-dev libsdl2-dev libgtk-3-dev libglade2-dev python3 python-is-python3 lrzsz gkermit |
</file> | </file> |
| ==== CentOS 7 ==== |
| |
| To be able to use Mosquitto for MQTT, you will need to add the EPEL repo. Execute the following command as root: |
| |
| yum -y install epel-release |
| |
| Now install the development tools: |
| |
| yum group install "Development Tools" |
| |
| and finally the rest of the prerequisite packages |
| |
| yum install libarchive-devel nspr-devel ncurses-devel libcap-devel systemd-devel xorg-x11-server-devel SDL-devel lrzsz gkermit mosquitto-devel |
| |
| (this is a work in progress) |
| |
| ==== MacOS ==== |
| |
| After installing [[http://brew.sh|Homebrew]]: |
| |
| brew install pkgconf nspr libarchive |
| |
===== See Also ===== | ===== See Also ===== |