-
Notifications
You must be signed in to change notification settings - Fork 0
/
postinstall_ubuntu_perso_minimal.sh
59 lines (46 loc) · 2.19 KB
/
postinstall_ubuntu_perso_minimal.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
# ================================================================
# Title : Postinstall Ubuntu Perso (minimal)
# Author : Guillaume Nibert
# Version : 2.0
# Compatibility : Ubuntu 18.04 LTS, 18.10, 19.04, 19.10, 20.04 LTS
# Comments : The script runs in sudo mode.
# ================================================================
# Changelog
#
# Security :
# - Removed Discord, Skype and Riot.im.
# Compatibility : Added Ubuntu 20.04 LTS support.
# ================================================================
# Removal of the package allowing to manage updates automatically
apt remove unattended-upgrades -y
# Update of the package lists
apt update
# Upgrade packages
apt upgrade -y
# Installation of curl and apt-transport-https
apt install curl apt-transport-https -y
# Adding software repositories
## LibreOffice
add-apt-repository ppa:libreoffice/ppa -y
## VSCodium
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | apt-key add -
echo 'deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ vscodium main' | tee --append /etc/apt/sources.list.d/vscodium.list
## Brave Browser
curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | tee /etc/apt/sources.list.d/brave-browser-release.list
## Etcher
echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list
apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 379CE192D401AB61
# Update of the package lists
apt update
# Installation of the following packages
apt install audacity vlc codium libreoffice libreoffice-l10n-fr libreoffice-help-fr \
thunderbird thunderbird-locale-fr filezilla brave-browser balena-etcher-electron default-jre \
synaptic cheese gufw chrome-gnome-shell gnome-clocks rhythmbox totem totem-plugins \
torbrowser-launcher -y
# Development tools in Python, C, C++ and Java
apt install python3 gcc g++ default-jdk -y
# Comments
# For security reasons, the use of Discord, Skype and Riot.im is done via a privacy-friendly
# web browser.