Skip to content

Instantly share code, notes, and snippets.

@ohadcn
Last active February 15, 2023 19:55
Show Gist options
  • Save ohadcn/6677ba46e5d7b257ff117c67998294cf to your computer and use it in GitHub Desktop.
Save ohadcn/6677ba46e5d7b257ff117c67998294cf to your computer and use it in GitHub Desktop.
install commonly used packages on new machine installation
few usefull scripts to configure and install a new development machine.
every file contains staff to be installed in a selected way, every line is for kind of develpers / development process.
#update software
sudo apt update
sudo apt -y upgrade
#install some usefull commands
sudo apt -y install screen htop zip unzip bash-completion locate
#develpment tools
sudo apt -y install build-essential cmake autoconf libtool autoconf git
#package managers
sudo apt -y install python-pip npm
#python modules install prerequirments
sudo apt -y install python-wheel cython
#TODO: remove unusefull packages
#TODO: desktop equivalent
sudo updatedb.mlocate
sudo /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
sudo gem install cocoapods
pacman -Sy mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc mingw-w64-x86_64-make
pacman -Sy mingw-w64-x86_64-python3-pip mingw-w64-x86_64-python3-setuptools
pacman -Sy mingw-w64-x86_64-openssl
pacman -Sy git
npm -g install grunt gulp bower eslint csslint
npm -g install cordova ionic
npm -g install firebase-tools
npm -g install heroku
npm -g install zapier-platform-cli
npm -g install prisma
# auto add all repositories
sudo apt-add-repository -y universe
sudo apt-add-repository -y multiverse
#update software
sudo apt update
sudo apt -o Dpkg::Options::="--force-confold" -y dist-upgrade
#install some usefull commands
sudo apt -y install screen htop zip unzip rar unrar mlocate
#develpment tools
sudo apt -y install build-essential cmake autoconf libtool autoconf git
#package managers
sudo apt -y install python3-pip npm
#python common modules install prerequirments
sudo apt -y install python3-wheel cython
# for lnmp server
sudo apt install -y --no-install-recommends php php-fpm php-cli composer php-curl
sudo apt install -y nginx
sudo apt install -y certbot python3-certbot-nginx
sudo apt install -y mysql-client mysql-server php-mysql
sudo apt install -y mongodb-server php-mongodb
#TODO: remove unusefull packages
#TODO: desktop equivalent
sudo updatedb.mlocate
sudo npm install -g pm2
sudo apt install -y node-node-sass
awscli
awsebcli
certbot
jupyter
pylint
tensorflow
wheel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment