Linux install tools

Add

Install Packages From An Ubuntu PPA On Debian Linux Adding missing PPA keys to an apt keyring

Upgrade packages if “The following packages have been kept back:”

sudo apt-get --with-new-pkgs upgrade

Or

sudo apt-get dist-upgrade

Uninstall packages

dpkg --get-selections | grep ruby
sudo apt-get purge “package-name”

Tools

sudo apt-get install krusader gedit
sudo apt-get install gimp inkscape scribus

sudo apt-get install keepass2 filezilla

Libraries

sudo apt-get install ncftp

Chrome

udo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome*.deb

R

sudo apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'

sudo gedit /etc/apt/sources.list
# deb https://cloud.r-project.org/bin/linux/debian stretch-cran35/

## tahle verze se zdá lepší
# nebo
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/'

sudo apt-get update
sudo apt-get install r-base r-base-dev

OneDrive

sudo apt install libcurl4-openssl-dev git
sudo apt install libsqlite3-dev

snap install --classic dmd && sudo snap install --classic dub

git clone https://github.com/abraunegg/onedrive.git
cd onedrive
make
sudo make install

onedrive

onedrive --sychronize
# set up at startup
onedrive --monitor

# configuration
# could not get it to work
mkdir -p ~/.config/onedrive
cp ~/onedrive/config ~/ .config/onedrive/config
onedrive --display-config

PostreSQL

# Postgresql
sudo nano /etc/apt/sources.list
# add  deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main

wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

sudo apt-get update

sudo apt-get install postgresql-10 libpq-dev postgresql-server-dev-10 pgadmin4

Python2

sudo apt-get install python python-pip
pip install jinja2

Wine

sudo dpkg --add-architecture i386 

wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'

sudo apt install --install-recommends winehq-stable

Docker

sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io