The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
Please vote in the Forum Structure Poll. Polling will close at 2PM EST on January 21, 2025.

OSX Terminal

sdrawkcaB emaNsdrawkcaB emaN regular
edited March 2008 in Help / Advice Forum
So I'm trying to install Hamachi on my macbook, but that shit is a Unix app instead of OSX, so I have to install it and run it through the Terminal

I never use Terminal and I have no clue how to do this. When I double-click on the install icon, it opens Terminal and spits this out:

Last login: Fri Mar 7 19:44:24 on ttys000
/Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx/install ; exit;
sam-pritchards-macbook:~ sampritchard$ /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx/install ; exit;

Please run 'install' under the root account

logout

[Process completed]


So what do I do?

sdrawkcaB emaN on

Posts

  • mastmanmastman Registered User regular
    edited March 2008
    usually you have to navigate to the directory and type

    make
    make install


    two separate commands


    make compiles it
    make install installs it


    ohh, and to enable root account you have to go to applications/utilities/

    run directory utility
    unlock it
    go to edit and enable root access
    give it a password
    in the terminal type 'su -' (without the '')
    type in password

    go to that directory and install

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    mastman wrote: »
    usually you have to navigate to the directory and type

    make
    make install


    two separate commands


    make compiles it
    make install installs it


    ohh, and to enable root account you have to go to <one sec, looking it up, forget it>

    Can you just type out everything I have to type, and also tell me where

    I mean really break it down for me, I don't ever use this shit.

    I have no idea what "usually you have to navigate to the directory" even means

    sdrawkcaB emaN on
  • mastmanmastman Registered User regular
    edited March 2008
    wherever you unzipped that program too.

    if it is under your username it is in

    /Users/<username>/

    when you open terminal you'll be in that directory. But if you need to get around / is the base directory. Kind of like the C:/ in windows.

    cd changes directories
    pwd tells you where you are
    cd .. moves you up one folder
    ls lists directory contents

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    yeah see you're hurting my brain

    Can you just give me step-by-step instructions?

    I mean I appreciate you trying to impart some Terminal wisdom on me but I think you've overestimated my aptitude for this stuff

    sdrawkcaB emaN on
  • mastmanmastman Registered User regular
    edited March 2008
    no dammit. You're going to learn!!

    alright, where is this program located. The files that you tried to click

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • mastmanmastman Registered User regular
    edited March 2008
    I can't type out the way to enable root access any better. But if you get that done I can type out exactly how to install it

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    it's located on my desktop in a folder called hamachi-0.9.9.9-20-osx

    sdrawkcaB emaN on
  • mastmanmastman Registered User regular
    edited March 2008
    ok. once you get root access enabled.

    stuff prefixed by * is me talking to you
    stuff surrounded by ' ' is commands you type
    stuff surrounded by <> is shit you gotta fill in

    *open up terminal.

    'su -'
    <enter your password>
    'cd /Users/<username>/Desktop/hamachi-0.9.9.9-20-osx'
    'make ' *may not be necessary, but it'll be ok
    'make install'


    * find out where it installed to by typing 'locate hamachi' locate is a search command. hopefully it isn't installed somewhere retarded. Hopefully it is just installed onto your desktop.
    * once it is installed, you want to be able to run it while not being root, being root is dangerous
    * say it is installed on your desktop in a folder called hamachi. Which is /Users/<username>/Desktop/hamachi you would want to type
    'sudo chmod -R o+wrx /Users/<username>/Desktop/hamachi'
    *it will prompt you for your username password, so enter it

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    mastman wrote: »
    I can't type out the way to enable root access any better. But if you get that done I can type out exactly how to install it

    the directory utility doesn't give me an option to open root access

    I run leopard, by the way, if that makes any difference

    sdrawkcaB emaN on
  • EggyToastEggyToast Jersey CityRegistered User regular
    edited March 2008
    Terminal also lets you simply drag a folder on to it, and it'll autocomplete the absolute path. So if you're really having a hard time getting to a folder, you can simply type cd [space] and then drag the folder into Terminal and then hit enter. You'll see Terminal fill in the path to that folder.

    EggyToast on
    || Flickr — || PSN: EggyToast
  • mastmanmastman Registered User regular
    edited March 2008
    it's under edit, along the top

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • mastmanmastman Registered User regular
    edited March 2008
    also, once you're ready to install, where i had
    make
    make install

    you may just need to type install

    it seems they have some fancy thing prepared for you. just try both

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    mastman wrote: »
    it's under edit, along the top

    ah cool

    sdrawkcaB emaN on
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    here's my failed attempt:

    Last login: Fri Mar 7 20:23:33 on ttys000
    sam-pritchards-macbook:~ sampritchard$ su
    Password:
    sh-3.2# cd/users/sampritchard/desktop/hamachi-0.9.9.9-20-osx
    sh: cd/users/sampritchard/desktop/hamachi-0.9.9.9-20-osx: No such file or directory
    sh-3.2# /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx
    sh: /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx: is a directory
    sh-3.2# make
    sh: make: command not found
    sh-3.2# /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx make
    sh: /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx: is a directory
    sh-3.2# make /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx
    sh: make: command not found
    sh-3.2# install /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx
    usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 file2
    install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 ... fileN directory
    install -d [-v] [-g group] [-m mode] [-o owner] directory ...
    sh-3.2# /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx
    sh: /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx: is a directory
    sh-3.2# make
    sh: make: command not found
    sh-3.2# install
    usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 file2
    install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 ... fileN directory
    install -d [-v] [-g group] [-m mode] [-o owner] directory ...
    sh-3.2# /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx
    sh: /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx: is a directory
    sh-3.2# make install
    sh: make: command not found
    sh-3.2# /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx
    sh: /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx: is a directory
    sh-3.2# install
    usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 file2
    install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 ... fileN directory
    install -d [-v] [-g group] [-m mode] [-o owner] directory ...
    sh-3.2#

    sdrawkcaB emaN on
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    oh I see the issue

    I missed a space

    .....

    still doesn't work.

    Heres my second attempt:

    Last login: Fri Mar 7 20:30:04 on ttys000
    sam-pritchards-macbook:~ sampritchard$ su
    Password:
    sh-3.2# cd /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx
    sh-3.2# make
    sh: make: command not found
    sh-3.2# install
    usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 file2
    install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 ... fileN directory
    install -d [-v] [-g group] [-m mode] [-o owner] directory ...
    sh-3.2# make install
    sh: make: command not found
    sh-3.2#

    sdrawkcaB emaN on
  • mastmanmastman Registered User regular
    edited March 2008
    'man install'

    you gotta see what those flags mean. This might mean you have to track down your work's tech support and see what he wants.

    also, try to logout and log back in as root (from the normal OS X window) and double click it. That app seems progressed enough it might have a gui installer. look around on hamachi's webpage

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • mastmanmastman Registered User regular
    edited March 2008
    wait, i don't know if you can log in to OS X GUI as root, never tried it

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    mastman wrote: »
    'man install'

    you gotta see what those flags mean. This might mean you have to track down your work's tech support and see what he wants.

    also, try to logout and log back in as root (from the normal OS X window) and double click it. That app seems progressed enough it might have a gui installer. look around on hamachi's webpage

    how do I log in as the root account?

    sdrawkcaB emaN on
  • mastmanmastman Registered User regular
    edited March 2008
    no fucking idea :)

    lemme try it

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    also when I typed "man install" it gave me this moonspeak:

    INSTALL(1) BSD General Commands Manual INSTALL(1)

    NAME
    install -- install binaries

    SYNOPSIS
    install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 file2
    install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 ... fileN directory
    install -d [-v] [-g group] [-m mode] [-o owner] directory ...

    DESCRIPTION
    The file(s) are copied to the target file or directory. If the destina-
    tion is a directory, then the file is copied into directory with its
    original filename. If the target file already exists, it is either
    renamed to file.old if the -b option is given or overwritten if permis-
    sions allow. An alternate backup suffix may be specified via the -B
    option's argument.

    The options are as follows:

    -B suffix
    :

    sdrawkcaB emaN on
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    about logging in as the root account:

    "Last login: Fri Mar 7 20:37:56 on ttys000
    sam-pritchards-macbook:~ sampritchard$ /Users/sampritchard/Desktop/hamachi-0.9.9.9-20-osx/install ; exit;

    Please run 'install' under the root account

    logout

    [Process completed]"

    this is the message I get when I double-click on the executable file called "install" in the hamachi folder

    I think you might be right that all I have to do is log in with root access and double-click this

    that seems to be what it's saying, anyway

    sdrawkcaB emaN on
  • MonoxideMonoxide Registered User, ClubPA regular
    edited March 2008
    You don't actually have to go to directory utility and do all of that

    you can just preface the commands with sudo and it will prompt for your password

    so make and make install become:
    sudo make
    sudo make install

    Also, it looks like you don't have make on your mac or it's not set up correctly. You might need to install the Developer Tools to get this to work. Everything's included here in the XCode 3.0 package, so install that and it should work okay

    edit: Wait, I don't think you even need make for this

    cd to the hamachi folder in Terminal and type this

    sudo ./install

    Monoxide on
  • mastmanmastman Registered User regular
    edited March 2008
    alright.

    *if you are root, type 'exit'
    *we wanna get out of root

    *navigate back to the hamachi directory

    *try

    'sudo ./install'
    <enter your pw>

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • mastmanmastman Registered User regular
    edited March 2008
    I'm trying this writeup for ya insteaf of guessing normal unix shit

    http://www.command-tab.com/2006/08/13/hamachi-on-mac-os-x/

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    mastman wrote: »
    alright.

    *if you are root, type 'exit'
    *we wanna get out of root

    *navigate back to the hamachi directory

    *try

    'sudo ./install'
    <enter your pw>

    SUCCESS!

    sdrawkcaB emaN on
  • mastmanmastman Registered User regular
    edited March 2008
    excellent

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    ah fuck

    not working now.

    sdrawkcaB emaN on
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    installed but won't actually start the program.

    is there a way for me to just entirely start over and undo/erase anything I've done so far

    sdrawkcaB emaN on
  • mastmanmastman Registered User regular
    edited March 2008
    check out that page i linked.

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    that page links to this

    My only question is if this includes hamachi itself, because I'm concerned that my attempt to install through the Terminal was totally fucked, so if this requires a proper Terminal install, it'll be fucked, too

    sdrawkcaB emaN on
  • mastmanmastman Registered User regular
    edited March 2008
    lol, here's a more full link. remove the space in ht tp

    ht tp://www.command-tab.com/2006/08/13/hamachi-on-mac-os-x/

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • mastmanmastman Registered User regular
    edited March 2008
    nah. all those failed install make install things didn't do shit. I looked over the output. but if you want you can find where it went and delete it and try again

    'locate hamachi'

    rm -r <directory of installation>

    be careful, that's the delete commad.

    mastman on
    ByalIX8.png
    B.net: Kusanku
  • sdrawkcaB emaNsdrawkcaB emaN regular
    edited March 2008
    Well I finally got it running, both in the command-line and also with the front-end, but for some reason while I can connect to servers and whatnot I can't actually get a proper VPN going or actually play games over hamachi.

    awesome.

    sdrawkcaB emaN on
  • FyreWulffFyreWulff YouRegistered User, ClubPA regular
    edited March 2008
    Do you have the required ports open on your firewall?

    FyreWulff on
  • saggiosaggio Registered User regular
    edited March 2008
    For future reference, you may want to install Fink or pkg-src. They are two different package management systems that work on Mac OS X (originally from BSD), and they make installing *nix apps really easy. Instead of having to do the ./configure && make && make install stuff every single time you want to install something, you can get precompiled packages that will also solve for dependencies. They essentially do the same job as apt does on Debian, but they work with OS X.

    saggio on
    3DS: 0232-9436-6893
  • AphostileAphostile San Francisco, CARegistered User regular
    edited March 2008
    Monoxide wrote: »
    You don't actually have to go to directory utility and do all of that

    you can just preface the commands with sudo and it will prompt for your password

    so make and make install become:
    sudo make
    sudo make install

    Also, it looks like you don't have make on your mac or it's not set up correctly. You might need to install the Developer Tools to get this to work. Everything's included here in the XCode 3.0 package, so install that and it should work okay

    edit: Wait, I don't think you even need make for this

    cd to the hamachi folder in Terminal and type this

    sudo ./install

    sandwich.png

    Having used Hamachi before for my Mac, I would highly SUGGEST using HamachiX over regular ol' Hamachi

    http://hamachix.spaceants.net/

    Aphostile on
    Nothing. Matters.
  • contrabandcontraband Registered User regular
    edited March 2008
    man why hamachi gotta be such a bitch to install on a mac

    i feel you, backwards man

    contraband on
    sigxw0.jpg
Sign In or Register to comment.