Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 178189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:11:16+00:00 2026-05-11T14:11:16+00:00

I am trying to download the source code for wget in Mac. I managed

  • 0

I am trying to download the source code for wget in Mac.

I managed to get the source code of wget in Ubuntu by

apt-get source wget 

However, I have not managed to download source codes in Mac’s terminal. I did not find the same utility in MacPorts.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:11:16+00:00Added an answer on May 11, 2026 at 2:11 pm

    MacPorts is a source-based package manager. That means that each time you install a package via MacPorts, it downloads the source, potentially patches it, configures it, builds it, installs it to a temporary location (so it can track which files the port needs), makes an archive of it, then installs that archive into the MacPorts root, which is usually /opt/local.

    If you want to look at or edit the source before building it, you can execute a subset of the steps necessary to download and install it. port extract <name> will download and extract the source for the port, without actually building or installing it. You can then find the extracted source with port dir <portname>:

    $ sudo port -v extract zlib Password: --->  Fetching zlib --->  Verifying checksum(s) for zlib --->  Checksumming zlib-1.2.3.tar.bz2 --->  Extracting zlib --->  Extracting zlib-1.2.3.tar.bz2 $ ls $(port dir zlib) Portfile    files       work $ ls $(port dir zlib)/work zlib-1.2.3 $ ls $(port dir zlib)/work/zlib-1.2.3 ChangeLog   as400       examples    inftrees.h  uncompr.c FAQ     compress.c  gzio.c      make_vms.com    win32 INDEX       configure   infback.c   minigzip.c  zconf.h Makefile    contrib     inffast.c   msdos       zconf.in.h Makefile.in crc32.c     inffast.h   old     zlib.3 README      crc32.h     inffixed.h  projects    zlib.h adler32.c   deflate.c   inflate.c   qnx     zutil.c algorithm.txt   deflate.h   inflate.h   trees.c     zutil.h amiga       example.c   inftrees.c  trees.h 

    See the MacPorts guide for more information on developing ports, and also man port.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 106k
  • Answers 106k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Why are you parsing this code? If you're trying to… May 11, 2026 at 8:58 pm
  • Editorial Team
    Editorial Team added an answer Since you're loading the content via AJAX, the animation and… May 11, 2026 at 8:58 pm
  • Editorial Team
    Editorial Team added an answer Peter, Since you're not getting many answers, I'll let you… May 11, 2026 at 8:58 pm

Related Questions

I am trying to join a number of binary files that were split during
I have written some code that makes use of an open source library to
I am trying to compile the code from here: http://www.brackeen.com/javagamebook/#download (Chapter 6) and am
I am creating a script on the fly to ftp some files from a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.