-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_apps_deb.sh
More file actions
executable file
·44 lines (34 loc) · 1.34 KB
/
install_apps_deb.sh
File metadata and controls
executable file
·44 lines (34 loc) · 1.34 KB
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
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
#
# This script installs applications via apt package manager by
# downloading the .deb files and installing them via apt.
#
# This can be useful for applications that are not available in
# the default repositories or for installing specific versions
# of applications.
#
FOLDER=/tmp/debs001
mkdir -p ${FOLDER}
download_deb() {
local DEB_URL=$1
local DEB_NAME=$2
wget ${DEB_URL} -O ${FOLDER}/${DEB_NAME}
}
install_deb() {
local DEB_NAME=$1
sudo apt install ${FOLDER}/${DEB_NAME}
}
# ---
download_deb 'https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb' 'google-chrome-stable_current_amd64.deb'
download_deb 'https://go.microsoft.com/fwlink/?LinkID=760868' 'vscode.deb'
download_deb 'https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/microsoft-edge-stable_136.0.3240.64-1_amd64.deb' 'microsoft-edge-stable_amd64.deb'
#download_deb 'https://kafkio.com/download/kafkio/2.0.13/KafkIO-linux-2.0.13-x64.deb' 'kafkio.deb'
#download_deb 'https://www.keepersecurity.com/desktop_electron/Linux/repo/deb/keeperpasswordmanager_17.4.1_amd64.deb' 'keeperpasswordmanager.deb'
# ---
install_deb 'google-chrome-stable_current_amd64.deb'
install_deb 'vscode.deb'
install_deb 'microsoft-edge-stable_amd64.deb'
#install_deb 'kafkio.deb'
#install_deb 'keeperpasswordmanager.deb'
# ---
sudo apt update