1
votes

I'm trying to create an install script including some extra dependencies. Is there anyway to avoid having the end user have to perform a 'sudo apt install' for the following:

sudo apt-get install build-essential

sudo apt-get install libx11-xcb-dev libglu1-mesa-dev

sudo apt-get install libwebkitgtk-dev

sudo apt-get install gnome-shell-extension-top-icons-plus

sudo apt install gnome-tweak-tool

How can I find the corresponding tar files to include in the package so the user does not have to perform 'sudo apt-get'

1

1 Answers

0
votes

You should be able to add them to the script and then clear the log like so:

sudo apt update
sudo apt install build-essential libx11-xcb-dev libglu1-mesa-dev libwebkitgtk-dev gnome-shell-extension-top-icons-plus gnome-tweak-tool -y
clear

Or you can manually download and the packages and copy all of the files to a ./bin folder and instead of running the command directly build for example you can run ./bin/build.