You are here

Cygwin

32 posts / 0 new
Last post
esavard
Offline
Last seen: 13 years 2 weeks ago
Joined: 2008-07-08 11:03
Cygwin

Hi,

I created a portable apps for Cygwin (cygwin.com). There is no installer at the moment, so you have to unzip it on your usb device. Your comments are welcome.

http://www.symbiosoft.net/cygwinportable

[removed shadow copy - moderator PP]

alanbcohen
Offline
Last seen: 5 years 4 months ago
Joined: 2006-01-04 10:47
Differences?

Thank you for the link. Perhaps a better place for this post would be in the Beta forums, since you are offering a test version.

If I have some time, I will try your environment. How else is this different from the standard Cygwin which is usually installed in the root directory and started with a batch file?

esavard
Offline
Last seen: 13 years 2 weeks ago
Joined: 2008-07-08 11:03
Differences?

The difference is that your environment follows you on your USB key, it is not confined to the hard drive. I think it could be useful to have a Unix-like environment when you have to work on computers where Cygwin is not installed or in paranoid companies where you can't install software on your PC Workstation if the CEO has not approve it... Believe me, such companies exist! Wink

Etienne.

alanbcohen
Offline
Last seen: 5 years 4 months ago
Joined: 2006-01-04 10:47
Etienne, Sorry I wasn't

Etienne,
Sorry I wasn't clearer in my question. The standard version of Cygwin can be extracted in the root of a USB drive and run from there without registry entries being created. All created directories and files are placed under the installation directory. Basically, this means that Cygwin is natively portable. Is your work just a launcher or did you make changes to the application itself? What other changes have been made?

esavard
Offline
Last seen: 13 years 2 weeks ago
Joined: 2008-07-08 11:03
OK, I Understand your question...

What is the main differences between an installation at the root of your usb device is:

- This comes with a portableapps launcher (and I`m working on a paf.exe installer also).
- I personnalized the Cygwin batch file according to this blog: http://blogs.linux.ie/fuzzbucket/2008/02/23/cygwin/ so you don`t have to change the drive letter if Windows decides that you usb drive is J: on one machine and Z: on the other.

I didn't change the Cygwin application itself. I know this is not much work but I hope it will be useful for someone using PortableApps launcher menu.

Thanks for your comments.

Etienne.

alanbcohen
Offline
Last seen: 5 years 4 months ago
Joined: 2006-01-04 10:47
Thank you!

Thank you!

RustyMuppet
RustyMuppet's picture
Offline
Last seen: 10 years 7 months ago
Joined: 2007-03-02 05:44
When i click on cygwin

When i click on cygwin portable I get the setup start, and when I click on the setup option I get nothing!

esavard
Offline
Last seen: 13 years 2 weeks ago
Joined: 2008-07-08 11:03
Thanks

Thanks for your feedback.

I will check that.

esavard
Offline
Last seen: 13 years 2 weeks ago
Joined: 2008-07-08 11:03
New version 0.2 available

The launchers (one for Cygwin and the other for CygwinSetup) should work correctly now.

To try the new version 0.2, go to http://www.symbiosoft.net/cygwinportable to download the archive and unzip it under the PortableApps folder on your usb device.

Thanks for testing it!

Etienne.

knezan94
Offline
Last seen: 16 years 4 months ago
Joined: 2007-12-05 14:37
installer

i'm gonna do my best to make the installer (or only self-extracting 7z's exe) because it's my first one .

knezan94
Offline
Last seen: 16 years 4 months ago
Joined: 2007-12-05 14:37
BROKEN!

errr archive is broken?

Mir
Mir's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2007-12-03 16:07
Please try not to double

Please try not to double post.

Thanks and welcome to Portable Apps!

esavard
Offline
Last seen: 13 years 2 weeks ago
Joined: 2008-07-08 11:03
What do you mean?

What do you mean by "broken"?

I downloaded myself the 7z archive yesterday and decompressed it successfully...

Please could you elaborate more?

Thanks!

Etienne.

knezan94
Offline
Last seen: 16 years 4 months ago
Joined: 2007-12-05 14:37
.zip

.zip archive is broken

