Robert
Robert

Reputation: 8663

How do I know the macports package name for a command?

A script I need to run uses tempfile, but I don't have that on my Mac. I do use Macports. How can I find out which Macports package I need to install to get tempfile?

tempfile is a shell command used in scripting. It's an ELF binary on my Linux box and belongs to the debianutils package, as shown by dpkg -S /bin/tempfile. I Installed the Macports debianutils package and now have tempfile.

Just wondering how I'll figure this out if I don't have a Linux box handy...

Upvotes: 1

Views: 129

Answers (1)

rafalio
rafalio

Reputation: 3946

Is tempfile a Python library? If so, you should be able to install it with pip if you have it.

On another note, you should probably switch to Homebrew as your package manager.

Upvotes: 1

Related Questions