Skip to content

Commit

Permalink
chore: update installing packages
Browse files Browse the repository at this point in the history
  • Loading branch information
fatimazq committed Dec 25, 2023
1 parent b878823 commit cbd0885
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@

install_pkg_on_termux() {
pkg update -y && pkg upgrade -y
pkg install git openssl-tool xz-utils jq ccrypt nodejs -y
pkg install build-essential openssl openssl-tool zlib zlib-static git xz-utils jq ccrypt nodejs make clang perl -y
cd
wget https://www.openssl.org/source/openssl-3.2.0.tar.gz
tar -xf openssl-3.2.0.tar.gz
cd openssl-3.2.0
./config --prefix=$PREFIX --openssldir=$PREFIX zlib enable-zstd zlib-dynamic enable-zstd-dynamic shared
make && make install
cd
npm -g install @barudakrosul/gcrypt
}

install_pkg_on_linux() {
sudo apt update -y && sudo apt upgrade -y
sudo apt install build-essential checkinstall zlib1g-dev tar wget git xz-utils jq ccrypt nodejs make -y
sudo apt install build-essential checkinstall zlib1g-dev tar wget openssl git xz-utils jq ccrypt nodejs make clang perl -y
cd /usr/local/src
sudo wget https://www.openssl.org/source/openssl-3.2.0.tar.gz
sudo tar -xf openssl-3.2.0.tar.gz
Expand All @@ -17,8 +24,6 @@ install_pkg_on_linux() {
sudo make && sudo make install
cd
npm -g install @barudakrosul/gcrypt
openssl version
openssl
}

case $HOME in
Expand Down

0 comments on commit cbd0885

Please sign in to comment.