Installing LINA Applications

The procedure for installing LINA applications is identical to that for installing LINA itself, with the exception that one need not be a super-user on Linux, so the sudo command is not necessary. It is necessary to "Run as Administrator" on relevant Windows operating systems.


On any platform, when you launch an Application Installer, the installer window usually appears beneath any other windows you have open on your screen. This is annoying but we'll take care of it soon.


On Mac, if you launch an Application Installer it will create an Install virtual disk on the desktop that will remain after the installation process has completed. If you launch another Application Installer, it will usually unmount the existing Install disk and mount the new one but in some instances this new installation may hang until the original Install disk is ejected.


Using Command Line Applications

Once a LINA command line application is installed, you can launch it in one of two ways.

  • From your command shell: The application can be started and used from whatever command shell is native to your operating system. On Windows, this is the DOS shell that you can open using the "Command Prompt" item under "Accessories" in your Start Menu. On Mac and Linux, the command shell can be opened using any "Terminal" or "Shell" application.


    Note that on Windows Vista, LINA applications must be run as Administrator. This is done by right-clicking on the application icon or on the Windows Command Prompt and selecting "Run as Administator".


    From the command prompt, simply type the name of the application in all-lower-case. For instance, if you have installed Nano-2.0.2.lpkg, you can start nano by typing "nano" at the command prompt.


    To get help using a command line program, type its name followed by " --help", as in "nano --help".


    On most Linux systems, in order to access your first LINA application from anywhere in the file system, you must log out and log back in or reboot your operating system. Later applications will be immediately accessible.


  • From your menu: Command line programs that run in a console window may be opened from the menu or applications area of your operating system. Simply find the menu item in the appropriate category, and click or double click to open. This will launch the application within the default terminal window.



On Windows, Nano is installed in the All Programs:Accessories folder. At the end of most application installations you will be presented with the option of creating a shortcut on the desktop and/or seeing the ReadMe file.


On Windows, command line apps display two messages as they start about "Starting the LINA Info Service." These are automatic Windows messages and can be ignored.


Again on Windows, Nano, Elinks and other console apps get their own shortcut on the Desktop. Tar, wget, grep and other command line programs run from the command prompt and so don't need a console interface. These are invoked from LINA via the command rompt.


Using Web Applications

Once a web application is installed, you can use it on that machine by opening your web browser to the "localhost" ip address of 127.0.0.1, followed by a colon and then the port where the application is accessed. For instance, if you installed SugarCRM at the default port 7600, you could view it by going to 127.0.0.1:7600.


When running multiple web applications on LINA it is be necessary to use the same MySQL password and port number for all installed applications.


Some applications are hardwired to be accessed at a particular port. In this case, the port is noted in the finish screen of the install as well as in the project documentation.


Web applications also appear as menu and Desktop links on Windows and Linux systems. When you click on the link it will automatically start LINA and open your default web browser to the correct location.


In order for web applications to start, LINA must be running. This happens automatically when the application is launched from the menu, but sometimes the browser opens before LINA is fully started. If you get a "page not found" error after when launching a web app from the menu, try waiting a minute and trying again.


If you prefer to navigate to the application's URL from your web browser, you must first make sure that LINA has started. On Linux and Mac machines LINA may by typing "/usr/lina/lina -s". On Windows, the command is "c:\Program Files\Lina Software\LINA Runtime Environment\lina.exe -s".