= Installing Cobra = Installation is from one of (the latest) downloadable packages from the [http://cobra-language.com/downloads/ downloads] page. This is a multistage process * download the install package * unpack it to a temporary directory * run the installer * ( test the installation) On all platforms the installer will install a pristine copy of the compiler on your system and setup associated libraries as required for the platform.[[BR]] As it executes it will ask you for info it needs (where you would like the compiler installed to) and emit a sequence of status lines informing you of what it is doing and any problems it finds as it does so. The installer prints "Success!" at the end, if successful, Otherwise you will see an error message. If you have any problems please see [wiki:Troubleshooting] It is safe to run the installer more than once. To test the installation, try invoking Cobra from '''outside''' the workspace. The command "cobra -about" will give you version, platform and directory information. == On Windows == Requires .Net (any version from 2.0) The distribution package is a zip file ( e.g Cobra-0.9.1.zip) * Download it and unpack to a convenient temporary directory (not the final target directory the compiler will bw installed to) - This will create a directory named for the cobra version ( e.g Cobra-0.9.1) containing the distribution files * Launch a command prompt as an administrator and navigate to the directory you unzipped the package to * Change directory to the Source directory within the unzipped directory tree and run the installation command. {{{ cd \Source bin\install-from-workspace }}} e.g for cobra version 0.9.1 {{{ cd Cobra-0.9.1\Source bin\install-from-workspace }}} == On Mac or !Linux/Unix == Requires Novell Mono ( any version from 2.6) The distribution is a gzipped tar file ( e.g cobra-0.9.0.tar.gz) * Download it and unpack to a convenient temporary directory - This will create a directory named for the cobra version (e.g Cobra-0.9.0) containing the distribution files * Launch a command prompt as an administrator and navigate to the directory you unzipped the package to. * Change directory to the Source directory within the unzipped directory tree and run the installation command. {{{ cd /Source sudo bin/install-from-workspace }}} e.g for cobra version 0.9.0 {{{ cd Cobra-0.9.0/Source sudo bin/install-from-workspace }}} [WikiStart Return to Top]