All Questions
241
questions
290
votes
8
answers
218k
views
How do I find a list of Homebrew's installable packages?
Recently I installed Brew. How can I retrieve a list of available brew packages to install?
127
votes
13
answers
170k
views
What is the most compatible way to install python modules on a Mac?
I'm starting to learn python and loving it. I work on a Mac mainly as well as Linux. I'm finding that on Linux (Ubuntu 9.04 mostly) when I install a python module using apt-get it works fine. I can ...
27
votes
2
answers
2k
views
How to package ruby shoes apps on OSX 10.7
I have been making an app using Ruby Shoes. I am happy with how it turned out and would like to share it with some friends. However, the GUI packager doesn't work in OSX and the Windows packager only ...
25
votes
2
answers
146k
views
How to install a Mac application using Terminal
Apple suggests that prior to submitting to the Mac application store, the installation process for Macs be tested using the command
sudo installer -store -pkg path-to-package -target /
I saved the ...
22
votes
4
answers
33k
views
Installing bsddb package - python
I am totally new to python and I have this message when I try to import bsdddb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/System/Library/Frameworks/...
22
votes
8
answers
46k
views
Error in loading rgl package with Mac OS X
I am trying to install rgl package (0.92.858) for R (2.14.2) under Mac OS X (Lion 10.7.3). When I try to load it (library(rgl)), I get the following error:
Error : .onLoad failed in loadNamespace() ...
19
votes
1
answer
15k
views
An error ['\+' is an unrecognized escape in character string starting "\+" while creating a R package
I tried to create a package using some functions and scripts I created (using X11 on a Mac). While R CMD check was doing its work, it encountered a problem as follows:
temp = trim(unlist(strsplit(lp....
14
votes
2
answers
10k
views
How can I install qpdf on Mac 10.8.3?
When running R CMD check on packages on a Mac build server, I'm getting a warning
‘qpdf’ is needed for checks on size reduction of PDFs
I can't seem to get qpdf installed and on the system. I ...
14
votes
1
answer
5k
views
What is in trend in Mac OSX world Pkg or Dmg?
As DMG and PKG both are widely used for installation in Mac OSX. I have seen many DMG in the last decade, now I see more PKGs.
I need to ship an app that is around 100 MB, I am not sure what ...
11
votes
2
answers
6k
views
Can I safely delete the files in "/anaconda3/pkgs"?
I found the same python package in two different directories on my MacBook. One is in /anaconda3/pkgs/ and the other is in /anaconda3/lib/python3.7/site-packages. I wonder what the folder /anaconda3/...
10
votes
1
answer
30k
views
Specifying the OS - Ansible
I'm a newbie in Ansible, so I wrote a little ansible utility to install some package dependencies for a system I'm writing:
---
- hosts: all
user: root
tasks:
- name: install requirements
...
10
votes
1
answer
9k
views
Bundle a Java 7 .jar for Mac
I created a .jar that requires Java 7. I have Java 7 (JDK and JRE) and I can double-click to run the .jar. However, I want to package this into an application.
What I tried: Using Apple's Jar Bundler ...
9
votes
2
answers
11k
views
Mac app store productbuild
Apple's document on submitting an app to the Mac App store contains this example use of the command productbuild, from in /Developer/usr/bin/.
productbuild \
--component build/Release/Sample.app /...
9
votes
2
answers
8k
views
Programmatically add application icon to dock on install
I would like my application to be automatically added to the dock after the package (DMG) is installed?
Does anyone know how to do this?
8
votes
2
answers
10k
views
How to avoid clang: No such file or directory error
I am trying to install RPostgreSQL into my R instance.
I downloaded R with Anaconda, I also downloaded homebrew.
When I run, install.packages('RPostgreSQL') I get an error message that reads --
...
8
votes
1
answer
4k
views
Whats the difference between codesign and productsign?
What is the difference between Apple codesign and productsign. I have been playing around with them both and whilst I cannot sign code with productsign it appears I can sign a package with codesign.
...
8
votes
5
answers
5k
views
Version errors for numpy when importing matplotlib
When I
import matplotlib
I get no errors, but when I
import matplotlib.pyplot
I get
RuntimeError: module compiled against API version 8 but this version of numpy is 7
Traceback (most recent call ...
8
votes
4
answers
2k
views
Installing oursql on Mac OS Lion successes but import in python fails. **Why?**
I followed the installation instructions for installing oursql on Mac OS X. Since
sudo pip install oursql
told me, that it couldn't find mysql_config I (located it with locate mysql_config and) told ...
7
votes
5
answers
21k
views
Pip using system python osx
I installed python26 using macports, so the correct python on my system is /opt/local/bin/python
However, when I do
sudo pip install <packagename>
It gives me
sudo pip install <...
7
votes
1
answer
2k
views
How to make Brew show the size of the formula before installing it?
I'm looking for a way to make brew show the size of a formula without installing it. I've tried various options to brew info and brew install, but neither let me view the size of the formula.
However,...
7
votes
3
answers
14k
views
How can I build a Mac package on linux? (BOM file problem)
I'm running a business where we are creating email stationeries for people. We have some Mac users that currently have to download a zip file and manually copy that to their mail stationeries ...
7
votes
1
answer
722
views
Octave installing package fails on mac osx (Segmentation fault)
I am trying to install general package (general-1.3.4.tar.gz) to octave 3.8.0. Im using mac osx Yosemite. Im getting segmentation fault. This occurs no matter which package I try to install (for ...
6
votes
3
answers
4k
views
Octave 3.8.0 - package installation error in Mac OS X
I am trying to install some packages in Octave however, I am getting errors. Any help will be much appreciated. I tried this from Octave home directory. (I have also tried: pkg install general-1.3.4....
5
votes
1
answer
3k
views
Jupyter Notebook ModuleError after Homebrew Upgrade
I have been using Jupyter for some time now and it has worked just fine. I have Jupyter and Python installed via Homebrew. I am running on MacOS.
Yesterday, I ran the command brew upgrade and now my ...
5
votes
1
answer
3k
views
How can I give a Flat Package (.pkg) an icon which is seen on different computers?
I know it's possible to give a .pkg file an icon which is seen on my Mac, but I want to make it so it's seen by everyone who might get this package.
I've seen this before so I know it's possible, but ...
5
votes
2
answers
4k
views
How does one set a background image in an OSX .pkg?
I am creating a .pkg installer for my OSX application and I am having trouble figuring out how to set the background image.
I am creating my installer in my build script like this:
pkgbuild --root $...
5
votes
1
answer
3k
views
OS X: How do you create an installer .pkg that sets up one launchd plist as root and one as the current user?
I need to create a package installer on OS X that handles the installation of two launched daemons: one that runs as root and one that runs as the current user. While this is just for a very small ...
5
votes
1
answer
974
views
How macOS .app's are executable vs .exe's?
I am a hardcore Windows user, and I know a LOT about Windows. But one thing I still don't really get... how are .app's on macOS executable when they are just a folder with that extension, like .exe's ...
5
votes
4
answers
777
views
Distributing Rails applications in an OSX .app container
I want to distribute a Rails application within a .app package, so it can run from 10.4 to 10.6; is there any howto or hint on how to do that? Especially the following things make me twist my head:
I ...
5
votes
1
answer
223
views
Mac Installer Wrong Download Progress
I'm facing a problem with Mac Installer.
I have a Distribution package that references other packages.
The referenced packages are downloaded during installation time (pkg-ref poiting to a http link).
...
4
votes
2
answers
2k
views
How do I package a node web-kit app for publishing in mac app store?
I've searched a bit but can't find an existing tool for this.
how to package node web-kit project for mac osx and what steps to follow to distribute this app to mac app store.
Thanks in advance.
4
votes
4
answers
3k
views
Register new OS X file type by extension & associate with Cocoa app
OK, so here's the deal :
I've got a new app which I want to associate with a new file type - let's say .xyz
.xyz files - if that matters at all - is a Package file.
Now, here's how the filetype-...
4
votes
4
answers
15k
views
What should be my python packages path for a user install on MacOS?
I'm on Mac OS X and I've heard that to avoid global installation of packages (using sudo) that might cause problems with the python files that OS X uses, the path to install python packages must be ...
4
votes
1
answer
3k
views
How to combine two package installer files (PKG) to one big combined installer file? [closed]
How to combine two package installer files (PKG) to one big combined installer file? by using Package Installer?
4
votes
1
answer
4k
views
Productsigned Mac app not installing in computers that are not mine
I have a Mac app which I have signed using the 'productsign' command from the terminal
productsign --sign "3rd Party Mac Developer Installer: My company (dasdfjkaj)" InstallerUnsigned.pkg ...
4
votes
1
answer
5k
views
R freezes when installing packages from package installer on Macbook
I have been attempting to install some bioconductor packages in R on my Mac. However, when using the package installer, the application freezes and fails to respond. The same thing does NOT happen ...
4
votes
0
answers
1k
views
Undefined symbol: protocol conformance descriptor when linking swift package - linking fails?
I have added my own swift package to my project and after much thrashing around have it and the project compiling however it appears to fail on linking!
There are no code errors given just the ...
4
votes
1
answer
575
views
What does "Closed pull requests" mean in the output of `brew search`?
What does "Closed pull requests" mean in the output of brew search?
I'm familiar with Git pull requests, and understand that developers may push updates to a project.
But why does Brew reports that ...
4
votes
1
answer
415
views
Version error when installing docker toolbox on OSX
I'm new to docker and have been following the guide, trying to install the toolbox version v1.10.0-rc1. All seems to have gone well until I try the hello-world example and then I get:
Error ...
4
votes
1
answer
1k
views
Cross platform way to build DMG file using ANT?
I'm looking to deploy my Java app to MacOS, and the most common way seems to be a DMG file that contains a symlink to the application folder and your application (and you drag one onto the other.)
I'...
3
votes
2
answers
1k
views
Packages PKG Mac Installation builder Presentation Tab Doesn't Load
I am using the Packages software to build my application into a pkg file for installation on other Macs. I've used it before on my old MacBook and it worked great. I am trying it on my new Mac and I ...
3
votes
2
answers
3k
views
EXA Package problem. "exa has been disabled because it is not maintained upstream!"
So yeah i recently reinstalled macos and so now i wanted to customize my terminal by z shell.
Then from tutorial that i was watching i needed to install exa package from https://the.exa.website/#...
3
votes
1
answer
1k
views
Building R package for windows on mac
Question:
I am developing an R package. I have not yet submitted to CRAN (and it's not ready to at any rate). I want to send the package to friend for some preliminary testing (he's not a builder) ...
3
votes
3
answers
1k
views
How do I disable selection of an alternate volume in my OS X installer package?
I'm putting together an installer package for OS X, and I can't figure out how to disable the screen that asks the user which volume to install to. I want it to install to / without prompting.
Here's ...
3
votes
3
answers
2k
views
PyGraphviz is just not getting installed in OS-X 10.9.4
Note: This problem is not covered in any of these posts: 1, 2, 3.
The aim is to get PyGraphviz installed to work with visualualization tools provided by python-weka-wrapper. I just couldn't install ...
3
votes
1
answer
2k
views
Why is R crashing when I try to import certain packages?
Anytime I have tried to import a package in R, it ends up crashing. To illustrate, if I run a command such as library(broom) in my terminal, the following error is yielded:
*** caught segfault ***
...
3
votes
1
answer
3k
views
Modify Info.plist to launch app
I'm trying to build a simple app, launchable by the final user with a simple double-click.
Here is the folder tree I have:
MyProgram.app/
Contents/
Info.plist
MacOS/
...
3
votes
1
answer
2k
views
installing packages for python 3
I tend to run my code in Jupyter notebooks, and these run in python 3. I also have python 2 on my computer. I installed pip3 so I'd be able to install packages specifically for python 3 but this doesn'...
3
votes
1
answer
2k
views
Creating Installer Plugins in Packages with same root privileges as the packages to be installed (Mac OS X)
I am working in a Mac OS X project where the installer is built using the Packages tool. I see that this tool is less used than the one called Package Maker and that is why I find difficult to get any ...
3
votes
0
answers
127
views
Homebrew formual testing
I am writing a formula installer with dependecies:
depends_on "yaws" => "2.0.9"
depends_on "erlang"
depends_on "gcc" => "4.9.1"
depends_on "...