This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Debian bookworm setup | |
## 4th version of my Debian install on my Lenovo T470p | |
## This time I kept it "light" it includes the tools I used the most. | |
## Note that much software was already installed with the way I did the | |
## installation (e.g. sudo, ssh, git, python, inkscape, libreoffice, etc.) | |
# configure sudo | |
su | |
echo "kc ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/username | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installer R et tout ce qu'il faut pour se connecter aux bases de données | |
# d'Omnimed | |
# -- Pre-requis: avoir roulé les omnikools | |
# Miscrosoft ODBC (pour pouvoir interroger des bases de données clients avec R) | |
# https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15#17 | |
wget -qO - https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
sudo wget -qO - https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list | sudo tee -a /etc/apt/sources.list.d/mssql-release.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# NB: this is based on my previous gist installDebian.sh | |
# *Pre-requisite*: | |
## 1: enter super user (su) mode | |
su | |
## 2: add kevcaz (my username) to sudo | |
## note NOPASSWD:ALL means no password required when kevcaz uses sudo | |
## remove 'NOPASSWD:' if you want the password to be required | |
echo "kevcaz ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/username |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/bin/bash | |
##-- Installing Homebrew | |
## use xcode-select -p to check whether Xcode is installed | |
xcode-select --install | |
sudo xcodebuild -license | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
##-- Tapping | |
brew tap osgeo/osgeo4mac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# I ran the lines below in super user mode (*i.e.* using su; as you can see I install sudo below) | |
# libappindicator1 was required to use google-chrome | |
# **Few notes regarding R packages**: I first used the debian package (i.e. r-cran-XXXX) but with 3.4.1 | |
# and higher there was an issue with r-api-x that leads me to install packages from R (this may be changed). | |
# Dependencies are required: | |
# - libfreetype6-dev for showtext | |
# - libpoppler-cpp-dev for pdftools | |
# - libudunits2-dev for some leaflet dependencies | |
# - libssl-dev for devtools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# NB: | |
# - libappindicator1 was required to use google-chrome | |
# - apt-transport-https curl for Brave | |
# Dependencies for R packages: | |
# - libfreetype6-dev for showtext | |
# - libpoppler-cpp-dev for pdftools | |
# - libudunits2-dev for some leaflet dependencies | |
# - libssl-dev for devtools | |
# - libquantlib0-dev for rquantlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Packages installed via apt-get packages | |
# apt-get install r-cran-v8 | |
# apt-get install "r-cran-rcpp.*" r-cran-reticulate r-cran-rjava r-cran-devtools r-cran-doparallel r-cran-sf r-cran-lwgeom r-cran-lme4 r-cran-ade4 r-cran-ape r-cran-vegan r-cran-igraph r-cran-rgl r-cran-webshot r-cran-cli r-cran-pillar r-cran-taxize r-cran-repr r-cran-reprex r-cran-biocmanager | |
# r-cran-plotly r-cran-cairodevice | |
# CRAN packages - complement the list of packages installed via apt-get | |
install.packages( | |
c( | |
"bipartite", | |
"blogdown", | |
"bookdown", |