Skip to content

Commit

Permalink
Updated dependecy installation in to seperate executable files
Browse files Browse the repository at this point in the history
  • Loading branch information
kmehant committed Mar 26, 2019
1 parent f192c9a commit 8e73941
Show file tree
Hide file tree
Showing 4 changed files with 172 additions and 238 deletions.
31 changes: 31 additions & 0 deletions package-list-brew
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

echo "Installing Homebrew"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "Homebrew Installed"

echo "Installing python3 and pip"
brew install python3
echo "python3 and pip Installed"

echo "Installing Aria2"
brew install aria2
echo "Aria2 Installed"

echo "Installing and starting MySQL"
brew install mysql
brew services start mysql
echo "MySQL Installed and Started"

echo "Installing Node"
brew install node
echo "Node Installed"

echo "Installing Bower"
npm install -g bower
echo "Bower Installed"

echo "Installing Gulp"
npm install -g gulp
npm install -g gulp-cli
echo "Gulp Installed"
47 changes: 47 additions & 0 deletions package-list-dnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#!/bin/bash

echo "Installing pip"
dnf install python-pip #Python 2
dnf install python3 #Python 3
echo "pip installed"

echo "Upgrading setuptools"
dnf upgrade python-setuptools
echo "setuptools upgraded"

echo "Installing Aria2"
yum install aria2
echo "Aria2 installed"

echo "Installing mysql-server"
## Fedora 29 ##
dnf install https://dev.mysql.com/get/mysql80-community-release-fc29-1.noarch.rpm
# choose accordingly
## Fedora 28 ##
#dnf install https://dev.mysql.com/get/mysql80-community-release-fc28-1.noarch.rpm

## Fedora 27 ##
#dnf install https://dev.mysql.com/get/mysql80-community-release-fc27-1.noarch.rpm

dnf install mysql-community-server
systemctl start mysqld.service ## use restart after update
systemctl enable mysqld.service
echo "mysql-server installed"

echo "Installing libmysqlclient"
yum install mysql-devel
echo "libmysqlclient installed"

echo "Installing node"
dnf install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash -
dnf install nodejs
echo "NodeJS installed"

echo "Installing bower globally"
npm install -g bower
echo "bower installed"

echo "Installing gulp globally"
npm install -g gulp
echo "gulp installed"
58 changes: 58 additions & 0 deletions package-list-yum
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
#!/bin/bash

# Documented for centOS 7
# Updating yum
echo "Setting up yum"
yum -y update
yum -y install yum-utils
yum -y groupinstall development
echo "yum is ready"

#Installing Python
echo "Installing Python"
yum install centos-release-scl
yum install rh-python36
scl enable rh-python36 bash
python --version
echo "Python successfully installed"

#Installing pip
echo "Installing pip"
yum install epel-release -y
yum install python-pip
echo "pip successfully installed"

#Installing setup tools
echo "Installing setuptools"
wget http://pypi.python.org/packages/source/s/setuptools/setuptools-1.1.6.tar.gz --no-check-certificate
tar xf setuptools-1.1.6.tar.gz
cd setuptools-1.1.6
python3.3 setup.py install
echo "setuptools installed"

echo "Installing Aria2"
yum --enablerepo=rpmforge install aria2 -y
echo "Aria2 installed"

echo "Installing mysql-server"
rpm -ivh https://repo.mysql.com//mysql57-community-release-el7-11.noarch.rpm
yum install mysql-server -y
echo "mysql-server installed"

echo "Installing libmysqlclient"
yum install mysql-devel -y
echo "libmysqlclient installed"

echo "Installing node"
yum install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_6.x | sudo -E bash -
yum install nodejs
echo "NodeJS installed"

echo "Installing bower globally"
npm install -g bower
echo "bower installed"

echo "Installing gulp globally"
npm install -g gulp
echo "gulp installed"
Loading

0 comments on commit 8e73941

Please sign in to comment.