Questions tagged [cygwin]

cygwin provides a Unix/Linux-like environment under Microsoft Windows OSes.

What it doesn't provide is "a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows."

Cygwin home page
Cygwin on Wikipedia

1746 questions
202
votes
9 answers

How to install new packages on Cygwin?

I installed the latest version of Cygwin with a number of packages. I soon realised that I need more packages (such as wget, etc) and I couldn't find a way to install the new packages without running the set up again and reinstall everything from…
Mulone
  • 2,193
  • 3
  • 14
  • 10
124
votes
5 answers

How do I make ctrl-arrow keys move forward/backward a word at a time in Cygwin bash?

In the default Cygwin installation, using CTRL-LEFTARROW or CTRL-RIGHTARROW simply prints 5C or 5D instead of skipping a word at a time as expected. Home/End keys work properly, so remapping should be possible.
Tom
  • 3,604
  • 4
  • 22
  • 16
121
votes
10 answers

Upgrading and installing packages through the Cygwin command-line?

I'm a blind computer user that uses Cygwin. The installation program isn't very accessible: upgrading, installing, and removing specific packages is quite hard to do since you have to use simulated mouse keystrokes to click and scroll. Is there a…
Jared
  • 2,255
  • 3
  • 22
  • 27
83
votes
10 answers

How to update Cygwin from Cygwin's command line?

To search and download a package missed from Cygwin I need to run setup.exe GUI each time, click many times and do other boring things. Is there a way to do the same from Cygwin's command line directly? Like apt-get tools do.
Pavel Vlasov
  • 1,616
  • 2
  • 17
  • 23
79
votes
7 answers

Using Cygwin in Windows 8, chmod 600 does not work as expected?

I'm trying to change the permissions to my key file key.pem in Cygwin 1.7.11. It has the permissions flags: -rw-rw---- chmod -c 600 key.pem Reports: mode of 'key.pem' changed from 0660 (rw-rw----) to 0600 (rw-------) However: ls -l key.pem…
Castaa
  • 980
  • 3
  • 9
  • 11
77
votes
10 answers

How to completely uninstall/remove cygwin from Windows 7

How can I completely uninstall/remove cygwin? I don't think it is as simple as deleting C:\cygwin. Maybe alter registry?
Mohit Deshpande
  • 879
  • 1
  • 7
  • 4
66
votes
6 answers

How can I use SSH with a SOCKS 5 proxy?

I have a SOCKS5 proxy set up through PuTTY with port 7777 configured as a dynamic port. I can use firefox/filezilla/etc by configuring them to use a SOCKS proxy with localhost and port 7777. But I can't figure out how to ssh (through Cygwin) to a…
Rusty Lemur
  • 843
  • 1
  • 7
  • 14
65
votes
7 answers

Cygwin bash prompt is wrapping lines on the same line

I'm using Cygwin bash prompt, and for long commands the text will wrap around on the same line as opposed to going to the next line despite setting my PS1 to simply ' $'. Here's a screenshot,
wting
  • 1,132
  • 2
  • 11
  • 17
62
votes
2 answers

What is the difference between Windows Subsystem for Linux (WSL), Cooperative Linux (coLinux), and Cygwin?

Did anybody still remember coLinux? I remember it is used for SpeedLinux and Portable Ubuntu some years ago. It's pretty clear what is coLinux doing, running Linux on top of Windows somehow, but can use real linux partition. Meanwhile cygwin is…
Rinaldo Jonathan
  • 745
  • 1
  • 6
  • 11
62
votes
4 answers

How to go to remote directory in Cygwin?

I'm using the latest version of Cygwin to try to cd into a network drive on Windows XP Pro Service Pack 3. The path in Windows Explorer to this directory is something like: \\myserver\photos\original I tried mounting it to a drive letter ('X') in…
daveslab
  • 995
  • 2
  • 8
  • 15
59
votes
5 answers

How can I get a block cursor in Vim in the Cygwin terminal?

I am used to having a block cursor in normal mode in Vim. This makes sense with the Vim paradigm; when you press x, it is clear which character will be deleted. I've installed Cygwin on a Windows computer, but when I use Vim in its terminal, I get…
Kazark
  • 3,419
  • 3
  • 26
  • 35
47
votes
1 answer

Installing Cygwin packages from the command-line

Possible Duplicate: upgrading and installing packages through the cygwin command line? I'm looking for a "yum"-link method to install additional Cygwin packages from the command-line. Let's say I want to add the package "Math/bc", then ideally…
knorv
  • 3,492
  • 7
  • 27
  • 23
45
votes
9 answers

How to change the title of the mintty window?

MinTTY is the new default Console for Cygwin. What's a shell command (something I can put in .bashrc, or even better, in .zshrc) to change the title of the MinTTY window ? I'd like the title of the window to be the path to the current directory, and…
Leonel
  • 851
  • 4
  • 9
  • 12
44
votes
9 answers

There's no 'sudo' command in Cygwin

Because there's no sudo command in Cygwin, scripts that I want to run fail with ./install.sh: line N: sudo: command not found What's the standard way for getting around this? Editing the scripts to remove sudo? Getting some sudo-like tool for…
Jason Sundram
  • 3,251
  • 7
  • 26
  • 30
43
votes
6 answers

How do I configure ConEmu to run Cygwin Bash?

I created a new task {Bash} passed my home directory /dir "C:\Users\TMB\" and added bash as an application C:\cygwin\bin\bash.exe When I open Bash, it is unable to use the basic UNIX/Cygwin utilities. How do I configure ConEmu to run Cygwin…
TMB
  • 661
  • 1
  • 7
  • 10
1
2 3
99 100