Skip to main content

Gnuwin32/Cygwin

Saya tidak pasti bagaimana anda menggunakan Cygwin(jika ada),tetapi kadangkala katakanlah anda tidak mempunyai aplikasi tersebut di dalam cygwin,sebaliknya pada projek GNUWin32

Contohnya saya ingin mengekstrak file bersuffiks .shar (shell archive)

Aplikasi itu (shar/unshar) ada di sini:
http://gnuwin32.sourceforge.net/
http://sourceforge.net/project/shownotes.p...;group_id=23617

Yang saya ada ialah Cygwin.

Setakat pengalaman saya,anda boleh mengekstrak installer dari laman Gnuwin32 dan ia akan mengekstrak aplikasi itu ke:

C:\Program Files\GnuWin32\bin


Namun demikian, Cygwin anda tidak dapat membaca executable file tersebut kerana set arahan Cygwin berada pada:
/bin dalam cygdrive (virtual drive).

Apa yang anda boleh lakukan ialah mencipta softlink dengan arahan "ln"

ln -s /cygdrive/c/Program\ Files/GnuWin32/bin/unshar.exe /bin/unshar.exe
ln -s /cygdrive/c/Program\ Files/GnuWin32/bin/shar.exe /bin/shar.exe


Cara yang sama juga saya gunakan untuk aplikasi lain yg tiada di dalam arkib binari cygwin.

Comments

Popular posts from this blog

Danga Bay, Chevrolet Optra and bio...(eh?) I thought it was Debian(haha). My colleague point me to the AirAsia flight turbin and he told me, "Macam debian punya logo" I saw a spiral on top the turbin blades. Pretty much like Debian Logo That's spark me to shoot for a pix. And I was warned by the airport staff. Uh,uh. Flash lamp will spark burst,eh? I was presented my "mock" research proposal. Suggested "Profiling Bioinformatics Application Behavior on Distributed Computing Architecture". Eh, will this gonna be bioinformatics specific or hardware optimization specific.or? Flashback: I spent almost a week at the office. When it's Subh azan,went back to my house for bath and pray. Reading all the journals and papers was not funny,really. Tough eye balls. No world cup. Ewh. And have some VCD lure. Uh,uh. you gonna be kidding. Anyway, I learned a lot and UTM SLAB Research Course is no joke. Really. My proposal has been corrected with comments so I have
Gue dengan S2 gue. Sronok banget!