It's OK to say it: 0.22.0 could have been called 0.21.2 if it weren't for a couple tiny new features that are being added (check the changelog!), but most importantly, it comes with many bug fixes, on both frontiers: the compiler & runtime, and the build & packaging.
Plus, the FB manual has seen some updates and corrections since 0.21, too.
0.22.0 Compiler Downloads
- FreeBASIC-0.22.0-2-win32.exe
Full Windows installer. Tip for beginners: After the installation, select Start -> All Programs -> FreeBASIC -> Open console, type 'fbc examples\misc\hello.bas', hit ENTER, and that will create 'C:\Program Files\FreeBASIC\examples\misc\hello.exe' (a simple Hello World program in the examples\misc\ directory of your FreeBASIC installation). - FreeBASIC-0.22.0-2-win32.zip
FB in a .zip, extract anywhere and use. - FreeBASIC-0.22.0-linux.tar.gz
Standard, for installing into /usr/local. (Note: built on Debian) - FreeBASIC-0.22.0-linux-standalone.tar.gz
Extract and use, comes with own 32bit binutils and basic libraries. (Note: built on Debian) - freebasic_0.22.0-2_i386.deb
.deb package for Debian-based systems, installs into /usr. (see below for installation hints) - freebasic_0.22.0-2_amd64.deb
Same, for 64bit Debian. (see below for installation hints) - freebasic_0.22.0-2ubuntu1_amd64.deb
Same, for 64bit Ubuntu, needs getlibs. (see below for installation hints) - FreeBASIC-0.22.0-opensuse.tar.gz
Standard Linux FB (/usr/local) built on OpenSUSE, for OpenSUSE, Fedora and possibly others, gets rid of the "Symbol `ospeed' has different size in shared object, consider re-linking" warning. - FreeBASIC-0.22.0-2-dos.zip
FB for DOS, extract and use (beware of long filenames on some examples).
- FB-manual-0.22.0-chm.zip
Good old (new) FB manual CHM. - FB-manual-0.22.0-fbhelp.zip
For the fbhelp program (QB-like help viewer). - FB-manual-0.22.0-html.zip
HTML, with 00index.html start page, useful as offline documentation when there is no CHM viewer. - FB-manual-0.22.0-txt.zip
For printing to paper.
- FreeBASIC-0.22.0-source.tar.gz
Compiler, runtime and documentation source code.
Installation hints for the .deb packages
These binary .deb packages neither are official Debian packages, nor do they meet the requirements for proper Debian packages. They will install FB into /usr.
In case you have a standalone FB installation installed into /usr/bin/fbc and /usr/share/freebasic/, it should be removed before installing the .deb (otherwise /usr/bin/fbc will be overwritten by the one from the .deb). To uninstall the standalone FB, the install-standalone.sh script can be invoked via ./install-standalone.sh -u (typically requires super user/root access rights).
In case you have an FB installation in /usr/local, you may want to uninstall it, because /usr/local typically takes precedence over /usr when binaries like fbc are searched. To uninstall FB from /usr/local, the install.sh script from the FreeBASIC .tar.gz package can be invoked via ./install.sh -u (typically requires super user/root access rights).
In Ubuntu you can install the .deb package by double-clicking on it. (or right-click, then Open With Ubuntu Software Center)
In Debian (and older Ubuntus) you can use the "GDebi Package Installer", which you can get by installing the "gdebi" package via the Synaptic Package Manager, or with 'apt-get install gdebi'. gdebi-gtk is the graphical front-end for GDebi, you can right-click the .deb and select "Open With Other Application...", then "Use a custom command" and enter "gdebi-gtk".
Installation via console can be done with:
which may require a further step to download missing dependencies:dpkg --install freebasic_0.22.0-2_i386.deb
The Ubuntu amd64 package depends on getlibs, which is used to download 32bit libraries that are needed to build FB graphics programs. You can get the getlibs installation .deb from here:apt-get -f install
http://ubuntuforums.org/showthread.php?t=474790
The .deb's are provided in the hopes to make the installation easier -- but in the end it's not our job to package FB for each distro. If anyone makes other installation packages, for example an .rpm, or a 0.22.0 build for FreeBSD for example, I'd be happy to upload it to SourceForge and add links to it.