built out update scripts to rebuild a new computer to my liking
This commit is contained in:
parent
9e49551ef4
commit
0b2c8b8c8f
37
new_computer_setup/osx/brew_packages
Normal file
37
new_computer_setup/osx/brew_packages
Normal file
@ -0,0 +1,37 @@
|
||||
axel
|
||||
clisp
|
||||
cmake
|
||||
cmatrix
|
||||
cowsay
|
||||
ext4fuse
|
||||
figlet
|
||||
findutils
|
||||
fortune
|
||||
gcc
|
||||
ghostscript
|
||||
git
|
||||
gnu-getopt
|
||||
gradle
|
||||
htop
|
||||
tomanthony/brews/itermocil
|
||||
jp2a
|
||||
libxmlsec1
|
||||
llvm
|
||||
lolcat
|
||||
lorem
|
||||
lynx
|
||||
minicom
|
||||
mono
|
||||
mutt
|
||||
nethack
|
||||
nmap
|
||||
node
|
||||
pkg-config
|
||||
postgresql
|
||||
python@2
|
||||
sl
|
||||
rockymadden/rockymadden/slack-cli
|
||||
vim
|
||||
w3m
|
||||
watch
|
||||
wget
|
10
new_computer_setup/osx/pip_packages
Normal file
10
new_computer_setup/osx/pip_packages
Normal file
@ -0,0 +1,10 @@
|
||||
amqp==2.1.4
|
||||
appdirs==1.4.0
|
||||
asn1crypto==0.23.0
|
||||
gpg==1.13.1
|
||||
mock==2.0.0
|
||||
pbr==3.1.1
|
||||
nodeenv==1.3.3
|
||||
six==1.10.0
|
||||
vine==1.1.3
|
||||
virtualenv==16.7.3
|
17
new_computer_setup/osx/rcpathvars
Normal file
17
new_computer_setup/osx/rcpathvars
Normal file
@ -0,0 +1,17 @@
|
||||
# for pyenv
|
||||
#export PATH="/Users/w0ryn/.pyenv:$PATH"
|
||||
#eval "$(pyenv init -)"
|
||||
|
||||
#export LDFLAGS="-L/usr/local/opt/openssl/lib"
|
||||
export LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"
|
||||
#LDFLAGS += -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib
|
||||
|
||||
#export CPPFLAGS="-I/usr/local/opt/openssl/include"
|
||||
export CPPFLAGS="-I/usr/local/opt/llvm/include -I/usr/local/opt/llvm/include/c++/v1/"
|
||||
#CPPFLAGS += -I/usr/local/opt/llvm/include -I/usr/local/opt/llvm/include/c++/v1/
|
||||
|
||||
export PATH="/usr/local/opt/llvm/bin:$PATH"
|
||||
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
|
||||
export PYCURL_SSL_LIBRARY=openssl
|
||||
|
||||
export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
|
32
new_computer_setup/osx/setup
Normal file
32
new_computer_setup/osx/setup
Normal file
@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
echo Setting up preferred utilities...
|
||||
local INSTALL_LOCATION='~/.wryn/new_computer_setup'
|
||||
|
||||
sudo xcode-select --install;
|
||||
brew update; # install brew
|
||||
|
||||
brew --version;
|
||||
[ $? -ne 0 ] && echo failed to install homebrew && return 1
|
||||
|
||||
brew update; # install brew packages
|
||||
|
||||
for package in $(cat $INSTALL_LOCATION/osx/brew_packages); do
|
||||
brew install "$package"
|
||||
done;
|
||||
|
||||
# mssql install
|
||||
#brew install freetds@0.91
|
||||
#brew link --force freedts@0.91
|
||||
#brew tap microsoft/mssqul-release https://github.com/Microsoft/homebrew-m2
|
||||
#brew update
|
||||
#brew install --no-sandbox msodbcsql
|
||||
|
||||
brew services start postgresql
|
||||
|
||||
# use ~/.bashrc instead
|
||||
[[ ! -f ~/.bashrc ]] && touch ~/.bashrc
|
||||
echo '[[ -s ~/.bashrc ]] && source ~/.bashrc' >> ~/.bash_profile
|
||||
cat $INSTALL_LOCATION/osx/rcpathvars >> ~/.bashrc
|
||||
|
||||
# python packages
|
||||
pip3 install -r pip_packages
|
Loading…
Reference in New Issue
Block a user