Skip to main content

Questions tagged [package-management]

Package management system is a collection of software tools which automate the process of installing and updating software packages. Package managers for OS X are Mac App Store, Homebrew, Fink and MacPorts.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

Manage python environments with MacPorts

In win I was using anaconda and with conda activate I could easily manage isolated python environments that I can then used in any IDE etc. How can I do the same with MacPorts? I know anaconda is also ...
myradio's user avatar
  • 101
1 vote
1 answer
92 views

Can I reinstall Homebrew while keeping all my packages?

I had reinstalled Homebrew because I had trouble installing packages from taps. If I ever have to do so again I'd like to without removing my packages. Running the Homebrew uninstall script ...
Oneechan69's user avatar
0 votes
0 answers
43 views

Intel Conda installation on macbook pro : changing the name of environment from "root" to "base"

I have recently installed Intel conda on my macbook pro Sonoma and I have an issue when I list the different available environments of conda : $ conda env list # conda environments: # 2022.2.0 ...
guizmo133's user avatar
1 vote
0 answers
120 views

Upgrading via brew temurin unable to update

I'm trying to update temurin, I don't even know why it's installed, but I think it's needed for some support program for java. Can you help me update it? brew upgrade ==> Casks with 'auto_updates ...
Paul's user avatar
  • 111
0 votes
1 answer
30 views

How does Intune know about custom macOS developer certificates

We (an organization) want to start with (re-)packaging of macOS applications and distribution with Intune. I am aware that I will need to sign a .pkg file with a Developer Certificate for distribution ...
thinkingeye's user avatar
0 votes
0 answers
247 views

MacPorts installs all ports during installation, resulting in a lengthy installation

What I did: I initiated the installation of MacPorts on macOS Monterey and waited for some time. Then, the installer displayed the message: "Installer:PHRASE:Running package scripts..." ...
Aleksandr's user avatar
2 votes
0 answers
92 views

How can I look for software on my machine which could be installed from Homebrew, but currently isn't?

So assume there are various apps on my machine which I installed manually at some point WITHOUT using brew. Reasons for that could include: I specifically decided not to use brew, even though I could ...
isametry's user avatar
  • 131
0 votes
1 answer
74 views

Mac not letting me install 'Packages" by Stephan Sudre

I am trying to install "Packages", to create an installation package for an App I am developing. After I mount the disk image file, I am trying to start the installation process by launching ...
fibonacci_ostrich's user avatar
0 votes
1 answer
1k views

How to install package without administrator password?

For example i am installing ms teams. It is definitly known that it does not require admin permissions. But package requests it. Of course they could install some backdoor even for user, but for admin ...
kyb's user avatar
  • 131
1 vote
1 answer
194 views

How to sign an application bundle with the same display name as the installer package?

I can sign a bundle with "Mac Developer" identity which is connected to my Apple account user name (ie a "person"). I can sign the package (.pkg) that contains the bundle with a &...
FuzzyWuzzy's user avatar
1 vote
1 answer
543 views

Uninstalling useless dependencies from a partially-installed failed MacPorts package

I tried to install the xfce package on MacPorts, which has about a hundred dependencies. It got pretty far, but ultimately the install failed due to whatever reason, about 85 dependencies in. So I'd ...
Mike Battaglia's user avatar
0 votes
0 answers
94 views

Gummi via pkgsrc on mac?

On the TeX editor Gummi's Github page https://github.com/alexandervdm/gummi/wiki/Installing-Gummi#install-for-your-platform, there is a link to pkgsource to get the package for macOS. But when I run ...
Ma Joad's user avatar
  • 411
1 vote
1 answer
288 views

pkg installer error in macOS 12.3: rights in /Library/Application Support

