Updated install module

This commit is contained in:
JaKooLit 2023-10-14 02:19:41 +09:00
parent 9484c27d0f
commit dc9651b8ef
11 changed files with 21 additions and 21 deletions

View File

@ -11,7 +11,7 @@ sudo nano /etc/apt/sources.list
- ensure to allow to install non-free drivers especially for users with NVIDIA gpus. You can also install non-free drivers if required. Edit install-scripts/nvidia.sh and change the nvidia stuff's if required - ensure to allow to install non-free drivers especially for users with NVIDIA gpus. You can also install non-free drivers if required. Edit install-scripts/nvidia.sh and change the nvidia stuff's if required
### 🔔 NOTICE TO UBUNTU USERS ### ### 🔔 NOTICE TO UBUNTU USERS ###
- you can use this installer. During installation, you will see alot of cannot install package. This is ok because of these dependencies is for Debian. - you can use this installer.
- For Ubuntu with NVIDIA GPU's, make sure to edit the install-scripts/nvidia.sh . Delete all packages in nvidia_pkg except libva-wayland2 and nvidia-vaapi-driver and uncomment/remove # before sudo ubuntu-drivers install. You also need to delete or simply just add # in the lines 43 and 44 echo "## for nvidia... and echo "deb ........... - For Ubuntu with NVIDIA GPU's, make sure to edit the install-scripts/nvidia.sh . Delete all packages in nvidia_pkg except libva-wayland2 and nvidia-vaapi-driver and uncomment/remove # before sudo ubuntu-drivers install. You also need to delete or simply just add # in the lines 43 and 44 echo "## for nvidia... and echo "deb ...........
### 📷 Screenshots click to enlarge ### 📷 Screenshots click to enlarge

View File

