Skip to content

Commit ca35de9

Browse files
authored
Add MacPorts and pkgsrc package manager options (#524)
There is no standard package manager for MacOS, there are at least three popular ones, and all of them have Rust available. This pull requests adds some of the other popular package managers.
1 parent 776499a commit ca35de9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/infra/other-installation-methods.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ might one _not_ want to install using those instructions?
2121
demand. If you need to install Rust without access to the internet, `rustup`
2222
is not suitable.
2323
- Preference for the system package manager. On Linux in particular, but also on
24-
macOS with [Homebrew], and Windows with [Chocolatey] or [Scoop], developers sometimes
25-
prefer to install Rust with their platform's package manager.
24+
macOS with [Homebrew], [MacPorts] or [pkgsrc], and Windows with [Chocolatey]
25+
or [Scoop], developers sometimes prefer to install Rust with their platform's
26+
package manager.
2627
- Preference against `curl | sh`. On Unix, we usually install `rustup` by
2728
running a shell script via `curl`. Some have concerns about the security of
2829
this arrangement and would prefer to download and run the installer
@@ -111,6 +112,8 @@ Past releases can be found in [the archives].
111112
[`rustup-init.exe`]: https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe
112113
[`rustup-init.sh`]: https://static.rust-lang.org/rustup/rustup-init.sh
113114
[homebrew]: http://brew.sh/
115+
[macports]: https://www.macports.org/
116+
[pkgsrc]: https://pkgsrc.joyent.com/install-on-osx/
114117
[chocolatey]: http://chocolatey.org/
115118
[scoop]: https://scoop.sh/
116119
[three tiers]: https://doc.rust-lang.org/nightly/rustc/platform-support.html

0 commit comments

Comments
 (0)