Are there any changes in the rights of the folder /Library/Application Support starting with macOS 12.3? Our application refuses to install, our postinstall script fails to create a folder (and files ...
Whiletrue's user avatar
  • 121
0 votes
2 answers
1k views

Install a package with an expired certificate

I just noticed I can double-clik, open and install a .pkg package installer that has an expired certificate without any popup like "This package is from an developer whose certificate has expired&...
Basj's user avatar
  • 163
2 votes
1 answer
704 views

Save all macports packages of Big Sur and install them or upgrade them into new macport packages manager of Monterey OS

I have just upgraded my macBook pro 16" from Big Sur to Monterey. The issue is that I have tried to save all the macports that I had previously on Big Sur but I get an error : $ sudo port -qv ...
user avatar
0 votes
0 answers
136 views

Where did GNU sharutils go?

I have GNU sharutils installed on my system as /usr/local/bin/shar. It's been on my filesystem since 2016, so it isn't something I added recently. However, even after grepping the Homebrew Git ...
CodeGnome's user avatar
  • 393
1 vote
0 answers
209 views

Make brew use an externally installed package as if it was brew-installed

I’m still using brew on macOS 10.13.6 (High Sierra). I’m aware it has been no longer supported for some time now. I need rust and LLVM for some package support. How can I make this work with brew as ...
bento's user avatar
  • 141
0 votes
0 answers
2k views

Problem with homebrew installed to a different location(not to /usr/local)

Being a standard user on Apple Macbook M1, I installed homebrew to (created Developer directory) $HOME/Developer/ using mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/...
ayush7ad6's user avatar
0 votes
1 answer
124 views

Homebrew is not upgrading all packages

Installed hashcat with brew brew install hashcat it says 6.1.1 version is installed and it's the latest when v6.2.3 stable is already up. How to fix it?
3 votes
2 answers
2k views

Fink, Homebrew, MacPorts, pkgsrc — can I run them in parallel on the same machine?

I've been using Homebrew on my Mac forever, but sometimes I run into situations where a package is not available. For maximum choice, which of the 4 major package managers (am I missing any?) can be ...
nisc's user avatar
  • 231
2 votes
1 answer
139 views

How can I return the logged in user from inside a pkg which is running as root?

I'm using the Packages app to create an installer which includes, among other things, a launchd job. The postinstall Bash script needs to target the logged in user as follows: launchctl bootstrap gui/$...
Jamie Garroch - MVP's user avatar
4 votes
1 answer
14k views

Creating an installer (.pkg file) from the command line

I've seen multiple tutorials in how to create an installer to distribute a MacOS application, but they're all very simple examples (just installing an application and placing it in /Applications). To ...
Luis Angel Urena Lopez's user avatar
10 votes
1 answer
11k views

Homebrew running service shows error, how to debug this?

When I run brew services list one of my services state shows err. brew services restart elasticsearch@6 for example stops and restarts with no error output and shows: brew services restart ...
lacostenycoder's user avatar
0 votes
0 answers
203 views

Using Packages to install and run homebrew

Using Packages to create an installer. The app depends on a package from brew. I added a install.sh to the pre-installation scripts section that has this: #!/bin/bash /bin/bash -c "$(curl -fsSL ...
Andrew's user avatar
  • 1
0 votes
0 answers
28 views

How to allow all programs and libraries of a package at once?

I would like to install the SageMath package (Binaries available at http://www-ftp.lip6.fr/pub/math/sagemath/osx/intel/index.html) on macOS. The problem is that when I unpack the package and I try to ...
Mathieu Dutour Sikiric's user avatar
1 vote
0 answers
74 views

How to find and download a specific macOS update name that usually is not available within the apple download website

Every time Apple release a minor macOS X update, for example (Supplemental, or Combo, or Security Update, etc), I usually visit https://support.apple.com/en_US/downloads and I download the dmg file ...
Fabio's user avatar
  • 1,168
0 votes
1 answer
987 views

Catalina install error for EVERYTHING "The operation couldn’t be completed. (com.apple.installer.pagecontroller error -1.)"

I get the above error message for all PKG and MPKG files. I have done safe mode disk repair, and nothing changed. I also saved the PKG files as DMG in Disk Utility, and nothing changed. I had it ...
Disco Danny's user avatar
1 vote
2 answers
329 views

How can I bundle different installers from third party vendors to ease end-user installation process

I have to deploy a few packages to all our users working from home (private iMacs/Laptops) Is there a way to bundle multiple installers and Java JRE for them? What about authorizations and custom ...
dquake's user avatar
  • 13
0 votes
0 answers
878 views

Homebrew package manager taps fatal error

I was updating and upgrading Homebrew and I saw this error message: does anyone know what shall I do? ==> Pouring imagemagick-7.0.10-31.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/imagemagick/7.0....
baggiponte's user avatar
1 vote
0 answers
53 views

Find out which Homebrew formula gave a shared library file

I installed Homebrew cask package sequel-pro, but when I try to use it, it complains in a dialog about a failing dlopen() naming the shared library (/usr/local/lib/plugin/caching_sha2_password.so). I ...
FooF's user avatar
  • 193
6 votes
1 answer
3k views

How can I see all formulae available in a specific tap using Brew?

Suppose I have added a new tap to Brew using brew tap .... I've tried looking into brew search, brew tap, and brew tap-info, but none of these subcommand present any suitable options. How can I list ...
Shuzheng's user avatar
  • 1,511
1 vote
0 answers
18 views

How can I find which Homebrew package a certain file/binary belongs to (if any)? [duplicate]

I often find myself forgetting what I installed to get a certain command. On my Arch machine, I can simply run pacman -Qo $(which <command>) and it finds the associated package. Does anyone ...
Jake Ireland's user avatar
1 vote
1 answer
17k views

Installing from .deb files in macOS Catalina

I tried installing dpkg with brew. When it was done installing, it gave me the following message :- ==> Caveats This installation of dpkg is not configured to install software, so commands such as ...
Prakhar Garhwal's user avatar
2 votes
0 answers
43 views

Notarize an application without installer

I have an application which is distributed without an installer. Just a .zip is given to the users which contains the .app structure of the application. The application is signed with a valid ...
Bemipefe's user avatar
  • 121
-1 votes
1 answer
213 views

Why are brew formulas and casks that outdated?

Brew packages are often quite old and especially casks do not get updates for years. I have used Arch Linux before and might be spoiled by Pacman and the Arch User Repository. Its really a different ...
tbrodbeck's user avatar
  • 147
3 votes
1 answer
2k views

No package manager on brand new macOS Catalina

I'm sorry if this is a stupid question, but I've been searching for days with no results. What is the default package manager for macOS Catalina terminal? % brew zsh: command not found: brew I've ...
retrovius's user avatar
  • 153
0 votes
1 answer
256 views

Can you install NPM and Git under a standard user account?

Currently all users in my environment run as standard users. We now have developers starting that will need access to tools such as NPM and Git. Is it possible to install these tools and limit to ...
k3vmo's user avatar
  • 111
3 votes
1 answer
4k views

How to create a pkg installer with a custom action?

I have created pkg bundle with pkgbuild & productbuild and I want to get the IP address from the User and that should be passed to postinstall script to write it in a specific file. I don't see ...
Samraj's user avatar
  • 31
1 vote
0 answers
580 views

Failing to install the package "Pygments" with brew

I'm try to use the minted package in latex to display code in latex document. I get an error message "you must have pygmentize installed" to use this package. So I tried to install the package ...
ecjb's user avatar
  • 514
4 votes
0 answers
87 views

Is there a script/cmd that I can create/run that will allow me to install .dmg? [duplicate]

I have been working on a "Mac Rollout Project". After I run the Macs through the Apple setup, I have a list of .DMG / Applications that I have to install. There is no particular order that the .DMG / ...
bsmithmj's user avatar
1 vote
1 answer
3k views

Installing to a home folder using a pkg

I'm attempting to create a package using Packages that installs in ~/Applications (because each user can have an instance of the app in question running but it needs a custom port per user as it ...
ian's user avatar
  • 471
1 vote
1 answer
6k views

List all installed macOS packages

I've inherited a pre-owned Mac running macOS High Sierra. I wish to use it for Web app development. It's been well-used by the previous owner for Software development and DevOps. It runs like a ...
Senor Felipe Largo's user avatar
0 votes
1 answer
80 views

Pip wont update

Hi I am trying to update pip and receiving this error: egts-iMac-3:~ egt$ pip install -U pip You are using pip version 6.1.1, however version 10.0.1 is available. You should consider upgrading via ...
Greg Iven's user avatar
0 votes
1 answer
772 views

Can't install port that is visible on macports.org [Macports]

I've been trying to get some of my packages from Homebrew moved to Macports recently. One such package was the Crystal programming language. Unfortunately, sudo port install crystal doesn't work: $ ...
GDP2's user avatar
  • 1,328
4 votes
2 answers
415 views

With brew, how do I only list packages that were built from source (not poured from bottle)?

Is there a way to list only the packages that were built from source? I want to check what options they were built with, and since that's the main reason I install packages by building from source ...
kumowoon1025's user avatar
  • 1,108
2 votes
1 answer
80 views

Identifying where a package came from

I just tried to upgrade nmap with my package manager but got knocked back because it's supposedly not installed. Even though it is: brew upgrade nmap Updating Homebrew... ==> Auto-updated ...
voices's user avatar
  • 2,229
3 votes
1 answer
4k views

Why does `g++ --version` say LLVM/clang?

I ran the following to see what version of g++ I had: $ g++ --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM ...
Flash's user avatar
  • 133
1 vote
0 answers
3k views

sendmail for mac

Is there a sendmail port for Mac that I can install? Mac already has a sendmail process. But that is not what I am looking for. The summary in its doc says: sendmail - Postfix to Sendmail ...
Hakan Baba's user avatar
5 votes
1 answer
1k views

How to manage newer Ruby installations in macOS without intervening with the default Ruby installations?

macOS comes with some default ruby installations, more here, that I do not want to overwrite by running gems commands as sudo. I tried rbenv, instructed here, but I am getting a permission error in ...
hhh's user avatar
  • 3,924
16 votes
4 answers
7k views

Using pip vs. MacPorts for installing Python packages

I could install a python package (for example, numpy) on my Mac either via Macports: port install py-numpy or via pip: pip install numpy What are the general pros/cons of each approach? When ...
jvriesem's user avatar
  • 764