tarendi
Offline
Last seen: 16 years 4 months ago
Joined: 2008-08-03 13:18
It is not broken

Hi
The SourceForge have problem
Downloading from an diffrent mirror server.

rickh57
Offline
Last seen: 4 weeks 1 day ago
Joined: 2006-01-15 20:31
I ran the portable version of

I ran the portable version of Cygwin on a machine that had the normal Cygwin installed on it. The portable version changed the registry to point to the USB drive, making the regular version no longer run. I had to use regedit to recover my normal cygwin.

Rochey
Offline
Last seen: 5 years 5 months ago
Joined: 2007-08-07 15:48
I can see the problem

Hi rickh57,

I can see where cygwinPortable writes to the registry. I have had a look at launcher source and it could be fixed quite easily. It uses the app template script.
What I will do, later, is change it so that it backs up the machines registry, writes the portable registry and then when exited it will save the portable registry and write back the machines registry. (This is all done in Klonk's Application template script, which is used by esavard, it just seems that he missed the registry stuff).

Ps; esavard I hope you don't mind me modifying your launcher I will post the changes here so you can update your package to 0.3.

Rochey

esavard
Offline
Last seen: 13 years 2 weeks ago
Joined: 2008-07-08 11:03
Late response...

Hi Rochey,

Your post was months ago but I take a chance to reply to you here...

I will be pleased if you can post the changes you have done to the launcher. I will update the package to 0.3.

You can post the code on sourceforge.net (https://sourceforge.net/tracker/?group_id=230696&atid=1081281) or in the forum section on my website (http://symbiosoft.net/?q=forum/15).

Thanks!

Etienne.

Rochey
Offline
Last seen: 5 years 5 months ago
Joined: 2007-08-07 15:48
Think there is a fault

Hi esavard,
I just starting using this portable cygwin. Thank you for doing it.

I think I've found a fault as when I run cygwinportable rxvt doesn't show the login info (user@machine in green). what I've changed is:
"%WD%\bin\run %WD%\bin\rxvt.exe -sl 1500 -fn "Lucida Console-12" -bg black -fg grey -sr -e BASH.EXE --login -i"
On your version you had "%WD%\bin\bash" which didn't seem to do anything.

Another thing when I run cygwinportable it says
"Your group is currently "mkpasswd". This indicates that
the /etc/passwd (and possibly /etc/group) files should be rebuilt.
See the man pages for mkpasswd and mkgroup then, for example, run
mkpasswd -l [-d] > /etc/passwd
mkgroup -l [-d] > /etc/group
Note that the -d switch is necessary for domain users."

Is there anyway of fixing this?

Thanks again.
Rochey

agdurrette
Offline
Last seen: 1 year 2 weeks ago
Developer
Joined: 2008-01-16 13:55
sorry

sorry but i got it but how do i set it up

"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."

Rochey
Offline
Last seen: 5 years 5 months ago
Joined: 2007-08-07 15:48
If you download 0.2 from the

If you download 0.2 from the above link (I used the 7zip download). Then extract it to your portable apps directory and then refresh your portable apps menu, you are then good to go.

You should see in your PA menu CygwinPortable and CygwinPortable Setup. Forget the setup option for now as the basic cygwin environment is already in the download.
If you now run CygwinPortable a dos style window should open with a prompt line and you are ready to go.
Hope this helps. (you might need to make a change in the cygwin.bat file as I stated above but just try what I said in this reply first to see if it works)

Also I just tried running my cygwin from a Workgroup pc and a domain Pc. When I run it from a workgroup pc I don't get the problem about the mkpasswd group but I do get it from the domain Pc.
Any ideas? Anyone?
Rochey

agdurrette
Offline
Last seen: 1 year 2 weeks ago
Developer
Joined: 2008-01-16 13:55
thanks

one more question how can i get a windows manager on it and will it mess windows up at all

Thanks
Andrew

"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."

Rochey
Offline
Last seen: 5 years 5 months ago
Joined: 2007-08-07 15:48
I'm not sure what you mean by

I'm not sure what you mean by a windows manager but I think you are talking about a gui for the cygwin environment (a front end that shows icons and a taskbar etc). I have not installed one for myself but I think you can install something like X11. You will have to have a search on google for this. Any instructions you find will probably tell you to run Cygwin Setup and install some packages, just use the Cygwin Portable Setup. Sorry I can't be more helpful.

Regarding Windows and whether it will mess it up; the only thing that I know changes are a few environment variables are added when CygwinPortable is started, but these are just temporary variables and are only used by Cygwin for the duration that cygwinportable is open for.
Hope this helps.
Rochey

james derry
Offline
Last seen: 15 years 1 week ago
Joined: 2009-10-07 17:00
portableapps\cygwinportable won't launch on vista machines here

hi, etienne,

thanks for portable cygwin. i've installed cygwinportable on a usb thumbdrive; and i've launched it successfully on an xp box in a student computer lab. however, when i try to launch it on any vista box in the same computer lab, vista complains that "an unidentified program wants access to your computer" and prompts me for an administrator password to continue. (the portableapps.com platform launches fine on vista; it's from there i try to launch cygwinportable)

any idea what's going on or any remediation steps i can take? is there any further info i can give you to help understand the issue?

thanks,
james

gcampton
gcampton's picture
Offline
Last seen: 13 years 6 days ago
Joined: 2009-10-12 21:52
Yea I have the same problem,

Yea I have the same problem, although it is my home pc. It still wants to try and run in administrator mode which is bad for cygwin.

The whole reason I made user accounts was A: extra defense and B: So cygwin would work properly.

Cygwin does not run well on administrator mode. All the ~/home/rc files do not execute while in admin mode, I have found that usually running cygwin as a user fixes this problem. However being that the portable wants to run in admin mode, it is not updating mkpasswd, or w/e creating user accounts automatically.

gcampton
gcampton's picture
Offline
Last seen: 13 years 6 days ago
Joined: 2009-10-12 21:52
I'm also wondering if perhaps

I'm also wondering if perhaps a pseudo-user could be set up perhaps a ~/home/pseudo_root that works on all systems regardless of admin mode or user mode.

I don't think i worded that well, but what I mean is set up a generic user pre-unzip that will work for everyone who downloads?

mturley
Offline
Last seen: 13 years 8 months ago
Joined: 2011-04-19 13:52
Abandoned? Not if I can help it...

Hi,

The Portable Cygwin you mentioned in this post (years ago now) appears to have been abandoned. No updates have been made since 2009, but the Cygwin codebase has been updating steadily in the meantime.

I propose we bring this project back to life! I took the liberty of creating a .paf.exe installer out of the zip you published on SourceForge, and created a temporary home for Cygwin Portable on my website: http://www.miketurley.com/cygwinportable.

Feel free to reclaim this project and I'll take down my page. However if it is truly abandoned, I'm willing to take over.

-Mike

Soulmech
Offline
Last seen: 12 years 5 months ago
Joined: 2010-03-03 10:52
Why don't you make a new

Why don't you make a new thread and format it the way that the other beta app threads are formatted? It'd be nice to start anew, since it'll be a new dev with an essentially-new app.

Looking forward to seeing this develop!

SWAG

tal
Offline
Last seen: 1 year 8 months ago
Developer
Joined: 2009-08-07 07:34
Hi

Can you make cygwin work with portable eclipse?
Can you make it at portableapps\commonfile\cygwin?

https://portableapps.com/node/28647

Thank you for your work.
Tal.

intrepidhero
Offline
Last seen: 13 years 2 months ago
Joined: 2011-10-18 23:32
Cygwin portable

After quite a bit of research and experimentation I've found that recent versions of cygwin are almost portable out of the box. Here is what I did to get cygwin working on my thumbdrive: http://fadedbluesky.com/2011/portable-cygwin/

Zoli1972
Offline
Last seen: 8 years 5 months ago
Joined: 2015-12-05 05:25
Hi,

Hi,

I know the most last post here is ages old, but could someone please post the howto for installing cygwin from scratch on a thumb drive. Unfortunately, the link above doesn't work anymore.

Thanks

Z.

Ken Herbert
Ken Herbert's picture
Online
Last seen: 25 min 36 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Just go to http:/

Just go to http://fadedbluesky.com/ both posts are somewhere down there.

Log in or register to post comments