1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Correct syntax for set PACKAGESITE

Discussion in 'Installation and Maintenance of Ports or Packages' started by macunkie, Jul 7, 2012.

  1. macunkie

    macunkie New Member

    Messages:
    32
    Thanks Received:
    0
    I've read over the handbook and have used different combinations of In my case I need to get to ftp://ftp.freebsd.org/pub/FreeBSD/ports/powerpc/packages-9-stable/Latest/

    No matter how I attempt to input the set PACKAGESITE i get a syntax error ?

    Is there a way to set this auto in my system so I don't have to type (what ever ) the correct path is every time?
    Can it be set up in a .profile file of some sort?

    Thanks as always,

    Samuel.
     
  2. wblock@

    wblock@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    11,727
    Thanks Received:
    2,274
    It depends on the shell. What the Handbook shows is not a literal command, but instructions. "to" is not part of the command.

    For csh(1):
    # setenv PACKAGESITE "ftp://ftp.freebsd.org/pub/FreeBSD/ports/powerpc/packages-9-stable/Latest/"

    For bash(1):
    # export PACKAGESITE="ftp://ftp.freebsd.org/pub/FreeBSD/ports/powerpc/packages-9-stable/Latest/"
     
    macunkie thanks for this.
  3. macunkie

    macunkie New Member

    Messages:
    32
    Thanks Received:
    0
    Thank you again for all your great support !!

    The " " was what I was missing.

    Samuel.