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 8232309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:47:28+00:00 2026-06-07T17:47:28+00:00

Apple has recently released Command Line Tools : What are the tools provided in

  • 0

Apple has recently released Command Line Tools:

  1. What are the tools provided in the Command Line Tools package?

  2. Is there some sort of documentation other than man pages?

Please note that I have installed these tools by adding the specific component in Xcode.
Also, this is not about a Xcode project, but a package released by Apple on February 16, 2012!

  • 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. Editorial Team
    Editorial Team
    2026-06-07T17:47:31+00:00Added an answer on June 7, 2026 at 5:47 pm

    Open the command line tools DMG and you’ll find a meta-package, which you can extract with the command pkgutil --expand 'Command Line Tools.mpkg' metapackage. Open the metapackage/Distribution file that was just extracted in a text editor to see the packages that comprise the meta-package:

    com.apple.pkg.DevSDK
    com.apple.pkg.X11SDK
    com.apple.pkg.QuickTimeSDK
    com.apple.pkg.OpenGLSDK
    com.apple.pkg.WebKitSDK
    com.apple.pkg.FireWireSDK
    com.apple.pkg.BluetoothSDK
    com.apple.pkg.CoreAudioSDK
    com.apple.pkg.JavaSDK
    com.apple.pkg.clang
    com.apple.pkg.llvm-gcc4.2
    com.apple.pkg.X11Documentation
    com.apple.pkg.DeveloperToolsCLI
    

    The corresponding package files are found in a hidden Packages directory alongside the metapackage. Their contents can be listed with pkgutil --payload-files.

    If you have a file on disk, and want to know which package it came from:

    $ pkgutil --file-info /usr/bin/clang
    volume: /
    path: /usr/bin/clang
    
    pkgid: com.apple.pkg.clang
    pkg-version: 4.3.0.0.1.1249367152
    install-time: 1342021874
    uid: 0
    gid: 0
    mode: 755
    

    Now, some bonus information that will be useful if you ever want to remove the command-line tools. Apple, in their infinite wisdom, decline to provide a tool to do so, but we can obtain the information we need by using pkgutil to display information about installed packages.

    Firstly, pkgutil --pkgs will list all installed packages. Compare the output of the list of packages above.

    pkgutil --info will display information about an installed package; for example:

    $ pkgutil --info com.apple.pkg.clang
    package-id: com.apple.pkg.clang
    version: 4.3.0.0.1.1249367152
    volume: /
    location: /
    install-time: 1342021874
    groups: com.apple.FindSystemFiles.pkg-group com.apple.DevToolsBoth.pkg-group com.apple.DevToolsNonRelocatableShared.pkg-group
    

    pkgutil --files will display the contents of an installed package, relative to the volume and location fields given by pkgutil --info. Because the absolute paths are not used, you can’t simply pipe the output of this command to xargs rm -f to remove a package’s files; you’ll have to fix up the paths yourself, perhaps with something like pkgutil --files com.example.pkgname | while read line; do rm -f "/install_location/$line"; done.

    Once a package’s files are removed, pkgutil --forget should be run to remove information about the installed package from the package database.

    It should go without saying that you should be very careful if you try this: you’re one typo away from screwing your system up so badly that you’ll have to reinstall it, to say nothing of your precious data!

    pkgutil has some other useful options for verifying that a package’s files are all present, and for restoring their permissions; see its manual page for the details.

    In general, this will work for any package, however note that some packages can have embedded scripts that get run when the package is installed; obviously, merely removing the package’s files won’t remove all traces of the package from your system. You’ll have to extract the package’s contents and read the script source code, and then decide how best to undo the effects of the script yourself.

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

Sidebar

Related Questions

Apple has recently changed the portal. Some of the changes are aery good, but
It's clear that Apple has an OpenCL implementation based on Clang and LLVM. There's
The Apple dev site makes it look as tho it has all the tools
Has Apple been known to recently reject apps that were created in Flash CS5?
A developing consensus among the iPhone developer community is that Apple has recently started
Recently I've heard that Apple is using tools to search for references to undocumented
I've recently been learning Processing, a sort of Java based visual language. It has
Currently I am using iPhone SDK 3.1.2 for developing iPhone apps. Apple has recently
There has been many Questions recently about drawing PDF's. Yes, you can render PDF's
Apple has included HTTP Adaptive Bitrate Streaming in the iPhone OS 3.0, in particular

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.