# Can't install MacPorts

**URL:** https://forums.plex.tv/t/cant-install-macports/472
**Category:** Dev/API Corner
**Tags:** other-dev
**Created:** [October 6, 2008, 5:50am UTC](https://forums.plex.tv/t/cant-install-macports/472 "2008-10-06T05:50:21Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![migueld](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/migueld/32/77_2.png) [@migueld](https://forums.plex.tv/u/migueld)
#### Post date: [October 6, 2008, 5:50am UTC](https://forums.plex.tv/t/cant-install-macports/472/1 "2008-10-06T05:50:21Z")

</div>

I’m trying to install MacPorts to get plex into xcode but I’m having some issues. It seems it won’t get installed, I tried installing via the terminal by following the steps at [macports.org](http://macports.org) and the installation runs through fine. But when I do a “man port” on the terminal I get “No manual entry for port” I installed x11 and x11sdk, and got the xcode 3.1 update. Any ideas?

---

<div class="post-metadata">

### Author: ![pundy](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@pundy](https://forums.plex.tv/u/pundy)
#### Post date: [October 6, 2008, 7:48am UTC](https://forums.plex.tv/t/cant-install-macports/472/2 "2008-10-06T07:48:10Z")

</div>

> [@](#):
>
> I’m trying to install MacPorts to get plex into xcode but I’m having some issues. It seems it won’t get installed, I tried installing via the terminal by following the steps at [macports.org](http://macports.org) and the installation runs through fine. But when I do a “man port” on the terminal I get “No manual entry for port” I installed x11 and x11sdk, and got the xcode 3.1 update. Any ideas?

  
  
Install issue maybe? What do you get if you do "which port" on the command line?

---

<div class="post-metadata">

### Author: ![elan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elan/32/5_2.png) [@elan](https://forums.plex.tv/u/elan)
#### Post date: [October 6, 2008, 8:05am UTC](https://forums.plex.tv/t/cant-install-macports/472/3 "2008-10-06T08:05:02Z")

</div>

No man page is normal. Like pundy says, see if it’s actually there.

```auto

$ port help

```

---

<div class="post-metadata">

### Author: ![iordonez](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/iordonez/32/4_2.png) [@iordonez](https://forums.plex.tv/u/iordonez)
#### Post date: [October 6, 2008, 4:50pm UTC](https://forums.plex.tv/t/cant-install-macports/472/4 "2008-10-06T16:50:00Z")

</div>

I had a problem where the default install location for mac ports isn’t in my path. I added these lines to .profile to get it working:

```auto

export PATH=/opt/local/bin:/opt/local/sbin:$PATH<br />
export MANPATH=/opt/local/share/man:$MANPATH

```

---

<div class="post-metadata">

### Author: ![migueld](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/migueld/32/77_2.png) [@migueld](https://forums.plex.tv/u/migueld)
#### Post date: [October 6, 2008, 4:56pm UTC](https://forums.plex.tv/t/cant-install-macports/472/5 "2008-10-06T16:56:26Z")

</div>

port help  
  
-bash: port: command not found  
  
  
  
  
  
which port  
  
  
  
Doesn’t return anything.  
  
  
  
It’s weird since I tried both, the GUI and terminal installations and both return fine. Am I missing something in the installation?

---

<div class="post-metadata">

### Author: ![jam](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jam/32/186050_2.png) [@jam](https://forums.plex.tv/u/jam)
#### Post date: [October 6, 2008, 5:11pm UTC](https://forums.plex.tv/t/cant-install-macports/472/6 "2008-10-06T17:11:15Z")

</div>

The port binary is installed at /opt/local/bin/port. Do you have /opt/local/bin as part of your path?

---

<div class="post-metadata">

### Author: ![migueld](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/migueld/32/77_2.png) [@migueld](https://forums.plex.tv/u/migueld)
#### Post date: [October 6, 2008, 5:46pm UTC](https://forums.plex.tv/t/cant-install-macports/472/7 "2008-10-06T17:46:31Z")

</div>

Ok it’s working now, I used Isaac’s lines and created a profile file (which didn’t exist). Thanks everyone 🙂  
  
  
  
Now on to git…

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [December 20, 2019, 8:19pm UTC](https://forums.plex.tv/t/cant-install-macports/472/8 "2019-12-20T20:19:39Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
