-
Notifications
You must be signed in to change notification settings - Fork 3
/
install_nuitka.sh
36 lines (31 loc) · 1003 Bytes
/
install_nuitka.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
# If you update this from Windows, using Notepad ++, do the following:
# sudo apt-get -y install dos2unix
# dos2unix <FILE>
# chmod u+x <FILE>
#
clear
echo "
Version: 0.0.2 \r\n
Last Updated: 2/16/2021
\r\n \r\n
This is meant for Ubuntu 18.04+ \r\n \r\n
Updating system first..."
#sudo -E apt-get update
#wait
#sudo -E apt-get upgrade -y
#--------------------------------------------------------------------------------------------
CODENAME=`grep UBUNTU_CODENAME /etc/os-release | cut -d= -f2`
if ["$CODENAME"] = ""]
then
CODENAME=`lsb_release -c -s`
fi;
wget -O - http://nuitka.net/deb/archive.key.gpg | apt-key add -
echo >/etc/apt/sources.list.d/nuitka.list "deb http://nuitka.net/deb/stable/$CODENAME $CODENAME main"
sudo -E apt-get update
apt-get install -y nuitka
echo "Updating PyPI... "
#pip install -U nuitka
pip3 install -U nuitka
echo " Visit for more details: https://nuitka.net/doc/user-manual.html#command-line "
echo " \r\n \r\n \r\n"