I am trying to download the text based browser elinks by following this video https://www.youtube.com/watch?v=A2gzn8QAlWA but I could not because the terminal gave me the error sudo: apt-get: command not found. what should I do to fix this so that I can download elinks? I useMac OS X version 10.11.5.Here is my console after trying to install using brew:Last login: Thu Jul  7 12:32:57 on ttys000  ~ sudo apt-get install  elinksPassword:sudo: apt-get: command not found  ~ /usr/bin/ruby -e $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)It appears Homebrew is already installed. If your intent is to reinstall youshould do the following before running this installer again:    ruby -e $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)The current contents of /usr/local are bin Cellar CODEOFCONDUCT.md CONTRIBUTING.md etc Frameworks include lib Library LICENSE.txt opt README.md share SUPPORTERS.md .git .gitignore  ~ brew install elinks==> Downloading http://elinks.or.cz/download/elinks-0.11.7.tar.bz2Already downloaded: /Library/Caches/Homebrew/elinks-0.11.7.tar.bz2==> ./configure --prefix=/usr/local/Cellar/elinks/0.11.7_2 --without-spidermonkey --enable-256-colors^C  ~ elnkszsh: command not found: elnks  ~ elinkszsh: command not found: elinks  ~ /usr/local/Cellar/elinkszsh: no such file or directory: /usr/local/Cellar/elinks  ~ brew doctorthis is brew doctor:Warning: The /usr/local is not writable.You should probably change the ownership and permissions of /usr/localback to your user account.  sudo chown -R $(whoami) /usr/localWarning: The /usr/local directory is not writable.Even if this directory was writable when you installed Homebrew, othersoftware may change permissions on this directory. For example, upgradingto OS X El Capitan has been known to do this. Some versions of theInstantOn component of Airfoil or running Cocktail cleanup/optimizationsare known to do this as well.You should probably change the ownership and permissions of /usr/localback to your user account.  sudo chown -R $(whoami):admin /usr/localWarning: Python is installed at /Library/Frameworks/Python.frameworkHomebrew only supports building against the System-provided Python or abrewed Python. In particular, Pythons installed to /Library can         interferewith other software installs.Warning: You have MacPorts or Fink installed:  /opt/local/bin/portThis can cause trouble. You don't have to uninstall them, but you may want totemporarily move them out of the way, e.g.  sudo mv /opt/local ~/macportsand this is brew info elinks:elinks: stable 0.11.7, devel 0.12pre6, HEADText mode web browserhttp://elinks.or.cz/Not installedFrom:         https://github.com/Homebrew/homebrew/blob/master/Library/Formula/elinks.rb==> DependenciesRequired: openssl sudo brew install elinkssudo brew install elinksPassword:Error: Cowardly refusing to 'sudo brew install'You can use brew with sudo, but only if the brew executable is owned by root.However, this is both not recommended and completely unsupported so do so atyour own risk.
Installing elinks on OSX
software installation;osx