LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-30-2008, 10:55 AM   #1
JL4
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Install apt on to Cygwin


Hi
I am using a Cygwin shell and I am trying to install a package dependencies onto it like apt, but I don't know where or how to install it.

Any ideas?
Thanks
 
Old 12-30-2008, 12:17 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
The title of your post implied that you are trying to install apt itself but the message just says you want to install a certain other package. If the cygwin repository has the dependencies you need then rerun the setup and select them.

You probably need to build source packages inside of cygwin. The binaries produced will be Windows exe files and not elf files. The ming version of gcc needs to be used. If the source package you are trying to produce was produced using the autoconf family of tools, the configure script may pick up on the fact that you are using the Cygwin environment. That is if the authors supported it. So finding the source of a dependency you need may be enough.

But try looking for it in a cygwin repo first. You may not even need to build from source if they already have built the package.

Cygwin packages contain precompiled binaries and libraries. All of the files of a package are archived into a tar ball. If you have a cygwin package you downloaded, simply using tar to extract the files from your cygwin base directory will extract the files where they need to go. There may be a post installation bash script that you need to run next.

Look in their website. I'm certain that I've seen instructions on building packages from source if that is what you want to do. I think I've seen `Ming' mentioned in the `configure' options of some regular packages I have used.

Last edited by jschiwal; 12-30-2008 at 12:18 PM.
 
Old 12-30-2008, 01:19 PM   #3
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by JL4 View Post
I am using a Cygwin shell and I am trying to install a package dependencies onto it like apt, but I don't know where or how to install it.
Cygwin uses its own package management system, which is what you get when you run "setup.exe". Each mirror has a different list of packages that it supplies, but they almost all have the same packages. If you do not see what you want in "setup.exe", you will have to build the application from source.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get or yum for Cygwin? KenJackson General 3 05-03-2008 12:22 PM
Is there knoppix-like distro, that we can: apt-get update; apt-get install programs ? frenchn00b Linux - Distributions 7 04-28-2008 02:06 PM
LXer: Apt-get remove SUSE; apt-get install Etch LXer Syndicated Linux News 0 05-26-2007 07:46 PM
Cygwin install.db nx5000 Other *NIX 0 03-01-2007 06:13 AM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM


All times are GMT -5. The time now is 05:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration