Giter VIP home page Giter VIP logo

cygwinportable's Introduction

CygwinPortable

Configuration files to make Cygwin portable on a USB flash drive.

Setup

Let's assume that your USB flash drive is on E:.

  1. Install the PortableApps platform to your flash drive.

  2. Create a folder at E:\PortableApps\CygwinPortable.

  3. Download Cygwin and place setup.exe in the directory you just created. Rename it to cygwinConfig.exe (this allows you to run it without administrator privileges).

  4. Install Cygwin.

    • Set the root directory to E:\PortableApps\CygwinPortable.
    • Install for "Just me".
    • Set the local package directory to E:\PortableApps\CygwinPortable\packages.
    • Besides the defaults, install git, vim, source-highlight and the entire X11 category.
    • Do not create shortcuts when you get to the last screen of the install.
  5. Launch Cygwin-Terminal. Clone this repo into the root Cygwin directory:

     $ cd /
     $ git init
     $ git remote add origin git://github.com/ntmoe/CygwinPortable.git
     $ git pull origin master
    
  6. Link the portable-ized configuration files (and some handy scripts that I use) to their proper locations:

     $ cd ~
     $ rm .bashrc .minttyrc /etc/profile
     $ ln -s /Other/bashrc ~/.bashrc
     $ ln -s /Other/dircolors ~/.dircolors
     $ ln -s /Other/minttyrc ~/.minttyrc
     $ ln -s /Other/profile /etc/profile
     $ ln -s /Other/cyg-wrapper.sh /bin/cyg-wrapper.sh
     $ ln -s /Other/startSumatra.sh /bin/startSumatra.sh
    
  7. Now if you go to the PortableApps menu and refresh it, three Cygwin utilities should show up, those being:

    • Cygwin Setup
    • Cygwin Terminal
    • Start XWin Server

cygwinportable's People

Contributors

ntmoe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.