Is xar preinstalled on macOS? [duplicate]Command line tools available by defaultIs there a command-line BitTorrent client preinstalled on OS X?/usr/bin/codesign from Mac 10.9Extract jpeg FileUnknown error message in TerminalTerminal: command overridden via shell script in /usr/local/bin not executed unless called directlycurl not working in El CapitanTerminal Crash on Macbook Air 2011, MavericksErased /usr/local/bin directory by mistakeTerminal Startup command not foundDoes macOS Mojave comes with java pre-installed?
Consistent Linux device enumeration
Adjusting bounding box of PlotLegends in TimelinePlot
Why is participating in the European Parliamentary elections used as a threat?
PTIJ: does fasting on Ta'anis Esther give us reward as if we celebrated 2 Purims? (similar to Yom Kippur)
Why does the Persian emissary display a string of crowned skulls?
Do people actually use the word "kaputt" in conversation?
Can I say "fingers" when referring to toes?
Adding up numbers in Portuguese is strange
Limit max CPU usage SQL SERVER with WSRM
Given this phrasing in the lease, when should I pay my rent?
Friend wants my recommendation but I don't want to give it to him
Why can't the Brexit deadlock in the UK parliament be solved with a plurality vote?
Animation: customize bounce interpolation
If Captain Marvel (MCU) were to have a child with a human male, would the child be human or Kree?
Why didn’t Eve recognize the little cockroach as a living organism?
What is the tangent at a sharp point on a curve?
Remove all of the duplicate numbers in an array of numbers
What properties make a magic weapon befit a Rogue more than a DEX-based Fighter?
Do you waste sorcery points if you try to apply metamagic to a spell from a scroll but fail to cast it?
Distinction between 地平線 【ちへいせん】 and 水平線 【すいへいせん】
Why would five hundred and five be same as one?
What does "tick" mean in this sentence?
Is there a distance limit for minecart tracks?
Review your own paper in Mathematics
Is xar preinstalled on macOS? [duplicate]
Command line tools available by defaultIs there a command-line BitTorrent client preinstalled on OS X?/usr/bin/codesign from Mac 10.9Extract jpeg FileUnknown error message in TerminalTerminal: command overridden via shell script in /usr/local/bin not executed unless called directlycurl not working in El CapitanTerminal Crash on Macbook Air 2011, MavericksErased /usr/local/bin directory by mistakeTerminal Startup command not foundDoes macOS Mojave comes with java pre-installed?
This question already has an answer here:
Command line tools available by default
3 answers
$ which xar
/usr/bin/xar
It's in /usr/bin
. Does that mean it's preinstalled on mac?
mac command-line archive archive-utility
marked as duplicate by nohillside♦ yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Command line tools available by default
3 answers
$ which xar
/usr/bin/xar
It's in /usr/bin
. Does that mean it's preinstalled on mac?
mac command-line archive archive-utility
marked as duplicate by nohillside♦ yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
Related (duplicate?) Command line tools available by default
– Martin R
yesterday
@MartinR Good find. The answers there might need a refresh for Mojave though
– nohillside♦
yesterday
I voted to reopen this because the best answer ( @Martin R ) is different than the other question.
– fd0
yesterday
1
@fd0 There is nothing in the question which indicates that the answers on the main questions don't apply, so I doubt there is a reason to reopen.
– nohillside♦
yesterday
add a comment |
This question already has an answer here:
Command line tools available by default
3 answers
$ which xar
/usr/bin/xar
It's in /usr/bin
. Does that mean it's preinstalled on mac?
mac command-line archive archive-utility
This question already has an answer here:
Command line tools available by default
3 answers
$ which xar
/usr/bin/xar
It's in /usr/bin
. Does that mean it's preinstalled on mac?
This question already has an answer here:
Command line tools available by default
3 answers
mac command-line archive archive-utility
mac command-line archive archive-utility
asked 2 days ago
johanjohan
658
658
marked as duplicate by nohillside♦ yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by nohillside♦ yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
Related (duplicate?) Command line tools available by default
– Martin R
yesterday
@MartinR Good find. The answers there might need a refresh for Mojave though
– nohillside♦
yesterday
I voted to reopen this because the best answer ( @Martin R ) is different than the other question.
– fd0
yesterday
1
@fd0 There is nothing in the question which indicates that the answers on the main questions don't apply, so I doubt there is a reason to reopen.
– nohillside♦
yesterday
add a comment |
1
Related (duplicate?) Command line tools available by default
– Martin R
yesterday
@MartinR Good find. The answers there might need a refresh for Mojave though
– nohillside♦
yesterday
I voted to reopen this because the best answer ( @Martin R ) is different than the other question.
– fd0
yesterday
1
@fd0 There is nothing in the question which indicates that the answers on the main questions don't apply, so I doubt there is a reason to reopen.
– nohillside♦
yesterday
1
1
Related (duplicate?) Command line tools available by default
– Martin R
yesterday
Related (duplicate?) Command line tools available by default
– Martin R
yesterday
@MartinR Good find. The answers there might need a refresh for Mojave though
– nohillside♦
yesterday
@MartinR Good find. The answers there might need a refresh for Mojave though
– nohillside♦
yesterday
I voted to reopen this because the best answer ( @Martin R ) is different than the other question.
– fd0
yesterday
I voted to reopen this because the best answer ( @Martin R ) is different than the other question.
– fd0
yesterday
1
1
@fd0 There is nothing in the question which indicates that the answers on the main questions don't apply, so I doubt there is a reason to reopen.
– nohillside♦
yesterday
@fd0 There is nothing in the question which indicates that the answers on the main questions don't apply, so I doubt there is a reason to reopen.
– nohillside♦
yesterday
add a comment |
3 Answers
3
active
oldest
votes
Unless you've disabled SIP and installed your own binaries in /usr/bin
it's safe to assume that everything in /usr/bin
(and /bin
, /sbin
, /usr/sbin
) is pre-installed.
1
That doesn't necessarily mean that the binaries are preinstalled with macOS. As an example, I have a file/usr/bin/swift
which (I assume) was installed with Xcode.
– Martin R
yesterday
add a comment |
One indication you might look for is found at https://opensource.apple.com/release/macos-10141.html where you see that xar-404 is indeed used by Apple.
To get a closer look at what is installed, you might use onboard tools check for some parameters:
$ codesign -vd --verbose=4 /usr/bin/xar
Executable=/usr/bin/xar
Identifier=com.apple.xar
Format=Mach-O thin (x86_64)
CodeDirectory v=20100 size=350 flags=0x0(none) hashes=7+2 location=embedded
Platform identifier=2
OSPlatform=36
OSSDKVersion=658432
OSVersionMin=658432
Hash type=sha256 size=32
CandidateCDHash sha256=6dd0100231ae53fb666827d9212b487d17fa6163
Hash choices=sha256
Page size=4096
CDHash=6dd0100231ae53fb666827d9212b487d17fa6163
Signature size=4105
Authority=Software Signing
Authority=Apple Code Signing Certification Authority
Authority=Apple Root CA
Info.plist=not bound
TeamIdentifier=not set
Sealed Resources=none
Internal requirements count=1 size=64
As Apple doesn't offer tools like that in seperate installers or packages, the conclusion from the output above would be that it came pre-installed.
Alternatively, get the full installer ("Install macOS Mojave.app"), show package contents, navigate Contents/SharedSupport/InstallESD.dmg and mount that, then navigate to /Volumes/InstallESD/Packages/Core.pkg and open that
in eg Pacifist. There as well you can navigate to /usr/bin/xar .
add a comment |
You can use pkgutil
to determine by which installer a file was installed:
$ pkgutil -v --file-info /usr/bin/xar
volume: /
path: /usr/bin/xar
pkgid: com.apple.pkg.update.os.10.14.2.18C54
pkg-version: 1.0.0.0.1.1543558197
install-time: Thu Dec 6 11:31:26 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
pkgid: com.apple.pkg.update.os.10.14.1.18B75
pkg-version: 1.0.0.0.1.1540375237
install-time: Wed Nov 7 10:05:39 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
pkgid: com.apple.pkg.Core
pkg-version: 10.14.0.1.1.1537503053
install-time: Tue Sep 25 10:43:44 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
shows that xar
was installed with an Apple “Core” package (and updated twice).
New contributor
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Unless you've disabled SIP and installed your own binaries in /usr/bin
it's safe to assume that everything in /usr/bin
(and /bin
, /sbin
, /usr/sbin
) is pre-installed.
1
That doesn't necessarily mean that the binaries are preinstalled with macOS. As an example, I have a file/usr/bin/swift
which (I assume) was installed with Xcode.
– Martin R
yesterday
add a comment |
Unless you've disabled SIP and installed your own binaries in /usr/bin
it's safe to assume that everything in /usr/bin
(and /bin
, /sbin
, /usr/sbin
) is pre-installed.
1
That doesn't necessarily mean that the binaries are preinstalled with macOS. As an example, I have a file/usr/bin/swift
which (I assume) was installed with Xcode.
– Martin R
yesterday
add a comment |
Unless you've disabled SIP and installed your own binaries in /usr/bin
it's safe to assume that everything in /usr/bin
(and /bin
, /sbin
, /usr/sbin
) is pre-installed.
Unless you've disabled SIP and installed your own binaries in /usr/bin
it's safe to assume that everything in /usr/bin
(and /bin
, /sbin
, /usr/sbin
) is pre-installed.
answered 2 days ago
nohillside♦nohillside
52.8k13112156
52.8k13112156
1
That doesn't necessarily mean that the binaries are preinstalled with macOS. As an example, I have a file/usr/bin/swift
which (I assume) was installed with Xcode.
– Martin R
yesterday
add a comment |
1
That doesn't necessarily mean that the binaries are preinstalled with macOS. As an example, I have a file/usr/bin/swift
which (I assume) was installed with Xcode.
– Martin R
yesterday
1
1
That doesn't necessarily mean that the binaries are preinstalled with macOS. As an example, I have a file
/usr/bin/swift
which (I assume) was installed with Xcode.– Martin R
yesterday
That doesn't necessarily mean that the binaries are preinstalled with macOS. As an example, I have a file
/usr/bin/swift
which (I assume) was installed with Xcode.– Martin R
yesterday
add a comment |
One indication you might look for is found at https://opensource.apple.com/release/macos-10141.html where you see that xar-404 is indeed used by Apple.
To get a closer look at what is installed, you might use onboard tools check for some parameters:
$ codesign -vd --verbose=4 /usr/bin/xar
Executable=/usr/bin/xar
Identifier=com.apple.xar
Format=Mach-O thin (x86_64)
CodeDirectory v=20100 size=350 flags=0x0(none) hashes=7+2 location=embedded
Platform identifier=2
OSPlatform=36
OSSDKVersion=658432
OSVersionMin=658432
Hash type=sha256 size=32
CandidateCDHash sha256=6dd0100231ae53fb666827d9212b487d17fa6163
Hash choices=sha256
Page size=4096
CDHash=6dd0100231ae53fb666827d9212b487d17fa6163
Signature size=4105
Authority=Software Signing
Authority=Apple Code Signing Certification Authority
Authority=Apple Root CA
Info.plist=not bound
TeamIdentifier=not set
Sealed Resources=none
Internal requirements count=1 size=64
As Apple doesn't offer tools like that in seperate installers or packages, the conclusion from the output above would be that it came pre-installed.
Alternatively, get the full installer ("Install macOS Mojave.app"), show package contents, navigate Contents/SharedSupport/InstallESD.dmg and mount that, then navigate to /Volumes/InstallESD/Packages/Core.pkg and open that
in eg Pacifist. There as well you can navigate to /usr/bin/xar .
add a comment |
One indication you might look for is found at https://opensource.apple.com/release/macos-10141.html where you see that xar-404 is indeed used by Apple.
To get a closer look at what is installed, you might use onboard tools check for some parameters:
$ codesign -vd --verbose=4 /usr/bin/xar
Executable=/usr/bin/xar
Identifier=com.apple.xar
Format=Mach-O thin (x86_64)
CodeDirectory v=20100 size=350 flags=0x0(none) hashes=7+2 location=embedded
Platform identifier=2
OSPlatform=36
OSSDKVersion=658432
OSVersionMin=658432
Hash type=sha256 size=32
CandidateCDHash sha256=6dd0100231ae53fb666827d9212b487d17fa6163
Hash choices=sha256
Page size=4096
CDHash=6dd0100231ae53fb666827d9212b487d17fa6163
Signature size=4105
Authority=Software Signing
Authority=Apple Code Signing Certification Authority
Authority=Apple Root CA
Info.plist=not bound
TeamIdentifier=not set
Sealed Resources=none
Internal requirements count=1 size=64
As Apple doesn't offer tools like that in seperate installers or packages, the conclusion from the output above would be that it came pre-installed.
Alternatively, get the full installer ("Install macOS Mojave.app"), show package contents, navigate Contents/SharedSupport/InstallESD.dmg and mount that, then navigate to /Volumes/InstallESD/Packages/Core.pkg and open that
in eg Pacifist. There as well you can navigate to /usr/bin/xar .
add a comment |
One indication you might look for is found at https://opensource.apple.com/release/macos-10141.html where you see that xar-404 is indeed used by Apple.
To get a closer look at what is installed, you might use onboard tools check for some parameters:
$ codesign -vd --verbose=4 /usr/bin/xar
Executable=/usr/bin/xar
Identifier=com.apple.xar
Format=Mach-O thin (x86_64)
CodeDirectory v=20100 size=350 flags=0x0(none) hashes=7+2 location=embedded
Platform identifier=2
OSPlatform=36
OSSDKVersion=658432
OSVersionMin=658432
Hash type=sha256 size=32
CandidateCDHash sha256=6dd0100231ae53fb666827d9212b487d17fa6163
Hash choices=sha256
Page size=4096
CDHash=6dd0100231ae53fb666827d9212b487d17fa6163
Signature size=4105
Authority=Software Signing
Authority=Apple Code Signing Certification Authority
Authority=Apple Root CA
Info.plist=not bound
TeamIdentifier=not set
Sealed Resources=none
Internal requirements count=1 size=64
As Apple doesn't offer tools like that in seperate installers or packages, the conclusion from the output above would be that it came pre-installed.
Alternatively, get the full installer ("Install macOS Mojave.app"), show package contents, navigate Contents/SharedSupport/InstallESD.dmg and mount that, then navigate to /Volumes/InstallESD/Packages/Core.pkg and open that
in eg Pacifist. There as well you can navigate to /usr/bin/xar .
One indication you might look for is found at https://opensource.apple.com/release/macos-10141.html where you see that xar-404 is indeed used by Apple.
To get a closer look at what is installed, you might use onboard tools check for some parameters:
$ codesign -vd --verbose=4 /usr/bin/xar
Executable=/usr/bin/xar
Identifier=com.apple.xar
Format=Mach-O thin (x86_64)
CodeDirectory v=20100 size=350 flags=0x0(none) hashes=7+2 location=embedded
Platform identifier=2
OSPlatform=36
OSSDKVersion=658432
OSVersionMin=658432
Hash type=sha256 size=32
CandidateCDHash sha256=6dd0100231ae53fb666827d9212b487d17fa6163
Hash choices=sha256
Page size=4096
CDHash=6dd0100231ae53fb666827d9212b487d17fa6163
Signature size=4105
Authority=Software Signing
Authority=Apple Code Signing Certification Authority
Authority=Apple Root CA
Info.plist=not bound
TeamIdentifier=not set
Sealed Resources=none
Internal requirements count=1 size=64
As Apple doesn't offer tools like that in seperate installers or packages, the conclusion from the output above would be that it came pre-installed.
Alternatively, get the full installer ("Install macOS Mojave.app"), show package contents, navigate Contents/SharedSupport/InstallESD.dmg and mount that, then navigate to /Volumes/InstallESD/Packages/Core.pkg and open that
in eg Pacifist. There as well you can navigate to /usr/bin/xar .
edited 2 days ago
answered 2 days ago
LangLangCLangLangC
4,60431860
4,60431860
add a comment |
add a comment |
You can use pkgutil
to determine by which installer a file was installed:
$ pkgutil -v --file-info /usr/bin/xar
volume: /
path: /usr/bin/xar
pkgid: com.apple.pkg.update.os.10.14.2.18C54
pkg-version: 1.0.0.0.1.1543558197
install-time: Thu Dec 6 11:31:26 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
pkgid: com.apple.pkg.update.os.10.14.1.18B75
pkg-version: 1.0.0.0.1.1540375237
install-time: Wed Nov 7 10:05:39 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
pkgid: com.apple.pkg.Core
pkg-version: 10.14.0.1.1.1537503053
install-time: Tue Sep 25 10:43:44 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
shows that xar
was installed with an Apple “Core” package (and updated twice).
New contributor
add a comment |
You can use pkgutil
to determine by which installer a file was installed:
$ pkgutil -v --file-info /usr/bin/xar
volume: /
path: /usr/bin/xar
pkgid: com.apple.pkg.update.os.10.14.2.18C54
pkg-version: 1.0.0.0.1.1543558197
install-time: Thu Dec 6 11:31:26 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
pkgid: com.apple.pkg.update.os.10.14.1.18B75
pkg-version: 1.0.0.0.1.1540375237
install-time: Wed Nov 7 10:05:39 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
pkgid: com.apple.pkg.Core
pkg-version: 10.14.0.1.1.1537503053
install-time: Tue Sep 25 10:43:44 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
shows that xar
was installed with an Apple “Core” package (and updated twice).
New contributor
add a comment |
You can use pkgutil
to determine by which installer a file was installed:
$ pkgutil -v --file-info /usr/bin/xar
volume: /
path: /usr/bin/xar
pkgid: com.apple.pkg.update.os.10.14.2.18C54
pkg-version: 1.0.0.0.1.1543558197
install-time: Thu Dec 6 11:31:26 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
pkgid: com.apple.pkg.update.os.10.14.1.18B75
pkg-version: 1.0.0.0.1.1540375237
install-time: Wed Nov 7 10:05:39 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
pkgid: com.apple.pkg.Core
pkg-version: 10.14.0.1.1.1537503053
install-time: Tue Sep 25 10:43:44 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
shows that xar
was installed with an Apple “Core” package (and updated twice).
New contributor
You can use pkgutil
to determine by which installer a file was installed:
$ pkgutil -v --file-info /usr/bin/xar
volume: /
path: /usr/bin/xar
pkgid: com.apple.pkg.update.os.10.14.2.18C54
pkg-version: 1.0.0.0.1.1543558197
install-time: Thu Dec 6 11:31:26 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
pkgid: com.apple.pkg.update.os.10.14.1.18B75
pkg-version: 1.0.0.0.1.1540375237
install-time: Wed Nov 7 10:05:39 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
pkgid: com.apple.pkg.Core
pkg-version: 10.14.0.1.1.1537503053
install-time: Tue Sep 25 10:43:44 2018
uid: 0 (root)
gid: 0 (wheel)
mode: 755 (?rwxr-xr-x )
shows that xar
was installed with an Apple “Core” package (and updated twice).
New contributor
New contributor
answered yesterday
Martin RMartin R
1713
1713
New contributor
New contributor
add a comment |
add a comment |
1
Related (duplicate?) Command line tools available by default
– Martin R
yesterday
@MartinR Good find. The answers there might need a refresh for Mojave though
– nohillside♦
yesterday
I voted to reopen this because the best answer ( @Martin R ) is different than the other question.
– fd0
yesterday
1
@fd0 There is nothing in the question which indicates that the answers on the main questions don't apply, so I doubt there is a reason to reopen.
– nohillside♦
yesterday