Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Script for installing Fish Shell on systems without root access.
  4. # Fish Shell will be installed in $HOME/local/bin.
  5. # It's assumed that wget and a C/C++ compiler are installed.
  6.  
  7. # exit on error
  8. set -e
  9.  
  10. FISH_SHELL_VERSION=2.1.1
  11.  
  12. # create our directories
  13. mkdir -p $HOME/local $HOME/fish_shell_tmp
  14. cd $HOME/fish_shell_tmp
  15.  
  16. # download source files for Fish Shell
  17. wget http://fishshell.com/files/${FISH_SHELL_VERSION}/fish-${FISH_SHELL_VERSION}.tar.gz
  18.  
  19. # extract files, configure, and compile
  20.  
  21. tar xvzf fish-${FISH_SHELL_VERSION}.tar.gz
  22. cd fish-${FISH_SHELL_VERSION}
  23. ./configure --prefix=$HOME/local --disable-shared
  24. make
  25. make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement