yggdrasil_ng/repo_functions_ub1804.sh

1442 lines
41 KiB
Bash
Raw Permalink Normal View History

2018-12-28 15:20:46 +00:00
#-----------------------------------------------------------------------------#
2018-05-26 21:33:31 +00:00
# Yggdrasil NG #
# compatibility : see documentation or man pages #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# #
# Ubuntu 18.04 / Linux Mint 19 #
# #
#-----------------------------------------------------------------------------#
2017-12-30 22:08:45 +00:00
#-----------------------------------------------------------------------------#
# list of apps with required package manager and category #
#-----------------------------------------------------------------------------#
#
# List of packages available
# fields : package name, package manager, category, unique ID for external functions
#
2020-07-04 19:02:53 +00:00
Apps="apt-transport-https;apt;init;apt-transport-https
flatpak;apt;init;flatpak
ubuntu-make;apt;init;ubuntu-make
gcc-8 g++-8;apt;init;gcc8
ruby-dev;apt;init;ruby-dev
nodejs;apt;init;nodejslts
python3-pip;apt;init;python3-pip
python3-distutils;apt;init;python3-distutils
pip;pip;init;setuptools
setuptools;pip;init;setuptools
2020-07-04 19:02:53 +00:00
unattended-upgrades;apt;unattended-upgrades;unattended-upgrades
snapd;apt;snap;snapd
snap-store;snap;snap;snap-store
cifs-utils;apt;base;cifs-utils
2017-12-30 22:08:45 +00:00
xterm;apt;base;xterm
curl;apt;base;curl
mc;apt;base;mc
bmon;apt;base;bmon
htop;apt;base;htop
screen;apt;base;screen
dconf-cli;apt;base;dconf
dconf-editor;apt;base;dconf-editor
lnav;apt;base;lnav
exfat-fuse;apt;base;exfat-fuse
exfat-utils;apt;base;exfat-utils
iftop;apt;base;iftop
iptraf;apt;base;iptraf
mpg123;apt;base;mpg123
debconf-utils;apt;base;debconf-utils
idle3-tools;apt;base;idle3-tools
sysstat;apt;base;sysstat
2019-03-15 20:35:35 +00:00
dcfldd;apt;base;dcfldd
2019-08-17 11:12:01 +00:00
mdadm;apt;base;mdadm
ncdu;apt;base;ncdu
2020-06-15 13:07:16 +00:00
com.spotify.Client;flatpak;multimedia;spotify
2017-12-30 22:08:45 +00:00
sayonara;apt;multimedia;sayonara
qmmp;apt;multimedia;qmmp
qmmp-plugin-projectm;apt;multimedia;qmmp-plugin-projectm
2020-06-15 13:07:16 +00:00
org.shotcut.Shotcut;flatpak;multimedia;shotcut
2017-12-30 22:08:45 +00:00
audacious;apt;multimedia;audacious
dia;apt;multimedia;dia
mpv;apt;multimedia;mpv
picard;apt;multimedia;picard
inkscape;apt;multimedia;inkscape
audacity;apt;multimedia;audacity
blender;apt;multimedia;blender
kodi;apt;multimedia;kodi
digikam;apt;multimedia;digikam
synfigstudio;apt;multimedia;synfigstudio
mkvtoolnix-gui;apt;multimedia;mkvtoolnix-gui
rawtherapee;apt;multimedia;rawtherapee
hugin;apt;multimedia;hugin
asunder;apt;multimedia;asunder
milkytracker;apt;multimedia;milkytracker
pitivi;apt;multimedia;pitivi
openshot;apt;multimedia;openshot
smplayer;apt;multimedia;smplayer
smplayer-themes;apt;multimedia;smplayer-themes
smplayer-l10n;apt;multimedia;smplayer-l10n
handbrake-cli;apt;multimedia;handbrake-cli
handbrake-gtk;apt;multimedia;handbrake-gtk
2017-12-30 22:08:45 +00:00
avidemux2.6-qt;apt;multimedia;avidemux2.6-qt
avidemux2.6-plugins-qt;apt;multimedia;avidemux2.6-plugins-qt
mjpegtools;apt;multimedia;mjpegtools
twolame;apt;multimedia;twolame
lame;apt;multimedia;lame
banshee;apt;multimedia;banshee
banshee-extension-soundmenu;apt;multimedia;banshee-extension-soundmenu
gpicview;apt;multimedia;gpicview
vlc;apt;multimedia;vlc
shotwell;apt;multimedia;shotwell
darktable;apt;multimedia;darktable
ffmpeg;apt;multimedia;ffmpeg
flacon;apt;multimedia;flacon
scribus;apt;multimedia;scribus
gnome-font-viewer;apt;multimedia;gnome-font-viewer
moc;apt;multimedia;moc
webp;apt;multimedia;webp
simplescreenrecorder;apt;multimedia;simplescreenrecorder
simplescreenrecorder-lib;apt;multimedia;simplescreenrecorder-lib
simplescreenrecorder-lib:i386;apt;multimedia;simplescreenrecorder-lib:i386
cuetools;apt;multimedia;cuetools
shntool;apt;multimedia;shntool
flac;apt;multimedia;flac
2020-06-17 16:45:27 +00:00
org.entangle_photo.Manager;flatpak;multimedia;entangle
2017-12-30 22:08:45 +00:00
krita;apt;multimedia;krita
soundconverter;apt;multimedia;soundconverter
gimp;apt;multimedia;gimp
gimp-help-fr;apt;multimedia;gimp
2017-12-30 22:08:45 +00:00
vidcutter;apt;multimedia;vidcutter
green-recorder;apt;multimedia;green-recorder
radiotray;apt;multimedia;radiotray
quodlibet;apt;multimedia;quodlibet
python-cddb;apt;multimedia;python-cddb
python-musicbrainz2;apt;multimedia;python-musicbrainz2
2018-03-23 07:04:19 +00:00
gmusicbrowser;apt;multimedia;gmusicbrowser
2018-03-30 07:39:12 +00:00
peek;apt;multimedia;peek
2018-05-06 15:48:47 +00:00
bino;apt;multimedia;bino
kdenlive;apt;multimedia;kdenlive
com.github.huluti.ImCompressor;flatpak;multimedia;ImCompressor
2017-12-30 22:08:45 +00:00
syncthing;apt;internet;syncthing
2018-06-05 14:17:12 +00:00
syncthing-gtk;apt;internet;syncthinggtk
2017-12-30 22:08:45 +00:00
insync;apt;internet;insync
2019-02-23 15:46:24 +00:00
megasync;apt;internet;megasync
2019-07-31 16:57:34 +00:00
megacmd;apt;internet;megacmd
2020-06-15 13:07:16 +00:00
com.discordapp.Discord;flatpak;internet;discord
com.teamspeak.TeamSpeak;flatpak;internet;TeamSpeak
2017-12-30 22:08:45 +00:00
quiterss;apt;internet;quiterss
opera-stable;apt;internet;opera-stable
google-chrome-stable;apt;internet;google-chrome-stable
chromium-browser;apt;internet;chromium-browser
chromium-browser-l10n;apt;internet;chromium-browser-l10n
filezilla;apt;internet;filezilla
hexchat;apt;internet;hexchat
mumble;apt;internet;mumble
2020-08-13 18:51:01 +00:00
geary;apt;internet;geary
2018-10-27 21:39:44 +00:00
birdtray;apt;internet;birdtray
2018-03-19 10:15:47 +00:00
telegram;apt;internet;telegram
skypeforlinux;apt;internet;skypeforlinux
nextcloud-desktop;apt;internet;nextcloud-desktop
2017-12-30 22:08:45 +00:00
deluge-gtk;apt;internet;deluge-gtk
deluge-torrent;apt;internet;deluge-torrent
vivaldi-stable;apt;internet;vivaldi-stable
transmission-gtk;apt;internet;transmission-gtk
2018-06-13 06:56:20 +00:00
iridium-browser;apt;internet;iridiumbrowser
youtube-dl;pip;internet;youtube-dl
2018-10-29 09:18:18 +00:00
youtube-dlg;apt;internet;youtube-dlg
2019-03-13 18:03:05 +00:00
gallery-dl;pip;internet;gallery-dl
cawbird;apt;internet;cawbird
2020-06-15 13:07:16 +00:00
us.zoom.Zoom;flatpak;internet;zoom
2017-12-30 22:08:45 +00:00
qtqr;apt;utilities;qtqr
2018-06-05 14:25:21 +00:00
cpu-g;apt;utilities;cpu-g
2017-12-30 22:08:45 +00:00
screenfetch;apt;utilities;screenfetch
xcalib;apt;utilities;xcalib
conky-all;apt;utilities;conky-all
plank;apt;utilities;plank
2018-08-05 00:21:13 +00:00
docky;apt;utilities;docky
2017-12-30 22:08:45 +00:00
indicator-sound-switcher;apt;utilities;indicator-sound-switcher
y-ppa-manager;apt;utilities;y-ppa-manager
synapse;apt;utilities;synapse
acetoneiso;apt;utilities;acetoneiso
guake;apt;utilities;guake
tilda;apt;utilities;tilda
psensor;apt;utilities;psensor
kazam;apt;utilities;kazam
bleachbit;apt;utilities;bleachbit
gparted;apt;utilities;gparted
gsmartcontrol;apt;utilities;gsmartcontrol
terminator;apt;utilities;terminator
2018-09-29 18:47:01 +00:00
tilix;apt;utilities;tilix
2017-12-30 22:08:45 +00:00
gufw;apt;utilities;gufw
numlockx;apt;utilities;numlockx
grub-customizer;apt;utilities;grub-customizer
zim;apt;utilities;zim
diodon;apt;utilities;diodon
qt5ct;apt;utilities;qt5ct
qt4-qtconfig;apt;utilities;qt4-qtconfig
byobu;apt;utilities;byobu
mupdf;apt;utilities;mupdf
mupdf-tools;apt;utilities;mupdf-tools
2018-12-28 14:58:24 +00:00
pdfarranger;apt;utilities;pdfarranger
2017-12-30 22:08:45 +00:00
fcrackzip;apt;utilities;fcrackzip
rarcrack;apt;utilities;rarcrack
pdfcrack;apt;utilities;pdfcrack
figlet;apt;utilities;figlet
alltray;apt;utilities;alltray
2018-10-16 12:37:49 +00:00
kdocker;apt;utilities;kdocker
2018-02-12 16:03:56 +00:00
cheat;pip;utilities;cheat
2017-12-30 22:08:45 +00:00
woeusb;apt;utilities;woeusb
screenkey;apt;utilities;screenkey
pdfgrep;apt;utilities;pdfgrep
coinmon;npm;utilities;coinmon
tldr;pip;utilities;tldr
gyazo;apt;utilities;gyazo
2018-04-01 13:15:29 +00:00
fdupes;apt;utilities;fdupes
2019-07-21 18:08:06 +00:00
balena-etcher-electron;apt;utilities;balena-etcher-electron
org.gabmus.hydrapaper;flatpak;utilities;hydrapaper
nvme-cli;apt;utilities;nvme-cli
font-manager;apt;utilities;font-manager
2020-08-13 18:17:38 +00:00
com.github.tchx84.Flatseal;flatpak;utilities;flatseal
2017-12-30 22:08:45 +00:00
python3-dev;apt;python;python3-dev
python3-pyqt5;apt;python;python3-pyqt5
pyqt5-dev-tools;apt;python;pyqt5-dev-tools
2018-08-12 12:55:34 +00:00
idle3;apt;python;idle3
python-gi;apt;python;python-gi
python-gi-cairo;apt;python;python-gi-cairo
python3-gi;apt;python;python3-gi
python3-gi-cairo;apt;python;python3-gi-cairo
python3-venv;apt;python;python3-venv
python3-wheel;apt;python;python3-wheel
libgirepository1.0-dev;apt;python;libgirepository1.0-dev
libbz2-dev;apt;python;libbz2-dev
libreadline-dev;apt;python;libreadline-dev
libssl-dev;apt;python;libssl-dev
zlib1g-dev;apt;python;zlib1g-dev
libsqlite3-dev;apt;python;libsqlite3-dev
llvm;apt;python;llvm
libncurses5-dev;apt;python;libncurses5-dev
libncursesw5-dev;apt;python;libncursesw5-dev
xz-utils;apt;python;xz-utils
tk-dev;apt;python;tk-dev
libcairo2-dev;apt;python;libcairo2-dev
virtualenv;pip;python;virtualenv
pipenv;pip;python;pipenv
2017-12-30 22:08:45 +00:00
jstest-gtk;apt;games;jstest-gtk
2018-03-30 07:39:12 +00:00
dosbox;apt;games;dosbox
2019-04-25 17:16:00 +00:00
lutris;apt;games;lutris
steam;apt;steam;steam
2017-12-30 22:08:45 +00:00
brasero;apt;burningtools;brasero
k3b;apt;burningtools;k3b
k3b-extrathemes;apt;burningtools;k3b-extrathemes
xfburn;apt;burningtools;xfburn
whois;apt;nettools;whois
iptraf;apt;nettools;iptraf
iperf;apt;nettools;iperf
wireshark;apt;nettools;wireshark
tshark;apt;nettools;tshark
zenmap;apt;nettools;zenmap
dsniff;apt;nettools;dsniff
aircrack-ng;apt;nettools;aricrack-ng
SpoofMAC;pip;nettools;SpoofMAC
speedtest-cli;pip;nettools;speedtest-cli
nethogs;apt;nettools;nethogs
2018-05-09 10:55:31 +00:00
ssh_scan;gem;nettools;sshscan
2018-06-06 13:23:36 +00:00
whatismyip;npm;nettools;whatismyip
2017-12-30 22:08:45 +00:00
caja-share;apt;cajaplugins;caja-share
caja-wallpaper;apt;cajaplugins;caja-wallpaper
caja-sendto;apt;cajaplugins;caka-sendto
caja-image-converter;apt;cajaplugins;caja-image-converter
insync-caja;apt;cajaplugins;insync-caja
nautilus;apt;nautilus;nautilus
file-roller;apt;nautilus;file-roller
nautilus-emblems;apt;nautilus;nautilus-emblems
nautilus-image-converter;apt;nautilus;nautilus-image-converter
nautilus-compare;apt;nautilus;nautilus-compare
nautilus-sendto;apt;nautilus;nautilus-sendto
nautilus-share;apt;nautilus;nautilus-share
nautilus-wipe;apt;nautilus;nautilus-wipe
nautilus-script-audio-convert;apt;nautilus;nautilus-script-audio-convert
nautilus-filename-repairer;apt;nautilus;filename-repairer
nautilus-gtkhash;apt;nautilus;nautilus-gtkhash
nautilus-ideviceinfo;apt;nautilus;nautilus-ideviceinfo
ooo-thumbnailer;apt;nautilus;ooo-thumbnailer
nautilus-dropbox;apt;nautilus;nautilus-dropbox
nautilus-script-manager;apt;nautilus;nautilus-script-manager
insync-nautilus;apt;nautilus;insync-nautilus
2018-06-10 16:24:08 +00:00
thunar;apt;thunar;thunar
thunar-archive-plugin;apt;thunar;thunar-archive-plugin
thunar-gtkhash;apt;thunar;thunar-gtkhash
thunar-volman;apt;thunar;thunar-volman
2017-12-30 22:08:45 +00:00
gtkam-gimp;apt;gimp;gtkam-gimp
gimp-gluas;apt;gimp;gimp-gluas
pandora;apt;gimp;pandora
gimp-data-extras;apt;gimp;gimp-data-extras
gimp-lensfun;apt;gimp;gimp-lensfun
gimp-gmic;apt;gimp;gimp-gmic
gimp-ufraw;apt;gimp;gimp-ufraw
gimp-texturize;apt;gimp;gimp-texturize
rhythmbox-plugin-alternative-toolbar;apt;rhythmbox;rhythmbox-plugin-alternative-toolbar
rhythmbox-plugin-artdisplay;apt;rhythmbox;rhythmbox-plugin-artdisplay
rhythmbox-plugin-cdrecorder;apt;rhythmbox;rhythmbox-plugin-cdrecorder
rhythmbox-plugin-close-on-hide;apt;rhythmbox;rhythmbox-plugin-close-on-hide
rhythmbox-plugin-countdown-playlist;apt;rhythmbox;rhythmbox-plugin-countdown-playlist
rhythmbox-plugin-desktopart;apt;rhythmbox;rhythmbox-plugin-desktopart
rhythmbox-plugin-equalizer;apt;rhythmbox;rhythmbox-plugin-equalizer
rhythmbox-plugin-fileorganizer;apt;rhythmbox;rhythmbox-plugin-fileorganizer
rhythmbox-plugin-fullscreen;apt;rhythmbox;rhythmbox-plugin-fullscreen
rhythmbox-plugin-hide;apt;rhythmbox;rhythmbox-plugin-hide
rhythmbox-plugin-jumptowindow;apt;rhythmbox;rhythmbox-plugin-jumptowindow
rhythmbox-plugin-llyrics;apt;rhythmbox;rhythmbox-plugin-llyrics
rhythmbox-plugin-looper;apt;rhythmbox;rhythmbox-plugin-looper
rhythmbox-plugin-opencontainingfolder;apt;rhythmbox;rhythmbox-plugin-opencontainingfolder
rhythmbox-plugin-parametriceq;apt;rhythmbox;rhythmbox-plugin-parametriceq
rhythmbox-plugin-playlist-import-export;apt;rhythmbox;rhythmbox-plugin-playlist
rhythmbox-plugin-podcast-pos;apt;rhythmbox;rhythmbox-plugin-podcast-pos
rhythmbox-plugin-randomalbumplayer;apt;rhythmbox;rhythmbox-plugin-randomalbumplayer
rhythmbox-plugin-rating-filters;apt;rhythmbox;rhythmbox-plugin-rating-filters
rhythmbox-plugin-remembertherhythm;apt;rhythmbox;rhythmbox-plugin-remembertherhythm
rhythmbox-plugin-repeat-one-song;apt;rhythmbox;rhythmbox-plugin-repeat-one-song
rhythmbox-plugin-rhythmweb;apt;rhythmbox;rhythmbox-plugin-rhythmweb
rhythmbox-plugin-screensaver;apt;rhythmbox;rhythmbox-plugin-screensaver
rhythmbox-plugin-smallwindow;apt;rhythmbox;rhythmbox-plugin-smallwindow
rhythmbox-plugin-spectrum;apt;rhythmbox;rhythmbox-plugin-spectrum
rhythmbox-plugin-suspend;apt;rhythmbox;rhythmbox-plugin-suspend
rhythmbox-plugin-wikipedia;apt;rhythmbox;rhythmbox-plugin-wikipedia
rhythmbox-plugins;apt;rhythmbox;rhythmbox-plugins
pidgin-skype;apt;pidgin;pidgin-skype
purple-facebook;apt;pidgin;purple-facebook
unbound;apt;unbound;unbound
arc-theme;apt;gtkthemes;arc-theme
numix-gtk-theme;apt;gtkthemes;numix-gtk-theme
2018-11-17 16:53:23 +00:00
plata-theme;apt;gtkthemes;plata-theme
2017-12-30 22:08:45 +00:00
faenza-icon-theme;apt;icons;faenza-icon-theme
numix-icon-theme;apt;icons;numix-icon-theme
numix-icon-theme-circle;apt;icons;numix-icon-theme-circle
solaar;apt;solaar;solaar
pcscd;apt;cardreader;pcscd
pcsc-tools;apt;cardreader;pcsc-tools
guvcview;apt;webcam;guvcview
cheese;apt;webcam;cheese
tlp;apt;tlp;tlp
notepadqq;apt;dev;notepadqq
gpick;apt;dev;gpick
virtualbox-6.1;apt;dev;virtualbox-6.1
2017-12-30 22:08:45 +00:00
build-essential;apt;dev;build-essential
ghex;apt;dev;ghex
glade;apt;dev;glade
eric;apt;dev;eric
bluefish;apt;dev;bluefish
meld;apt;dev;meld
zeal;apt;dev;zeal
shellcheck;apt;dev;shellcheck
umbrello;apt;dev;umbrello
ack-grep;apt;dev;ack-grep
ansible;apt;dev;ansible
docker.io;apt;dev;dockerio
2017-12-30 22:08:45 +00:00
remark-lint;npm;dev;remark-lint
2018-03-19 05:30:12 +00:00
beautysh;pip;dev;beautysh
2017-12-30 22:08:45 +00:00
mycli;pip;dev;mycli
2018-03-30 07:39:12 +00:00
sqlitebrowser;apt;dev;sqlitebrowser
2018-06-10 16:17:24 +00:00
mysql-workbench;apt;dev;mysql-workbench
2018-07-06 08:47:24 +00:00
jq;apt;dev;jq
2019-07-11 09:04:32 +00:00
tig;apt;dev;tig
2020-06-15 13:07:16 +00:00
com.getpostman.Postman;flatpak;dev;postman
2017-12-30 22:08:45 +00:00
javascript-common;apt;javascript;javascript-common
yarn;npm;javascript;yarn
emma-cli;npm;javascript;emma-cli
2017-12-30 22:08:45 +00:00
jshint;npm;javascript;jshint
2018-06-05 11:37:59 +00:00
typescript;npm;javascript;typescript
@angular/cli;npm;javascript;angularcli
2018-06-11 22:12:11 +00:00
ionic;npm;javascript;ionic
cordova;npm;javascript;cordova
2018-06-12 07:45:50 +00:00
eslint;npm;javascript;eslint
2018-07-06 08:53:54 +00:00
web-ext;npm;javascript;web-ext
2019-07-09 21:15:18 +00:00
openjdk-11-jdk;apt;java11;openjdk-11-jdk
2018-06-06 07:33:07 +00:00
php7.2-cli;apt;php;php7.2-cli
2017-12-30 22:08:45 +00:00
php-pear;apt;php;php-pear
composer;apt;php;composer
luajit;apt;lua;luajit
ruby-dev;apt;ruby;ruby-dev
2018-06-10 19:19:48 +00:00
ruby-full;apt;ruby;ruby-full
ruby-rainbow;apt;ruby;ruby-rainbow
2017-12-30 22:08:45 +00:00
anjuta;apt;anjuta;anjuta
anjuta-extras;apt;anjuta;anjuta-extras
brackets;apt;brackets;brackets
codeblocks;apt;codeblocks;codeblocks
codeblocks-contrib;apt;codeblocks;codeblocks-contrib
geany;apt;geany;geany
geany-plugins;apt;geany;geany-plugins
sublime-text;apt;sublime-text;sublime-text
kicad;apt;cad;kicad
kicad-locale-fr;apt;cad;kicad-locale-fr
librecad;apt;cad;librecad
freecad;apt;cad;freecad
2018-02-12 16:01:27 +00:00
code;apt;code;code
2017-12-30 22:08:45 +00:00
atom;apt;atom;atom
sqlparse;pip;atom;sqlparse
flake8;pip;atom;flake8
autopep8;pip;atom;autopep8
htmlbeautifier;gem;atom;htmlbeautifier
nitrogen;apt;nitrogen;nitrogen
libreoffice;apt;office;libreoffice
2019-07-10 20:18:22 +00:00
winehq-stable;apt;wine;winehq-stable
2017-12-30 22:08:45 +00:00
winetricks;apt;wine;winetricks
playonlinux;apt;wine;playonlinux
2018-02-24 21:12:20 +00:00
mongodb-org;apt;mongodb;mongodb
2017-12-30 22:08:45 +00:00
qt4-dev-tools;apt;qt;qt4-dev-tools
qt4-linguist-tools;apt;qt;qt4-linguist-tools
qt5-doc;apt;qt;qt5-doc
qttools5-doc;apt;qt;qttools5-doc
qttools5-dev-tools;apt;qt;qttools5-dev-tools
qttools5-examples;apt;qt;qttools5-examples
2018-01-05 06:14:58 +00:00
qttools5-doc-html;apt;qt;qttools5-doc-html
2018-02-12 17:39:41 +00:00
fbreader;apt;ebook;fbreader
2018-03-19 05:00:40 +00:00
calibre;apt;ebook;calibre
2018-05-03 23:11:49 +00:00
android-studio;apt;androidstudio;androidstudio
2020-06-15 13:07:16 +00:00
com.axosoft.GitKraken;flatpak;gitkraken;gitkraken
2019-07-10 20:50:00 +00:00
xserver-xorg-hwe-18.04;apt;hwe;xserver-xorg-hwe-18.04
xserver-xorg-video-all-hwe-18.04;apt;hwe;xserver-xorg-video-all-hwe-18.04
2019-07-10 20:58:46 +00:00
linux-generic-hwe-18.04;apt;hwe;linux-generic-hwe-18.04"
2017-12-30 22:08:45 +00:00
#-----------------------------------------------------------------------------#
# Specific Repo list and functions #
#-----------------------------------------------------------------------------#
#
# list of specific repositories
# fields : unique ID, function to add repo
#
2018-03-19 04:36:58 +00:00
AppsRepo="kodi-beta;addRepo_KodiBeta
kodi-nightly;addRepo_KodiNightly
libreoffice;addRepo_Libreoffice
mongodb;addRepo_MongoDB_CE
2018-03-19 04:36:58 +00:00
gyazo;addRepo_Gyazo
code;addRepo_VSCode
2018-05-03 23:11:49 +00:00
androidstudio;addRepo_AndroidStudio
2018-03-19 04:36:58 +00:00
ansible;addRepo_Ansible
sublime-text;addRepo_SublimeText
vivaldi-stable;addRepo_Vivaldi
2020-02-28 20:48:48 +00:00
virtualbox-6.1;addRepo_VirtualBox
2018-05-27 13:18:46 +00:00
syncthing;addRepo_Syncthing
2018-06-05 14:17:12 +00:00
syncthinggtk;addRepo_SyncthingGtk
2018-03-19 04:36:58 +00:00
opera-stable;addRepo_Opera
insync;addRepo_Insync
google-chrome-stable;addRepo_ChromeStable
atom;addRepo_Atom
nextcloud-desktop;addRepo_NextCloud
2018-03-19 04:36:58 +00:00
wireshark;addRepo_WireShark
darktable;addRepo_DarkTable
brackets;addRepo_Brackets
2018-03-19 05:21:46 +00:00
kicad;addRepo_Kicad
2019-07-11 09:17:58 +00:00
nodejslts;addRepo_NodeLts
2018-03-19 10:15:47 +00:00
telegram;addRepo_Telegram
2018-03-20 10:13:41 +00:00
skypeforlinux;addRepo_SkypeForLinux
2018-03-30 07:39:12 +00:00
shotwell;addRepo_Shotwell
peek;addRepo_Peek
sqlitebrowser;addRepo_SQLiteBrowser
avidemux2.6-plugins-qt;addRepo_Avidemux2.6
avidemux2.6-qt;addRepo_Avidemux2.6
quiterss;addRepo_Quiterss
transmission-gtk;addRepo_Transmissionbt
handbrake-cli;addRepo_Handbrake
handbrake-gtk;addRepo_Handbrake
notepadqq;addRepo_Notepadqq
flacon;addRepo_Flacon
y-ppa-manager;addRepo_YPPAManager
diodon;addRepo_Diodon
sayonara;addRepo_Sayonara
deluge-torrent;addRepo_Deluge
deluge-gtk;addRepo_Deluge
kodi;addRepo_Kodi
indicator-sound-switcher;addRepo_IndicatorSoundSwitcher
krita;addRepo_Krita
gimp-gmic;addRepo_Gimp
gimp;addRepo_Gimp
vidcutter;addRepo_Vidcutter
2018-05-03 22:20:39 +00:00
oracle-java10-installer;addRepo_Java10
oracle-java10-set-default;addRepo_Java10
green-recorder;addRepo_GreenRecorder
simplescreenrecorder;addRepo_SimpleScreenRecorder
simplescreenrecorder-lib;addRepo_SimpleScreenRecorder
simplescreenrecorder-lib:i386;addRepo_SimpleScreenRecorder
zim;addRepo_Zim
grub-customizer;addRepo_GrubCustomizer
numix-gtk-theme;addRepo_Numix
2018-11-17 16:53:23 +00:00
plata-theme;addRepo_Plata
numix-icon-theme;addRepo_Numix
numix-icon-theme-circle;addRepo_Numix
rhythmbox-plugin-alternative-toolbar;addRepo_Rhythmbox
rhythmbox-plugin-artdisplay;addRepo_Rhythmbox
rhythmbox-plugin-cdrecorder;addRepo_Rhythmbox
rhythmbox-plugin-close-on-hide;addRepo_Rhythmbox
rhythmbox-plugin-countdown-playlist;addRepo_Rhythmbox
rhythmbox-plugin-desktopart;addRepo_Rhythmbox
rhythmbox-plugin-equalizer;addRepo_Rhythmbox
rhythmbox-plugin-fileorganizer;addRepo_Rhythmbox
rhythmbox-plugin-fullscreen;addRepo_Rhythmbox
rhythmbox-plugin-hide;addRepo_Rhythmbox
rhythmbox-plugin-jumptowindow;addRepo_Rhythmbox
rhythmbox-plugin-llyrics;addRepo_Rhythmbox
rhythmbox-plugin-looper;addRepo_Rhythmbox
rhythmbox-plugin-opencontainingfolder;addRepo_Rhythmbox
rhythmbox-plugin-parametriceq;addRepo_Rhythmbox
rhythmbox-plugin-playlist-import-export;addRepo_Rhythmbox
rhythmbox-plugin-podcast-pos;addRepo_Rhythmbox
rhythmbox-plugin-randomalbumplayer;addRepo_Rhythmbox
rhythmbox-plugin-rating-filters;addRepo_Rhythmbox
rhythmbox-plugin-remembertherhythm;addRepo_Rhythmbox
rhythmbox-plugin-repeat-one-song;addRepo_Rhythmbox
rhythmbox-plugin-rhythmweb;addRepo_Rhythmbox
rhythmbox-plugin-screensaver;addRepo_Rhythmbox
rhythmbox-plugin-smallwindow;addRepo_Rhythmbox
rhythmbox-plugin-spectrum;addRepo_Rhythmbox
rhythmbox-plugin-suspend;addRepo_Rhythmbox
rhythmbox-plugin-wikipedia;addRepo_Rhythmbox
rhythmbox-plugins;addRepo_Rhythmbox
rawtherapee;addRepo_DhorMyWay
mkvtoolnix-gui;addRepo_MKVToolnix
purple-facebook;addRepo_Jgeboski
audacious;addRepo_Webupd8
qt5ct;addRepo_Webupd8
screenkey;addRepo_Webupd8
yad;addRepo_Webupd8
2018-06-05 14:25:21 +00:00
woeusb;addRepo_Webupd8
youtube-dlg;addRepo_Webupd8
2018-06-13 06:56:20 +00:00
cpu-g;addRepo_Atareao
2018-07-20 12:39:48 +00:00
iridiumbrowser;addRepo_Iridium
2018-10-27 21:39:44 +00:00
picard;addRepo_Picard
2018-12-28 14:58:24 +00:00
birdtray;addRepo_Linuxuprising
pdfarranger;addRepo_Linuxuprising
2019-02-23 15:46:24 +00:00
kdenlive;addRepo_KDEnlive
2019-04-25 17:16:00 +00:00
megasync;addRepo_MEGA
2019-06-30 16:07:26 +00:00
lutris;addRepo_Lutris
2019-07-10 20:18:22 +00:00
guake;addRepo_LinuxUprising_Guake
2019-07-21 18:08:06 +00:00
winehq-stable;addRepo_WineHQ
flatpak;addRepo_flatpak
balena-etcher-electron;addRepo_Belena
font-manager;addRepo_FontManager
cawbird;addRepo_Cawbird
ubuntu-make;addRepo_UbuntuMake
audacity;addRepo_Audacity"
#
# Audacity
#
function addRepo_Audacity () {
addPPA ppa:ubuntuhandbook1/audacity
}
#
# Ubuntu Make
#
function addRepo_UbuntuMake () {
addPPA ppa:ubuntu-desktop/ubuntu-make
}
#
# Cawbird
#
function addRepo_Cawbird () {
addKey "https://download.opensuse.org/repositories/home:IBBoard:cawbird/xUbuntu_18.04/Release.key"
addRepo cawbird.list \
"deb http://download.opensuse.org/repositories/home:/IBBoard:/cawbird/xUbuntu_18.04/ /"
}
#
# Font Manager
#
function addRepo_FontManager () {
addPPA ppa:font-manager/staging
}
#
# Flatpak
#
function addRepo_flatpak () {
addPPA ppa:alexlarsson/flatpak
}
2019-07-21 18:08:06 +00:00
#
# Belena Etcher
#
function addRepo_Belena () {
addKey "keyserver.ubuntu.com" \
"379CE192D401AB61"
addRepo balena-etcher.list \
"deb https://deb.etcher.io stable etcher"
}
2019-07-10 20:18:22 +00:00
#
# Wine HQ
#
function addRepo_WineHQ () {
addPPA ppa:cybermax-dexter/sdl2-backport
2019-07-10 20:18:22 +00:00
addKey "https://dl.winehq.org/wine-builds/winehq.key"
addRepo winehq.list \
"deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main"
}
2019-04-25 17:16:00 +00:00
#
# Lutris
#
function addRepo_Lutris () {
addPPA ppa:lutris-team/lutris
}
2019-02-23 15:46:24 +00:00
#
# MEGASync
#
function addRepo_MEGA () {
addKey "https://mega.nz/linux/MEGAsync/xUbuntu_18.04/Release.key"
addRepo megasync.list \
"deb https://mega.nz/linux/MEGAsync/xUbuntu_18.04/ ./"
}
#
# KDEnlive
#
function addRepo_KDEnlive () {
addPPA ppa:kdenlive/kdenlive-stable
}
2018-10-27 21:39:44 +00:00
#
# Makoto no blog repo
#
function addRepo_Makoto () {
addKey "https://packagecloud.io/makoto/stable/gpgkey"
addRepo makoto.list \
"deb https://packagecloud.io/makoto/stable/ubuntu/ bionic main"
}
2018-11-17 16:53:23 +00:00
#
# Plata Theme
#
function addRepo_Plata () {
addPPA ppa:tista/plata-theme
}
2018-10-27 21:39:44 +00:00
#
2018-12-28 14:58:24 +00:00
# LinuxUpRising repo (Birdtray (for Thunderbird), PDFArranger)
2018-10-27 21:39:44 +00:00
#
2018-12-28 14:58:24 +00:00
function addRepo_Linuxuprising () {
2018-10-27 21:39:44 +00:00
addPPA ppa:linuxuprising/apps
}
2018-07-20 12:39:48 +00:00
#
# MusicBrainz Picard
#
function addRepo_Picard () {
addPPA ppa:musicbrainz-developers/stable
}
2018-06-13 06:56:20 +00:00
#
# Iridium-Browser
#
function addRepo_Iridium () {
addKey "https://downloads.iridiumbrowser.de/ubuntu/iridium-release-sign-01.pub"
addRepo iridium-browser.list \
"deb [arch=amd64] https://downloads.iridiumbrowser.de/deb/ stable main" \
"deb-src https://downloads.iridiumbrowser.de/deb/ stable main"
}
2018-06-05 14:25:21 +00:00
#
# Atareao ppa
#
function addRepo_Atareao () {
addPPA ppa:atareao/atareao
}
2018-06-05 14:17:12 +00:00
#
# Syncthing-GTK
#
function addRepo_SyncthingGtk () {
addKey "https://download.opensuse.org/repositories/home:kozec/xUbuntu_18.04/Release.key"
addRepo syncthinggtk.list \
"deb http://download.opensuse.org/repositories/home:/kozec/xUbuntu_18.04/ /"
}
#
2019-06-30 16:07:26 +00:00
# Linux Uprising (Guake)
#
function addRepo_LinuxUprising_Guake () {
addPPA ppa:linuxuprising/guake
}
#
# Webupd8 (Audacious, ...)
#
function addRepo_Webupd8 () {
addPPA ppa:nilarimogard/webupd8
}
#
# purple facebook
#
function addRepo_Jgeboski () {
addKey "https://jgeboski.github.io/obs.key"
addRepo jgeboski.list \
2018-05-28 13:47:01 +00:00
"deb http://download.opensuse.org/repositories/home:/jgeboski/xUbuntu_18.04/ ./"
}
#
# MKVToolnix
#
function addRepo_MKVToolnix () {
addKey "https://mkvtoolnix.download/gpg-pub-moritzbunkus.txt"
addRepo mkv.list \
2018-05-26 21:37:49 +00:00
"deb https://mkvtoolnix.download/ubuntu/ bionic main" \
"deb-src https://mkvtoolnix.download/ubuntu/ bionic main"
}
#
# Entangle, Rawtherapee
#
function addRepo_DhorMyWay () {
addPPA ppa:dhor/myway
}
#
# Rhythmbox
#
function addRepo_Rhythmbox () {
addPPA ppa:fossfreedom/rhythmbox-plugins
}
#
# Numix themes/icons
#
function addRepo_Numix () {
addPPA ppa:numix/ppa
}
#
# Grub-Customizer
#
function addRepo_GrubCustomizer () {
addPPA ppa:danielrichter2007/grub-customizer
}
#
# Zim
#
function addRepo_Zim () {
addPPA ppa:jaap.karssenberg/zim
}
#
# Simple-Screen-Recorder
#
function addRepo_SimpleScreenRecorder () {
addPPA ppa:maarten-baert/simplescreenrecorder
}
#
# Green-Recorder
#
function addRepo_GreenRecorder () {
addPPA ppa:fossproject/ppa
}
#
2018-05-03 22:20:39 +00:00
# Oracle JAVA 10
#
2018-05-03 22:20:39 +00:00
function addRepo_Java10 () {
addPPA ppa:linuxuprising/java
}
#
# Vidcutter
#
function addRepo_Vidcutter () {
addPPA ppa:ozmartian/apps
}
#
# Gimp / Gmic
#
function addRepo_Gimp () {
2018-05-28 13:49:20 +00:00
addPPA ppa:otto-kesselgulasch/gimp
}
#
# Krita
#
function addRepo_Krita () {
addPPA ppa:kritalime/ppa
}
#
# indicator-sound-switcher
#
function addRepo_IndicatorSoundSwitcher () {
addPPA ppa:yktooo/ppa
}
#
# Kodi / XBMC
#
function addRepo_Kodi () {
2018-05-28 13:49:20 +00:00
addPPA ppa:team-xbmc/ppa
}
#
# Deluge
#
function addRepo_Deluge () {
2018-05-28 13:49:20 +00:00
addPPA ppa:deluge-team/ppa
}
#
# Sayonara
#
function addRepo_Sayonara () {
addPPA ppa:lucioc/sayonara
}
#
# Diodon
#
function addRepo_Diodon () {
addPPA ppa:diodon-team/stable
}
#
# Y-PPA-Manager
#
function addRepo_YPPAManager () {
addPPA ppa:webupd8team/y-ppa-manager
}
#
# flacon
#
function addRepo_Flacon () {
addPPA ppa:flacon/ppa
}
#
# Notepadqq
#
function addRepo_Notepadqq () {
addPPA ppa:notepadqq-team/notepadqq
}
#
# Handbrake
#
function addRepo_Handbrake () {
addPPA ppa:stebbins/handbrake-releases
}
#
# Transmission-BT
#
function addRepo_Transmissionbt () {
addPPA ppa:transmissionbt/ppa
}
#
# QuiteRSS
#
function addRepo_Quiterss () {
addPPA ppa:quiterss/quiterss
}
#
2018-05-01 23:20:40 +00:00
# Avidemux
#
function addRepo_Avidemux2.6 () {
addPPA ppa:ubuntuhandbook1/avidemux
}
#
2020-05-03 17:00:18 +00:00
# conky-manager, selene, timeshift
#
function addRepo_Teejee2008 () {
2018-04-28 22:30:23 +00:00
addPPA ppa:teejee2008/ppa
}
2018-03-30 07:39:12 +00:00
#
# SQLiteBrowser
#
function addRepo_SQLiteBrowser () {
2018-04-28 22:30:23 +00:00
addPPA ppa:linuxgndu/sqlitebrowser
2018-03-30 07:39:12 +00:00
}
#
# Peek
#
function addRepo_Peek () {
2018-04-28 22:30:23 +00:00
addPPA ppa:peek-developers/stable
2018-03-30 07:39:12 +00:00
}
2018-03-20 10:13:41 +00:00
#
# Shotwell
#
function addRepo_Shotwell () {
2018-04-28 22:30:23 +00:00
addPPA ppa:yg-jensge/shotwell
2018-03-20 10:13:41 +00:00
}
2018-03-19 10:15:47 +00:00
#
# Telegram
#
function addRepo_Telegram () {
2018-04-28 22:30:23 +00:00
addPPA ppa:atareao/telegram
2018-03-19 10:15:47 +00:00
}
2018-03-19 05:21:46 +00:00
2018-03-19 10:03:07 +00:00
#
# Skype for Linux
#
function addRepo_SkypeForLinux () {
addKey "https://repo.skype.com/data/SKYPE-GPG-KEY"
addRepo "skype-stable.list" \
2018-03-19 10:03:07 +00:00
"deb [arch=amd64] https://repo.skype.com/deb stable main"
}
2018-03-19 05:21:46 +00:00
#
2019-07-11 09:17:58 +00:00
# NodeJS LTS
2018-03-19 05:21:46 +00:00
#
2019-07-11 09:17:58 +00:00
function addRepo_NodeLts () {
2018-03-19 05:21:46 +00:00
addKey "https://deb.nodesource.com/gpgkey/nodesource.gpg.key"
addRepo "nodesource.list" \
2020-02-28 20:39:18 +00:00
"deb https://deb.nodesource.com/node_12.x bionic main" \
"deb-src https://deb.nodesource.com/node_12.x bionic main"
2018-03-19 05:21:46 +00:00
}
2018-03-19 04:36:58 +00:00
#
# Kicad 4
#
function addRepo_Kicad () {
2018-04-28 22:30:23 +00:00
addPPA ppa:js-reynaud/kicad-4
2018-03-19 04:36:58 +00:00
}
#
# Brackets IDE
#
function addRepo_Brackets () {
2018-04-28 22:30:23 +00:00
addPPA ppa:webupd8team/brackets
2018-03-19 04:36:58 +00:00
}
#
# Darktable RAW Editor
#
function addRepo_DarkTable () {
2018-04-28 22:30:23 +00:00
addPPA ppa:pmjdebruijn/darktable-release
2018-03-19 04:36:58 +00:00
}
#
# WireShark
#
function addRepo_WireShark () {
2018-05-28 13:49:20 +00:00
addPPA ppa:wireshark-dev/stable
2018-03-19 04:36:58 +00:00
}
#
# NextCloud
#
function addRepo_NextCloud () {
2018-04-28 22:30:23 +00:00
addPPA ppa:nextcloud-devs/client
2018-03-19 04:36:58 +00:00
}
#
# Atom IDE
#
function addRepo_Atom () {
addKey "https://packagecloud.io/AtomEditor/atom/gpgkey"
addRepo atom.list \
"deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main"
2018-03-19 04:36:58 +00:00
}
#
# Google Chrome (stable)
#
function addRepo_ChromeStable () {
addKey "https://dl.google.com/linux/linux_signing_key.pub"
addRepo google-chrome.list \
"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main"
}
#
# Insync
#
function addRepo_Insync () {
addKey "keyserver.ubuntu.com" \
"ACCAF35C"
2018-03-19 04:36:58 +00:00
addRepo insync.list \
"deb http://apt.insync.io/ubuntu bionic non-free contrib"
2018-03-19 04:36:58 +00:00
}
#
# Opera (stable)
#
function addRepo_Opera () {
addKey "http://deb.opera.com/archive.key"
addRepo opera.list \
"deb http://deb.opera.com/opera-stable/ stable non-free"
}
#
# Syncthing
#
function addRepo_Syncthing () {
addKey "https://syncthing.net/release-key.txt"
addRepo syncthing.list \
"deb http://apt.syncthing.net/ syncthing release"
}
#
# VirtualBox
#
function addRepo_VirtualBox () {
addKey "http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc"
addKey "http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc"
addRepo virtualbox.list \
2018-06-10 16:34:02 +00:00
"deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib"
2018-03-19 04:36:58 +00:00
}
#
# Vivaldi
#
function addRepo_Vivaldi () {
addKey "http://repo.vivaldi.com/stable/linux_signing_key.pub"
addRepo vivaldi.list \
"deb http://repo.vivaldi.com/stable/deb/ stable main "
}
#
# SublimeText
#
function addRepo_SublimeText () {
addKey "https://download.sublimetext.com/sublimehq-pub.gpg"
addRepo sublime-text.list \
"deb https://download.sublimetext.com/ apt/dev/"
}
#
# Ansible
#
function addRepo_Ansible () {
2018-04-28 22:30:23 +00:00
addPPA ppa:ansible/ansible
2018-03-19 04:36:58 +00:00
}
2018-02-24 16:42:46 +00:00
2017-12-30 22:08:45 +00:00
#
# Gyazo
#
2018-03-19 04:36:58 +00:00
function addRepo_Gyazo () {
2017-12-30 22:08:45 +00:00
addKey "https://packagecloud.io/gyazo/gyazo-for-linux/gpgkey"
2018-02-24 21:12:20 +00:00
addRepo "gyazo_gyazo-for-linux.list" \
2018-05-26 21:37:49 +00:00
"deb https://packagecloud.io/gyazo/gyazo-for-linux/ubuntu/ bionic main" \
"deb-src https://packagecloud.io/gyazo/gyazo-for-linux/ubuntu/ bionic main"
2017-12-30 22:08:45 +00:00
}
#
# MongoDB 4 CE
2017-12-30 22:08:45 +00:00
#
function addRepo_MongoDB_CE () {
2020-03-18 17:01:12 +00:00
addKey "https://www.mongodb.org/static/pgp/server-4.2.asc"
addRepo "mongodb-org-4.2.list" \
"deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse"
2017-12-30 22:08:45 +00:00
}
#
# LibreOffice
2017-12-30 22:08:45 +00:00
#
function addRepo_Libreoffice () {
2018-04-28 22:30:23 +00:00
addPPA ppa:libreoffice/ppa
2017-12-30 22:08:45 +00:00
}
#
2018-03-19 04:36:58 +00:00
# Kodi (Beta)
2017-12-30 22:08:45 +00:00
#
2018-03-19 04:36:58 +00:00
function addRepo_KodiBeta () {
2018-04-28 22:30:23 +00:00
addPPA ppa:team-xbmc/unstable
2017-12-30 22:08:45 +00:00
}
#
2018-03-19 04:36:58 +00:00
# Kodi (Nightly)
2017-12-30 22:08:45 +00:00
#
2018-03-19 04:36:58 +00:00
function addRepo_KodiNightly () {
2018-04-28 22:30:23 +00:00
addPPA ppa:team-xbmc/xbmc-nightly
2017-12-30 22:08:45 +00:00
}
2018-02-12 16:01:27 +00:00
#
2018-03-19 04:36:58 +00:00
# Visual Studio Code
2018-02-12 16:01:27 +00:00
#
2018-03-19 04:36:58 +00:00
function addRepo_VSCode () {
2018-02-12 16:01:27 +00:00
addKey "https://packages.microsoft.com/keys/microsoft.asc"
addRepo "vscode.list" \
"deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
}
#
2018-03-19 04:36:58 +00:00
# Android-Studio
#
2018-03-19 04:36:58 +00:00
function addRepo_AndroidStudio () {
2018-04-28 22:30:23 +00:00
addPPA ppa:maarten-fonville/android-studio
2018-02-12 17:39:41 +00:00
}
#-----------------------------------------------------------------------------#
# Package pre install functions list #
#-----------------------------------------------------------------------------#
#
# list of pre install functions
2018-06-05 11:39:08 +00:00
# fields : unique ID, function to process before install
#
AppsPreTrtFct="opera-stable;opera_PreTrtFct
steam;steam_PreTrtFct
2019-07-09 21:15:18 +00:00
wireshark;wireshark_PreTrtFct"
#
# Opera
#
function opera_PreTrtFct () {
runCmd "echo opera-stable opera-stable/add-deb-source boolean false | sudo debconf-set-selections" \
"setting as do not add repo"
}
#
# Steam
#
function steam_PreTrtFct () {
runCmd "echo \"steam steam/purge note\" | sudo debconf-set-selections" \
"accepting steam licence"
runCmd "echo \"steam steam/license note\" | sudo debconf-set-selections" \
"accepting steam licence 2/3"
runCmd "echo \"steam steam/question select I AGREE\" | sudo debconf-set-selections" \
"accepting steam licence 3/3"
}
#
# Wireshark
#
function wireshark_PreTrtFct () {
runCmd "echo wireshark-common wireshark-common/install-setuid boolean true | sudo debconf-set-selections" \
"setting Wireshark as root only"
}
2017-12-30 22:08:45 +00:00
#-----------------------------------------------------------------------------#
# Package post install functions list #
#-----------------------------------------------------------------------------#
#
# list of post install functions
# fields : unique ID, function to process after install
#
AppsPostTrtFct="nitrogen;nitrogen_PostTrtFct
mongodb;mongodb_PostTrtFct
qttools5-dev-tools;qt_PostTrtFct
plank;plank_PostTrtFct
androidstudio;android_PostTrtFct
nodejslts;nodejslts_PostTrtFct
angularcli;angularcli_PostTrtFct
dockerio;dockerio_PostTrtFct
megasync;megasync_PostTrtFct
nextcloud-desktop;nextcloud_PostTrtFct
flatpak;flatpak_PostTrtFct
gcc8;gcc8_PostTrtFct
2020-02-23 16:26:12 +00:00
ruby-dev;ruby-dev_PostTrtFct
virtualbox-6.1;virtualbox-6.1_PostTrtFct
gufw;gufw_PostTrtFct
numlockx;numlockx_PostTrtFct
screenfetch;screenfetch_PostTrtFct"
#
# screenfetch in .bashrc
#
function screenfetch_PostTrtFct () {
runCmd "touch /home/$myHomedir/.bashrc" \
"creating .bashrc file if necessary"
runCmd "echo 'screenfetch -t' | tee -a /home/$myHomedir/.bashrc" \
"adding screenfetch to .bashrc"
}
#
# numlockx
#
function numlockx_PostTrtFct () {
if which lightdm >/dev/null; then
runCmd "sudo touch /etc/lightdm/lightdm.conf.d/70-linuxmint.conf" \
"creating lightdm config file if necessary"
runCmd "sudo cp /etc/lightdm/lightdm.conf.d/70-linuxmint.conf /etc/lightdm/lightdm.conf.d/70-linuxmint.conf.yggbak" \
"backing up lightdm original config file"
runCmd "echo -e '\ngreeter-setup-script=/usr/bin/numlockx on' | sudo tee -a /etc/lightdm/lightdm.conf.d/70-linuxmint.conf" \
"enabling numlockx on in lightdm at boot"
fi
}
#
# ufw enablement + add rules
#
function gufw_PostTrtFct () {
runCmd "sudo ufw enable"\
"enabling UFW at boot"
if which syncthing >/dev/null; then
runCmd "sudo ufw allow syncthing" \
"adding UFW rules for Syncthing"
fi
}
2020-02-23 16:26:12 +00:00
#
# virtualbox-6.1
#
function virtualbox-6.1_PostTrtFct () {
cUser=$(whoami)
runCmd "sudo adduser $cUser vboxusers" \
"adding user to vboxusers group"
}
#
# NPM Update
#
function nodejslts_PostTrtFct () {
printf "[NPM] set prefix in ~/.local "
printf "\n[NPM] set prefix in ~/.local\n" &>> $logFile
npm config set prefix /home/$myHomedir/.local &>> $logFile
ret_code=$?
retCode $ret_code
if [ `grep 'PATH=~/.local/bin/:$PATH' ~/.bashrc | wc -l` -gt 0 ]; then
printf "[NPM] add ~/.local/bin to PATH ... already added [ "$BOLDVERT"OK"$NORMAL" ]\n"
else
printf "[NPM] add ~/.local/bin to PATH "
printf "\n[NPM] add ~/.local/bin to PATH\n" &>> $logFile
echo 'PATH=~/.local/bin/:$PATH' | tee -a ~/.bashrc &>> $logFile
ret_code=$?
retCode $ret_code
fi
printf "[NPM] update npm "
printf "\n[NPM] update npm\n" &>> $logFile
npm i -g npm &>> $logFile
ret_code=$?
retCode $ret_code
}
#
# GEM / Ruby Dev
#
function ruby-dev_PostTrtFct () {
printf "[GEM] update --system "
printf "\n[GEM] update --system\n" &>> $logFile
sudo gem update --system &>> $logFile
ret_code=$?
retCode $ret_code
}
#
# GCC 8
#
function gcc8_PostTrtFct () {
runCmd "sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7 --slave /usr/bin/gcov gcov /usr/bin/gcov-7" \
"adding GCC-7 as alternative"
runCmd "sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 --slave /usr/bin/g++ g++ /usr/bin/g++-8 --slave /usr/bin/gcov gcov /usr/bin/gcov-8" \
"adding GCC-8 as alternative by default"
}
#
# Flatpak
#
function flatpak_PostTrtFct () {
if which flatpak >/dev/null; then
printf "[FLATPAK] Adding Flathub repository "
printf "\n[FLATPAK] Adding Flathub repository\n" &>> $logFile
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo &>> $logFile
ret_code=$?
retCode $ret_code
fi
}
#
# MEGASync
#
function megasync_PostTrtFct () {
if which thunar >/dev/null; then
installPackage apt thunar-megasync
fi
if which nautilus >/dev/null; then
installPackage apt nautilus-megasync
fi
}
#
# Nextcloud
#
function nextcloud_PostTrtFct () {
if which nautilus >/dev/null; then
installPackage apt nextcloud-client-nautilus
fi
if which caja >/dev/null; then
installPackage apt nextcloud-client-caja
fi
}
#
# Docker
#
function dockerio_PostTrtFct () {
runCmd "sudo systemctl start docker" \
"start docker service"
runCmd "sudo systemctl enable docker" \
"add docker service at boot"
runCmd "sudo groupadd docker" \
"add docker group"
cUser=$(whoami)
runCmd "sudo usermod -aG docker $cUser" \
"add current user to docker group"
}
2018-06-05 11:37:59 +00:00
#
# Angular CLI
#
function angularcli_PostTrtFct () {
if which yarn >/dev/null; then
runCmd "ng config -g cli.packageManager yarn" \
2020-05-22 22:48:03 +00:00
"using yarn instead of npm for angular/cli"
2018-06-05 11:37:59 +00:00
fi
}
#
# Android Env for adb, fastboot, ....
#
function android_PostTrtFct () {
2018-06-05 06:52:09 +00:00
printf "[CMD] Adding Android devices UDEV rules "
2018-06-05 07:00:21 +00:00
cat << EOF | sudo tee /etc/udev/rules.d/99-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666", OWNER="$myHomedir" # Acer
SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0666", OWNER="$myHomedir" # Asus
SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0666", OWNER="$myHomedir" # Dell
SUBSYSTEM=="usb", ATTR{idVendor}=="0489", MODE="0666", OWNER="$myHomedir" # Foxconn
SUBSYSTEM=="usb", ATTR{idVendor}=="04c5", MODE="0666", OWNER="$myHomedir" # Fujitsu
SUBSYSTEM=="usb", ATTR{idVendor}=="04c5", MODE="0666", OWNER="$myHomedir" # Fujitsu-Toshiba
SUBSYSTEM=="usb", ATTR{idVendor}=="091e", MODE="0666", OWNER="$myHomedir" # Garmin-Asus
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", OWNER="$myHomedir" # Google-Nexus
SUBSYSTEM=="usb", ATTR{idVendor}=="201E", MODE="0666", OWNER="$myHomedir" # Haier
SUBSYSTEM=="usb", ATTR{idVendor}=="109b", MODE="0666", OWNER="$myHomedir" # Hisense
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", OWNER="$myHomedir" # HTC
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666", OWNER="$myHomedir" # Huawei
SUBSYSTEM=="usb", ATTR{idVendor}=="8087", MODE="0666", OWNER="$myHomedir" # Intel
SUBSYSTEM=="usb", ATTR{idVendor}=="24e3", MODE="0666", OWNER="$myHomedir" # K-Touch
SUBSYSTEM=="usb", ATTR{idVendor}=="2116", MODE="0666", OWNER="$myHomedir" # KT Tech
SUBSYSTEM=="usb", ATTR{idVendor}=="0482", MODE="0666", OWNER="$myHomedir" # Kyocera
SUBSYSTEM=="usb", ATTR{idVendor}=="17ef", MODE="0666", OWNER="$myHomedir" # Lenovo
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", OWNER="$myHomedir" # LG
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", OWNER="$myHomedir" # Motorola
SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", MODE="0666", OWNER="$myHomedir" # MTK
SUBSYSTEM=="usb", ATTR{idVendor}=="0409", MODE="0666", OWNER="$myHomedir" # NEC
SUBSYSTEM=="usb", ATTR{idVendor}=="2080", MODE="0666", OWNER="$myHomedir" # Nook
SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0666", OWNER="$myHomedir" # Nvidia
SUBSYSTEM=="usb", ATTR{idVendor}=="2257", MODE="0666", OWNER="$myHomedir" # OTGV
SUBSYSTEM=="usb", ATTR{idVendor}=="10a9", MODE="0666", OWNER="$myHomedir" # Pantech
SUBSYSTEM=="usb", ATTR{idVendor}=="1d4d", MODE="0666", OWNER="$myHomedir" # Pegatron
SUBSYSTEM=="usb", ATTR{idVendor}=="0471", MODE="0666", OWNER="$myHomedir" # Philips
SUBSYSTEM=="usb", ATTR{idVendor}=="04da", MODE="0666", OWNER="$myHomedir" # PMC-Sierra
SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", MODE="0666", OWNER="$myHomedir" # Qualcomm
SUBSYSTEM=="usb", ATTR{idVendor}=="1f53", MODE="0666", OWNER="$myHomedir" # SK Telesys
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", OWNER="$myHomedir" # Samsung
SUBSYSTEM=="usb", ATTR{idVendor}=="04dd", MODE="0666", OWNER="$myHomedir" # Sharp
SUBSYSTEM=="usb", ATTR{idVendor}=="054c", MODE="0666", OWNER="$myHomedir" # Sony
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666", OWNER="$myHomedir" # Sony Ericsson
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666", OWNER="$myHomedir" # Sony Mobile Communications
SUBSYSTEM=="usb", ATTR{idVendor}=="2340", MODE="0666", OWNER="$myHomedir" # Teleepoch
SUBSYSTEM=="usb", ATTR{idVendor}=="0930", MODE="0666", OWNER="$myHomedir" # Toshiba
SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", MODE="0666", OWNER="$myHomedir" # ZTE
EOF
2018-06-05 06:52:09 +00:00
ret_code=$?
retCode $ret_code
runCmd "sudo service udev restart" \
"restarting UDEV service"
}
#
# Plank themes
2018-07-09 06:59:29 +00:00
#
function plank_PostTrtFct () {
typeset ret_code
if ! (( $(ps -ef | grep -v grep | grep plank | wc -l) > 0 )); then
plank 2&>1 >/dev/null &
sleep 10
fi
yes | sh -c "cd ~ \
&& mkdir -p ~/.temp-plank-themer \
&& cd ~/.temp-plank-themer \
&& wget https://github.com/rhoconlinux/plank-themer/archive/master.zip \
&& unzip master.zip \
&& cd plank-themer-master/ \
&& rm -fR ~/.config/plank/dock1/theme_index; \
rm -fR ~/.config/plank/dock1/themes-repo; \
2018-05-30 07:09:12 +00:00
mkdir -p ~/.config/plank/dock1; \
cp -a theme_index/ ~/.config/plank/dock1 \
&& cp -a themes-repo/ ~/.config/plank/dock1 \
&& cd ~ \
&& rm -R ~/.temp-plank-themer \
&& sh ~/.config/plank/dock1/theme_index/plank-on-dock-themer.sh" &>> $logFile
ret_code=$?
retCode $ret_code
}
2017-12-30 22:08:45 +00:00
#
# QT5 Dev Tools
#
function qt_PostTrtFct () {
2018-03-20 03:20:15 +00:00
runCmd "sudo ln -s /usr/share/qtchooser/qt5-x86_64-linux-gnu.conf /usr/lib/x86_64-linux-gnu/qtchooser/default.conf" \
"set QT5 as default"
2017-12-30 22:08:45 +00:00
}
#
# MongoDB CE
2017-12-30 22:08:45 +00:00
#
function mongodb_PostTrtFct () {
2018-05-04 14:29:41 +00:00
runCmd "sudo systemctl enable mongod.service" \
"enabling mongod service at boot"
runCmd "sudo systemctl start mongod.service" \
"starting mongod service"
2017-12-30 22:08:45 +00:00
}
#
# nitrogen post install function
#
function nitrogen_PostTrtFct () {
2017-12-30 22:08:45 +00:00
if isMate; then
2018-03-20 03:20:15 +00:00
runCmd "gsettings set org.mate.background draw-background false" \
"disabling Caja background management"
runCmd "gsettings set org.mate.background show-desktop-icons false" \
"disabling Caja desktop icons management"
2017-12-30 22:08:45 +00:00
createAppShortcut "bash -c \"sleep 10; nitrogen --restore\"" \
"/usr/share/icons/hicolor/48x48/apps/nitrogen.png" \
"Utility;GTK" \
"Nitrogen" \
"local" \
"start"
update-menus
elif isCinnamon; then
runCmd "gsettings set org.nemo.desktop draw-background false" \
"disabling Caja background management"
runCmd "gsettings set org.nemo.desktop show-desktop-icons false" \
"disabling Caja desktop icons management"
2017-12-30 22:08:45 +00:00
createAppShortcut "bash -c \"sleep 10; nitrogen --restore\"" \
2018-05-17 11:15:48 +00:00
"/usr/share/icons/hicolor/48x48/apps/nitrogen.png" \
"Utility;GTK" \
2017-12-30 22:08:45 +00:00
"Nitrogen" \
"local" \
"start"
update-menus
else
printf "[ERR] only Mate/Cinnamon Desktop is currently supported\n"
2017-12-30 22:08:45 +00:00
fi
2018-03-19 04:04:29 +00:00
}