Articles of the Logic Basic
How to install Logic Basic on Linux

To install Logic Basic on Linux OS, you must first install the Wine software. Wine is an Open Source, command line and very popular software that allows users to install and run Microsoft Windows applications and games on Linux. It is easy to install and does not take much time.

You can install Wine through the software manager, or through command lines in terminal. Wine can be installed on Ubuntu and its variants and derivatives by running these commands in a terminal:


$ sudo add-apt-repository ppa:ubuntu-wine/ppa
$ sudo apt-get update
$ sudo apt-get install -y wine1.7

Then run the wine configuration tool, and select the Windows version as Windows XP.

Once this is done you are able to install Logic Basic on your computer with the installer, and after installation, click on the LB icon of your desktop and have fun!


How configure the ODBC drivers

The Logic Basic allows you to use two types of databases: native and via ODBC. After installing the Logic Basic, the native database is ready for use, but to access databases via ODBC, you must make some additional settings.

First you should install Winetricks on your Linux OS, for this run the following command in the terminal:


$ sudo apt-get install winetricks

Winetricks is a helper script to download and install various redistributable runtime libraries needed to run some programs in Wine. These may include replacements for components of Wine using closed source libraries.

Download the mdac_typ.exe file and copy it to the following folder (create these folders):

/home/your_username/.cache/winetricks/mdac27

Then run the following command in the terminal:


$ winetricks jet40 mdac28

Run winecfg in terminal, in the "Libraries" tab edit the files odbccp32.dll and odbc32.dll and change the load order for "Native" for each program that will use the ODBC drivers, for example, on the "Applications" tab click on the button "Add application" and select the "LogicBasic.exe", then in the "Library" tab in the "New override for library", add the files odbccp32.dll and odbc32.dll.

Run the regedit and import the Jet40.reg and ODBC.reg records (save the files of links on your HD), then click on the File >> Import... and select these files.

That's all folks!