User Tools

Site Tools


Sidebar

**The OOBD Book** Download as [[epub|eBook]] \\ Download as [[https://drive.google.com/folderview?id=0B795A63vSunRbk1jc3U5VFFJbkU&usp=sharing|PDF / Mobi]] * [[start|Documentation]] * Installation * [[startup_javame|OOBD-ME (Mobile Phones)]] * [[startup_android|OOBD-Android]] * [[startup_windows|Windows OOBDesk]] * [[startup_embedded|Raspi & Co]] * [[startup_usage|Start the programs]] * [[startup_oobdscript|First Success: Run the OOBD script]] * [[lua_start|Lua in OOBD]] * [[tools_quickscript|Click your Script: Quick Script]] * [[lua_make-your-own-scripts|Make your own OOBD Scripts]] * [[lua_tutorial|The OOBD Lua Tutorial]] * [[lua_make|Lua Build Enviroment]] * Web UI * [[:de:doc:webui_tutorial|Web User Interface Tutorial(German)]] * [[webui_guide|Web UI Package structure]] * [[:de:doc:webui_simulator|UI Emulator for development(German)]] * [[hw_start|The OOBD Hardware]] * [[hw_quickstart|OOBD Cup Quick Start]] * [[hw_assembly-cupv5|Build your own Dongle]] * [[hw_busswitch|Add a second Bus to DXM]] * [[hw_bootloader|Flash the Bootloader]] * [[hw_firmware|Flash the Firmware]] * [[hw_flash-from-usb-stick|Flash the Firmware from USB-Stick]] * [[hw_commands|The Firmware Commands]] * [[tools_start|The OOBD Utilities]] * [[tools_kadaver|Kadaver]] * [[tools_quickscript|Quick Script]] * [[tools_cortex-crc32|Cortex-CRC32]] * [[tools_filelist|Filelist]] * [[tools_olp|OLP]] * [[tools_oobdcopyshop|OOBDCopyShop]] * [[tools_oobdtemple|oobdtemple]] * [[tools_oodbcreate|OODBCreate]] * [[tools_opendiagx|OpenDiagX]] * [[tools_oobdcmd|OOBDcmd]] * [[tools_oobdflash|OOBDFlash]] * PGP * [[pgp_setup|Install PGP Keys]] * [[dev_start|Development]] * [[dev_googlesetup|Join the News]] * Setup your Developer Environment * [[dev_cygwininstall|CygWin Environment]] * [[dev_setupswing|Java Swing]] * [[dev_setupme|Java ME]] * [[dev_setupandroid|Android]] * [[dev_androidlivecd|The Android Debug Live CD]] * [[dev_setupfirmware|Firmware]] * [[dev_clientdesignguide|User Interface Design Guide]] * [[dev_systemspec|The OOBD System Spec]] * [[dev_readotherformats|Import XML files]] * [[dev_links|Link Collection]] * [[dev_roadmap|Road Map]] * [[rfc_start|Specifications (RFC)]] * [[rfc_firmware_syntax|OOBD Firmware: General Command Syntax]] * [[rfc_canuds-mode|OOBD Firmware: Protocol : UDS (P 6 ..)]] * [[rfc_canraw-mode|OOBD Firmware: Protocol : CANraw (P 6 ..)]] * [[rfc_rtd-real-time-data-protocol-for-the-oobd-firmware|OOBD Firmware: Protocol : Real Time Data (RTD) (P 6 ..)]] * [[rfc_pgp-encrypting-sensible-data-with-pgp|PGP Principle]] * [[rfc_onion|The ONION Message Format]] * [[faq|Frequently Asked Questions]]

doc:dev_cygwininstall

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== How to install Cygwin packages ====== To automate most of the file handling tasks and to allow batch transfer for whole file collections, the OOBD tools mostly relies on unix batch files, the so called shell script , which gives an enormous power to automate processes. To have this also available in a Windows requirement, you have to use Cygwin, which emulates a Unix runtime environment as a Command Line tool also in Windows. Here are the instruction of how to initially install and update the Cywin tool. ===== Initial Setup ===== Before you start, you need to understand two basics about how the Cygwin Installer is working * The Cygwin Installer (although its called installer) does not just initially installs the software. The Installer is also used to add or delete some packages or to update the whole system. So whenever you want to change something in Cygwin, you've to start the installer again, also after the initial setup * In opposite to most of the windows programs, where all installations are mostly independent from each other, Cygwin (like most Unix systems) is using a so called package manager. When ever you want to add or delete software, you have to do this through the package manager. The package manager then makes sure that all necessary other packets, which are needed to make your software run will be also installed, updated or deleted. This keeps your system always in a stable state. To start - create a (Installer) directory where you want to keep the Installer and all installation packages files (e.g. CygWinInstall) - create a (runtime) directory where the final Cygwin runtime environment should be installed into (e.g. CygWinRuntime) - download the Installer from the [[http://cygwin.com/install.html|Cygwin Installer Download page]]. Save it into the Installer- Directory ===== Install and configure Cygwin ===== Start the Installer {{:doc:cygwin-startscreen.png?200}} As Root Directory select your previosly generated runtime directory As Local Package Directory select your previosly generated Installer directory {{:doc:cygwin-choose_root.png?200}} As Internet Connection use either "Direct Connection" or "Use Browser Settings" in case you've a normal standalone PC. If you are behind a company firewall, you might need to ask your admin for the right proxy settings {{:doc:cygwin-choose_internet_connection.png?200}} Then Cywin will try to connect to its main server to download a list of available mirror sites. If this fails, go back one step and check your network settings again. If the network connection is fine, Cygwin will present you a list of available download sites. Select one of your choice. Behind a firewall its probably better to use a HTTP mirror instead of FTP, as FTP might be blocked by the firewall. {{:doc:cygwin-mirrors.png?200}} As next Cygwin will download a list of all available packages of that mirror. You can search for a packet or program by typing its name into the search field and then open the treeview of the items found {{:doc:cygwin-find_package.png?200}} To select any package for installation or update, **you need to click with the mouse into the "New" column of that packet to change its status from "Skip" to its version number to install it!!!** {{:doc:cygwin-select_package.png?200}} To use the OOBD shell scripts, you will need to have the following additional packages installed. Search and mark them for installation as described above: * zip * gnupg * lua * make * joe * subversion * php * xmlstarlet * md5deep as next Cygwin will download and install all necessary package. And don't worry, this process takes ages… {{:doc:cygwin-download_packages.png?200}} When finished, you'll find a new entry in the Windows start menu to open the Cygwin Comand Line input. Please be aware that this is now a Unix environment, so many things like path names, file and directory naming conventions etc. are different to Windows!

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information
doc/dev_cygwininstall.1414341377.txt.gz · Last modified: 2014/10/26 17:36 by wsauer