@ -116,14 +116,14 @@ set -e
# Function for installing packages # Function for installing packages
install_package() { install_package() {
# Checking if package is already installed # Checking if package is already installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "${OK} $1 is already installed. Skipping..." echo -e "${OK} $1 is already installed. Skipping..."
else else
# Package not installed # Package not installed
echo -e "${NOTE} Installing $1 ..." echo -e "${NOTE} Installing $1 ..."
sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG" sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG"
# Making sure the package is installed # Making sure the package is installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "\e[1A\e[K${OK} $1 was installed." echo -e "\e[1A\e[K${OK} $1 was installed."
else else
# Something is missing, exiting to review the log # Something is missing, exiting to review the log

View File

@ -76,14 +76,14 @@ set -e
# Function for installing packages # Function for installing packages
install_package() { install_package() {
# Checking if package is already installed # Checking if package is already installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "${OK} $1 is already installed. Skipping..." echo -e "${OK} $1 is already installed. Skipping..."
else else
# Package not installed # Package not installed
echo -e "${NOTE} Installing $1 ..." echo -e "${NOTE} Installing $1 ..."
sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG" sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG"
# Making sure the package is installed # Making sure the package is installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "\e[1A\e[K${OK} $1 was installed." echo -e "\e[1A\e[K${OK} $1 was installed."
else else
# Something is missing, exiting to review the log # Something is missing, exiting to review the log

View File

@ -33,14 +33,14 @@ set -e
# Function for installing packages # Function for installing packages
install_package() { install_package() {
# Checking if package is already installed # Checking if package is already installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "${OK} $1 is already installed. Skipping..." echo -e "${OK} $1 is already installed. Skipping..."
else else
# Package not installed # Package not installed
echo -e "${NOTE} Installing $1 ..." echo -e "${NOTE} Installing $1 ..."
sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG" sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG"
# Making sure the package is installed # Making sure the package is installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "\e[1A\e[K${OK} $1 was installed." echo -e "\e[1A\e[K${OK} $1 was installed."
else else
# Something is missing, exiting to review the log # Something is missing, exiting to review the log

View File

@ -36,14 +36,14 @@ set -e
# Function for installing packages # Function for installing packages
install_package() { install_package() {
# Checking if package is already installed # Checking if package is already installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "${OK} $1 is already installed. Skipping..." echo -e "${OK} $1 is already installed. Skipping..."
else else
# Package not installed # Package not installed
echo -e "${NOTE} Installing $1 ..." echo -e "${NOTE} Installing $1 ..."
sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG" sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG"
# Making sure the package is installed # Making sure the package is installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "\e[1A\e[K${OK} $1 was installed." echo -e "\e[1A\e[K${OK} $1 was installed."
else else
# Something is missing, exiting to review the log # Something is missing, exiting to review the log

View File

@ -26,14 +26,14 @@ set -e
# Function for installing packages # Function for installing packages
install_package() { install_package() {
# Checking if package is already installed # Checking if package is already installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "${OK} $1 is already installed. Skipping..." echo -e "${OK} $1 is already installed. Skipping..."
else else
# Package not installed # Package not installed
echo -e "${NOTE} Installing $1 ..." echo -e "${NOTE} Installing $1 ..."
sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG" sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG"
# Making sure the package is installed # Making sure the package is installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "\e[1A\e[K${OK} $1 was installed." echo -e "\e[1A\e[K${OK} $1 was installed."
else else
# Something is missing, exiting to review the log # Something is missing, exiting to review the log

View File

@ -49,14 +49,14 @@ sudo apt update
# Function for installing packages # Function for installing packages
install_package() { install_package() {
# Checking if package is already installed # Checking if package is already installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "${OK} $1 is already installed. Skipping..." echo -e "${OK} $1 is already installed. Skipping..."
else else
# Package not installed # Package not installed
echo -e "${NOTE} Installing $1 ..." echo -e "${NOTE} Installing $1 ..."
sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG" sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG"
# Making sure the package is installed # Making sure the package is installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "\e[1A\e[K${OK} $1 was installed." echo -e "\e[1A\e[K${OK} $1 was installed."
else else
# Something is missing, exiting to review the log # Something is missing, exiting to review the log

View File

@ -32,14 +32,14 @@ LOG="install-$(date +'%d-%H%M%S')_nwg-look.log"
# Function for installing packages # Function for installing packages
install_package() { install_package() {
# Checking if package is already installed # Checking if package is already installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "${OK} $1 is already installed. Skipping..." echo -e "${OK} $1 is already installed. Skipping..."
else else
# Package not installed # Package not installed
echo -e "${NOTE} Installing $1 ..." echo -e "${NOTE} Installing $1 ..."
sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG" sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG"
# Making sure the package is installed # Making sure the package is installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "\e[1A\e[K${OK} $1 was installed." echo -e "\e[1A\e[K${OK} $1 was installed."
else else
# Something is missing, exiting to review the log # Something is missing, exiting to review the log

View File

@ -41,14 +41,14 @@ set -e
# Function for installing packages # Function for installing packages
install_package() { install_package() {
# Checking if package is already installed # Checking if package is already installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "${OK} $1 is already installed. Skipping..." echo -e "${OK} $1 is already installed. Skipping..."
else else
# Package not installed # Package not installed
echo -e "${NOTE} Installing $1 ..." echo -e "${NOTE} Installing $1 ..."
sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG" sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG"
# Making sure the package is installed # Making sure the package is installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "\e[1A\e[K${OK} $1 was installed." echo -e "\e[1A\e[K${OK} $1 was installed."
else else
# Something is missing, exiting to review the log # Something is missing, exiting to review the log

View File

@ -34,14 +34,14 @@ set -e
# Function for installing packages # Function for installing packages
install_package() { install_package() {
# Checking if package is already installed # Checking if package is already installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "${OK} $1 is already installed. Skipping..." echo -e "${OK} $1 is already installed. Skipping..."
else else
# Package not installed # Package not installed
echo -e "${NOTE} Installing $1 ..." echo -e "${NOTE} Installing $1 ..."
sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG" sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG"
# Making sure the package is installed # Making sure the package is installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "\e[1A\e[K${OK} $1 was installed." echo -e "\e[1A\e[K${OK} $1 was installed."
else else
# Something is missing, exiting to review the log # Something is missing, exiting to review the log

View File

@ -27,14 +27,14 @@ set -e
# Function for installing packages # Function for installing packages
install_package() { install_package() {
# Checking if package is already installed # Checking if package is already installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "${OK} $1 is already installed. Skipping..." echo -e "${OK} $1 is already installed. Skipping..."
else else
# Package not installed # Package not installed
echo -e "${NOTE} Installing $1 ..." echo -e "${NOTE} Installing $1 ..."
sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG" sudo apt-get install -y "$1" 2>&1 | tee -a "$LOG"
# Making sure the package is installed # Making sure the package is installed
if sudo dpkg -l | grep -q "^ii $1 " ; then if sudo dpkg -l | grep -q -w "$1" ; then
echo -e "\e[1A\e[K${OK} $1 was installed." echo -e "\e[1A\e[K${OK} $1 was installed."
else else
# Something is missing, exiting to review the log # Something is missing, exiting to review the log