Geany in Cygwin

2013.03.02 16:29

가을의 곰을... 조회 수:4238

 

 

 

Geany in Cygwin

This is something I did last week! I figured it out on my own, but maybe there’s someone who wants to and isn’t as familiar with the command line and/or Google as I am.

WHY? Geany was recommended by a friend earlier this semester when I was looking for something to program C in that wasn’t Visual Studio. I use it in Arch Linux to program because it offers syntax highlighting and doesn’t require Gnome (I use Openbox) and doesn’t have a steep learning curve like vi/emacs/command line editor of choice. (Should I learn vi? Probably.)

But what if I want to program in Windows? I installed Cygwin on my Windows partition because I prefer the Linux command line and the number of times I’d typed ls or ping -c instead of dir or ping -s was getting absurd. And the Cygwin command prompt can compile C (at least, if you install devel packages). But programming in Notepad is tedious and difficult at best.

0. Make sure you have the X packages installed in Cygwin

To do this, run setup.exe again. Download setup.exe from http://cygwin.com/install.html if you’ve lost it.

As I understand it, X is the basis for any graphical interface in Linux. Since Geany has buttons and panels and stuff like that instead of existing solely in a command prompt, Geany needs X.

1. Download and untar the source code for Geany from http://www.geany.org/Download/Releases

I did this in Firefox in Windows. I then used 7zip to untar it. You could probably do this in other ways, like changing to the directory you saved it to and running “tar -xvf geany-0.21.tar.gz” in Cygwin, but that’s not what I did.

2. Open Cygwin. Change directory to the place you untarred the Geany code (for me that’s “cd /cygdrive/c/Users/Annie/Downloads/geany-0.21” but for you it is likely different) and run: “./configure” “make” “make install”

경축! 아무것도 안하여 에스천사게임즈가 새로운 모습으로 재오픈 하였습니다.
어린이용이며, 설치가 필요없는 브라우저 게임입니다.
https://s1004games.com

These steps are pretty standard. I watched the configure and make steps for errors, but none occurred. If I were in Linux, the last step would be “sudo make install” but in Cygwin sudo doesn’t exist. I have an administrator account on Windows, but I don’t know if that makes a difference.

3. In Cygwin, run: “startxwin”

This starts X in windowed mode, so you don’t need a window manager installed. An instance of xterm may pop up, and an X should appear in your system tray (that’s the thing on the very bottom right of your screen). Xterm is an ugly but useful terminal prompt that appears in a window created by and connected to X.

3b. If xterm doesn’t appear, right click on the X in your system tray. Go to Applications and click xterm. Now xterm will appear.

4. In xterm, run: “geany”

This should open geany! In the future, if you want to run geany, start from step 3.

Have fun programming!

Tagged: geanycygwinprogrammingccommand line

 

 

 

본 웹사이트는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
번호 제목 글쓴이 날짜 조회 수
238 R을 이용한 빅데이터 분석20130407 - GNU Korea file 가을의 곰을... 2013.07.03 4713
237 Getting Started with R programming file 가을의 곰을... 2013.07.03 2902
236 R을 사용한 데이터마이닝.pdf file 가을의 곰을... 2013.07.03 2709
235 USB 메모리에 UBUNTU 설치하기 (이동식 UBUNTU) file 가을의 곰을... 2013.06.09 3209
234 [한국인터넷진흥원] 2013년도 정보보안기사, 정보보안산업기사 자격검정 시행 일정입니다. file 가을의 곰을... 2013.05.04 4333
233 포토샵 기본 단축키 : Basic Shot Key On PhotoShop 가을의 곰을... 2013.04.26 3483
232 윈도우7 업데이트 실패 문제 " 서비스가 실행되고 있지 않으므로 ... " 가을의 곰을... 2013.03.17 4455
231 Apache Server 계정주소 "~" 빼기 가을의 곰을... 2013.03.12 2752
230 VO, DTO, DAO 클래스 설명 가을의 곰을... 2013.03.06 4229
» Geany in Cygwin 가을의 곰을... 2013.03.02 4238
228 Data Modeling [데이타모델링] 잘 정리된 글 file 가을의 곰을... 2013.02.26 4073
227 spring_ibatis.pdf 스프링 ibatis 교육자료 가을의 곰을... 2013.02.26 4542
226 MyBatis-3-User-Guide_ko.pdf file 가을의 곰을... 2013.02.26 4275
225 c# ado.net pdf file 가을의 곰을... 2013.02.26 3537
224 Usecase Diagram의 관계 가을의 곰을... 2013.02.25 3121
223 클래스 다이어그램 관계 표현OOP file 가을의 곰을... 2013.02.25 3347
222 [OOP] 추상클래스, 인터페이스 가을의 곰을... 2013.02.25 4096
221 [UML RUP] Entity, Boundary, Control Class 가을의 곰을... 2013.02.25 7360
220 [보안, 제로데이 취약점 분석] [우분투] MetaSploit 설치 및 기본 가을의 곰을... 2013.02.09 3506
219 Install Sun's JDK on Ubuntu, 우분투에서 JDK 설치법 가을의 곰을... 2013.02.08 4619
대표 김성준 주소 : 경기 용인 분당수지 U타워 등록번호 : 142-07-27414
통신판매업 신고 : 제2012-용인수지-0185호 출판업 신고 : 수지구청 제 123호 개인정보보호최고책임자 : 김성준 sjkim70@stechstar.com
대표전화 : 010-4589-2193 [fax] 02-6280-1294 COPYRIGHT(C) stechstar.com ALL RIGHTS RESERVED