To restore, for example, your MacPorts ports from the list generated above, use the following: port install $(cat ~/MacPorts. Either do so using your browser and the Finder, or use the given commands in a terminal window. For example: brew install wget coreutils Delete old gemsets, reinstall rubies and gems using RVM. Do not install both Homebrew and MacPorts in the same system. Download and extract the MacPorts 2.8.1 tarball. bashrc export PATH/opt/local/bin:/opt/local/sbin:PATH delete this Reinstall missing packages (that used to be installed from MacPorts) using brew. Ruby is installed from rbenv and Ruby libraries are installed from RubyGems. Pkgutil -packages > ~/InstalledPackages.txt To install MacPorts from the source code, follow the steps below. If you want a list of the binaries your terminal has access to, you can run the following commands to check the most common spots, and output the result as a text file: touch ~/Binaries.txtĪlternatively, if you just want to get the packages installed by MacPorts, run the following ( this is probably the one you want): touch ~/MacPorts.txtĪnd finally, for all packages installed by Installer touch ~/InstalledPackages.txt Since OS X has no package manager, anything you install would have been manual, through MacPorts or through Installer.
0 Comments
Leave a Reply. |