Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of installed MacPorts without dependencies

Tags:

macos

macports

When I do port installed, I get useless list of hundreds of items. However, only a handful of these are ports I actually installed first-hand. The rest are dependencies that I have no need to relate directly to.

Is there a way to list only the ports I actually installed, ie. those I typed in on the command line manually? Like a top level node list or installation history file or something?

like image 904
forthrin Avatar asked Feb 24 '13 10:02

forthrin


People also ask

Does MacPorts build from source?

If no archive is available, MacPorts will fall back to building from source. This can happen for a number of reasons: Each port is only prebuilt with its default set of variants. So if you specify different variants when installing, the port will be built from source.

How do I install MacPorts on High Sierra?

The easiest way to install MacPorts on a Mac is by downloading the pkg or dmg for Monterey, Big Sur, Catalina, Mojave, High Sierra, Sierra, El Capitan, Yosemite, Mavericks, Mountain Lion, Lion, Snow Leopard, Leopard or Tiger and running the system's Installer by double-clicking on the pkg contained therein, following ...

What is MacPorts user Mac?

Macports is a tool for installing applications and command line tools on your Mac, with a huge library of “ports” (the Macports term for something that can be installed). You use it in Terminal.app like this: $ sudo port install nmap.


1 Answers

MacPorts has the concept of requested and unrequested ports.

Try port installed requested.

See man 1 port for more information on 'requestedness' and pseudo-targets.

like image 153
Clemens Lang Avatar answered Oct 14 '22 03:10

Clemens Lang