linux-noah / noah

Bash on Ubuntu on macOS
Other
1.93k stars 90 forks source link

How to use Linux Bash Shell? #91

Open Daksh opened 5 years ago

Daksh commented 5 years ago

I installed Noah

daksh@Dakshs-MacBook-Air  ~/Daksh.github.io   master ●  brew install linux-noah/noah/noah
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
wget ✔              clang-format        hcloud              mariadb             mercurial           mutt                serverless

==> Installing noah from linux-noah/noah
==> Installing dependencies for linux-noah/noah/noah: gnu-tar
==> Installing linux-noah/noah/noah dependency: gnu-tar
==> Downloading https://homebrew.bintray.com/bottles/gnu-tar-1.31.mojave.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring gnu-tar-1.31.mojave.bottle.1.tar.gz
==> Caveats
GNU "tar" has been installed as "gtar".
If you need to use it as "tar", you can add a "gnubin" directory
to your PATH from your bashrc like:

    PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"

Additionally, you can access its man page with normal name if you add
the "gnuman" directory to your MANPATH from your bashrc as well:

    MANPATH="/usr/local/opt/gnu-tar/libexec/gnuman:$MANPATH"
==> Summary
🍺  /usr/local/Cellar/gnu-tar/1.31: 15 files, 1.7MB
==> Installing linux-noah/noah/noah
==> Downloading https://dl.bintray.com/linux-noah/noah/noah-0.5.1.sierra.bottle.tar.gz

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "noah"
Download failed: https://dl.bintray.com/linux-noah/noah/noah-0.5.1.sierra.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Installing dependencies for linux-noah/noah/noah: cmake
==> Installing linux-noah/noah/noah dependency: cmake
==> Downloading https://homebrew.bintray.com/bottles/cmake-3.13.2.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cmake-3.13.2.mojave.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/cmake
==> Summary
🍺  /usr/local/Cellar/cmake/3.13.2: 5,542 files, 50.6MB
==> Downloading https://github.com/linux-noah/noah/archive/0.5.1.tar.gz
==> Downloading from https://codeload.github.com/linux-noah/noah/tar.gz/0.5.1
######################################################################## 100.0%
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/noah/0.5.1 -DCMAKE_B
==> make install
🍺  /usr/local/Cellar/noah/0.5.1: 6 files, 237.8KB, built in 12 minutes 47 seconds

There was an error in between but I am able to use the command noah. I want to access the bash shell of Ubuntu. How can I do that?

aaronliu0130 commented 5 years ago

Simply run noah. If you use help it should display a message similar to this:


$ help
GNU bash, version 4.3.42(1)-release (x86_64-pc-linux-gnu)
These shell commands are defined internally.  Type `help' to see this list.
Type `help name' to find out more about the function `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.

A star (*) next to a name means that the command is disabled.

 job_spec [&]                            history [-c] [-d offset] [n] or hist>
 (( expression ))                        if COMMANDS; then COMMANDS; [ elif C>
 . filename [arguments]                  jobs [-lnprs] [jobspec ...] or jobs >
 :                                       kill [-s sigspec | -n signum | -sigs>
 [ arg... ]                              let arg [arg ...]
 [[ expression ]]                        local [option] name[=value] ...
 alias [-p] [name[=value] ... ]          logout [n]
 bg [job_spec ...]                       mapfile [-n count] [-O origin] [-s c>
 bind [-lpsvPSVX] [-m keymap] [-f file>  popd [-n] [+N | -N]
 break [n]                               printf [-v var] format [arguments]
 builtin [shell-builtin [arg ...]]       pushd [-n] [+N | -N | dir]
 caller [expr]                           pwd [-LP]
 case WORD in [PATTERN [| PATTERN]...)>  read [-ers] [-a array] [-d delim] [->
 cd [-L|[-P [-e]] [-@]] [dir]            readarray [-n count] [-O origin] [-s>
 command [-pVv] command [arg ...]        readonly [-aAf] [name[=value] ...] o>
 compgen [-abcdefgjksuv] [-o option]  >  return [n]
 complete [-abcdefgjksuv] [-pr] [-DE] >  select NAME [in WORDS ... ;] do COMM>
 compopt [-o|+o option] [-DE] [name ..>  set [-abefhkmnptuvxBCHP] [-o option->
 continue [n]                            shift [n]
 coproc [NAME] command [redirections]    shopt [-pqsu] [-o] [optname ...]
 declare [-aAfFgilnrtux] [-p] [name[=v>  source filename [arguments]
 dirs [-clpv] [+N] [-N]                  suspend [-f]
 disown [-h] [-ar] [jobspec ...]         test [expr]
 echo [-neE] [arg ...]                   time [-p] pipeline
 enable [-a] [-dnps] [-f filename] [na>  times
 eval [arg ...]                          trap [-lp] [[arg] signal_spec ...]
 exec [-cl] [-a name] [command [argume>  true
 exit [n]                                type [-afptP] name [name ...]
 export [-fn] [name[=value] ...] or ex>  typeset [-aAfFgilrtux] [-p] name[=va>
 false                                   ulimit [-SHabcdefilmnpqrstuvxT] [lim>
 fc [-e ename] [-lnr] [first] [last] o>  umask [-p] [-S] [mode]
 fg [job_spec]                           unalias [-a] name [name ...]
 for NAME [in WORDS ... ] ; do COMMAND>  unset [-f] [-v] [-n] [name ...]
 for (( exp1; exp2; exp3 )); do COMMAN>  until COMMANDS; do COMMANDS; done
 function name { COMMANDS ; } or name >  variables - Names and meanings of so>
 getopts optstring name [arg]            wait [-n] [id ...]
 hash [-lr] [-p pathname] [-dt] [name >  while COMMANDS; do COMMANDS; done
 help [-dms] [pattern ...]               { COMMANDS ; }
I have no name!
mhamzas commented 4 years ago

Nothing happens after running command "noah"

Edward2k commented 4 years ago

I have the same issue :/ I would love to be able to run the Ubuntu bash but I run 'noah', and there is no message.