-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tested dependencies and scripts for ubuntu18.04
- Loading branch information
1 parent
c684a89
commit d3c304e
Showing
229 changed files
with
3,445 additions
and
2,605 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
|
||
|
||
``` | ||
$HOME/phd/thesis/0_code_data/0_data$ tree -s | ||
. | ||
├── [ 4096] 0_raw-timeseries | ||
│ ├── [ 4096] hii | ||
│ │ ├── [ 28185223] hii-HS01-TidiedInterpolatedRawData.dt | ||
│ │ ├── [ 31486666] hii-HS02-TidiedInterpolatedRawData.dt | ||
│ │ ├── [ 28817382] hii-HS03-TidiedInterpolatedRawData.dt | ||
│ │ └── [ 33532170] hii-HS04-TidiedInterpolatedRawData.dt | ||
│ └── [ 4096] hri | ||
│ └── [ 39876955] hri-TidiedInterpolatedRawData.dt | ||
└── [ 4096] 1_datasets | ||
├── [ 4096] hii | ||
│ ├── [ 4096] 3Drqa | ||
│ │ ├── [ 562935] RQAs_p01w100_H_HS01_HNnb.dt | ||
│ │ ├── [ 609120] RQAs_p01w250_H_HS01_HNnb.dt | ||
│ │ ├── [ 614775] RQAs_p01w500_H.dt | ||
│ │ ├── [ 2453610] RQAs_p01w500_H_HS01.dt | ||
│ │ ├── [ 614775] RQAs_p01w500_H_HS01_HNnb.dt | ||
│ │ ├── [ 2453275] RQAs_p01w500_H_HS02.dt | ||
│ │ ├── [ 614775] RQAs_p01w500_HS01_HNnb.dt | ||
│ │ ├── [ 614775] RQAs_p01w500_HS01_HNnb_sg0.dt | ||
│ │ ├── [ 615248] RQAs_p01w500_HS01_HNnb_sg1.dt | ||
│ │ ├── [ 582483] RQAs_p01w500_HS01_HNnb_sg2.dt | ||
│ │ ├── [ 2454576] RQAs_p01w500_V_HS01.dt | ||
│ │ ├── [ 2450780] RQAs_p01w500_V_HS02.dt | ||
│ │ ├── [ 620034] RQAs_p01w750_H_HS01_HNnb.dt | ||
│ │ ├── [ 620181] RQAs_p04w500_HS01_HNnb.dt | ||
│ │ ├── [ 619994] RQAs_p05w500_HS01_HNnb.dt | ||
│ │ └── [ 616640] RQAs_p10w500_HS01_HNnb.dt | ||
│ ├── [ 4096] dataset | ||
│ │ └── [ 24798863] xdata.dt | ||
│ ├── [ 4096] rqa | ||
│ │ └── [ 111776] rqa_w10.dt | ||
│ └── [ 4096] utde | ||
│ ├── [ 5376] aMED-H-w10.dt | ||
│ ├── [ 5376] aMED-V-w10.dt | ||
│ ├── [ 3642508] AMI-w10.dt | ||
│ ├── [ 3874152] EE-w10.dt | ||
│ ├── [ 225275] MED-w10.dt | ||
│ └── [ 24336] MTD-w10.dt | ||
└── [ 4096] hri | ||
├── [ 4096] 3Drqa | ||
│ ├── [ 563401] RQAs_p01w100_HS01_HN_w100.dt | ||
│ ├── [ 612207] RQAs_p01w250_HS01_HN_w250.dt | ||
│ ├── [ 615278] RQAs_p01w500_H.dt | ||
│ ├── [ 1225100] RQAs_p01w500_HS01_HNHF.dt | ||
│ ├── [ 615278] RQAs_p01w500_HS01_HN_w500.dt | ||
│ ├── [ 615278] RQAs_p01w500_HS01_HN_w500_sg0.dt | ||
│ ├── [ 612301] RQAs_p01w500_HS01_HN_w500_sg1.dt | ||
│ ├── [ 566502] RQAs_p01w500_HS01_HN_w500_sg2.dt | ||
│ ├── [ 1228884] RQAs_p01w500_HS01_VNVF.dt | ||
│ ├── [ 2297987] RQAs_p01w500_HV.dt | ||
│ ├── [ 1228740] RQAs_p01w500_RS01_HNHF.dt | ||
│ ├── [ 1217725] RQAs_p01w500_RS01_VNVF.dt | ||
│ ├── [ 619826] RQAs_p01w750_HS01_HN_w750.dt | ||
│ ├── [ 553538] RQAs_p02w500_H.dt | ||
│ ├── [ 615577] RQAs_p03w500_H.dt | ||
│ └── [ 615862] RQAs_p04w500_H.dt | ||
├── [ 4096] dataset | ||
│ └── [ 45532251] xdata.dt | ||
├── [ 4096] rqa | ||
│ └── [ 179635] rqa_w10.dt | ||
└── [ 4096] utde | ||
├── [ 8448] aMED-H-w10.dt | ||
├── [ 8448] aMED-V-w10.dt | ||
├── [ 5119480] AMI-w10.dt | ||
├── [ 6283402] EE-w10.dt | ||
├── [ 356219] MED-w10.dt | ||
└── [ 33856] MTD-w10.dt | ||
14 directories, 53 files | ||
``` |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,98 @@ | ||
#!/bin/bash | ||
|
||
##USAGE: | ||
#chmod +x file | ||
#./file | ||
# references | ||
## MAIN REFERENCE: https://cloud.r-project.org/bin/linux/ubuntu/README.html | ||
## https://gist.github.com/ElToro1966/999f1c8ca51a75648dd587a3170e4335 | ||
|
||
# key | ||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 | ||
|
||
|
||
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys E084DAB9 | ||
##or | ||
#gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9 | ||
#gpg -a --export E084DAB9 | sudo apt-key add - | ||
|
||
|
||
|
||
#SELECT UBUNTU VERSION | ||
|
||
# Basic format of next line deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu <enter your ubuntu version>/ | ||
#sudo add-apt-repository 'deb https://cran.ma.imperial.ac.uk/bin/linux/ubuntu precise/' | ||
|
||
## Ubuntu 12.04: precise | ||
#sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu precise/' | ||
|
||
## Ubuntu 14.04: trusty | ||
sudo add-apt-repository 'deb-src https://cloud.r-project.org/bin/linux/ubuntu trusty/' | ||
|
||
### Ubuntu 16.04: xenial | ||
#sudo add-apt-repository 'deb-src https://cloud.r-project.org/bin/linux/ubuntu xenial' | ||
|
||
|
||
## Ubuntu 18.04: bionic | ||
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/' | ||
|
||
sudo apt-get update | ||
|
||
|
||
## DEPENDENCIES | ||
sudo apt-get update | ||
sudo apt-get --yes install gfortran | ||
sudo apt-get --yes install libblas-dev libatlas-base-dev liblapack-dev libatlas-base-dev libncurses5-dev | ||
sudo apt-get --yes install cdbs | ||
sudo apt-get --yes install r-base r-base-dev | ||
sudo apt-get --yes install libblas-dev libatlas-base-dev liblapack-dev libatlas-base-dev libncurses5-dev libopenblas-dev | ||
sudo apt-get --yes install cdbs gdebi | ||
|
||
|
||
sudo apt-get --yes install xorg #X11 | ||
sudo apt-get --yes install libx11-dev #X11 | ||
sudo apt-get --yes install libglu1-mesa-dev #X11 | ||
#ref https://stackoverflow.com/questions/31820865/installing-rgl-on-ubuntu-and-mac-x11-not-found | ||
|
||
sudo apt-get --yes install libfreetype6 libfreetype6-dev # 'freetype2' | ||
#ref https://github.com/jwilm/alacritty/issues/1623 | ||
|
||
|
||
## devtools dependencies | ||
sudo apt-get --yes install libssl-dev libcurl4-openssl-dev | ||
sudo apt-get --yes install libxml2-dev # for xml2 calling load_all() | ||
sudo apt-get --yes install r-cran-rgl # rgl for nonlinearTseries | ||
|
||
## r-base r-base-dev | ||
sudo apt-get --yes install r-base r-base-dev | ||
|
||
|
||
|
||
|
||
|
||
|
||
######################################## | ||
######################################## | ||
## For the following versions of Ubuntu | ||
## 12.04, 14.04, 16.04 | ||
# | ||
##!/bin/bash | ||
# | ||
###USAGE: | ||
##chmod +x file | ||
##./file | ||
# | ||
# | ||
# | ||
#sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys E084DAB9 | ||
###or | ||
##gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9 | ||
##gpg -a --export E084DAB9 | sudo apt-key add - | ||
# | ||
# | ||
# | ||
##SELECT UBUNTU VERSION | ||
# | ||
## Basic format of next line deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu <enter your ubuntu version>/ | ||
##sudo add-apt-repository 'deb https://cran.ma.imperial.ac.uk/bin/linux/ubuntu precise/' | ||
# | ||
### Ubuntu 12.04: precise | ||
##sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu precise/' | ||
# | ||
### Ubuntu 14.04: trusty | ||
#sudo add-apt-repository 'deb-src https://cloud.r-project.org/bin/linux/ubuntu trusty/' | ||
# | ||
#### Ubuntu 16.04: xenial | ||
##sudo add-apt-repository 'deb-src https://cloud.r-project.org/bin/linux/ubuntu xenial' | ||
# | ||
# | ||
# | ||
#sudo apt-get update | ||
# | ||
# | ||
### DEPENDENCIES | ||
#sudo apt-get update | ||
#sudo apt-get --yes install gfortran | ||
#sudo apt-get --yes install libblas-dev libatlas-base-dev liblapack-dev libatlas-base-dev libncurses5-dev | ||
#sudo apt-get --yes install cdbs | ||
#sudo apt-get --yes install r-base r-base-dev | ||
# | ||
# | ||
### devtools dependencies | ||
#sudo apt-get --yes install libssl-dev libcurl4-openssl-dev | ||
#sudo apt-get --yes install libxml2-dev # for xml2 calling load_all() | ||
#sudo apt-get --yes install r-cran-rgl # rgl for nonlinearTseries | ||
# | ||
# |
24 changes: 12 additions & 12 deletions
24
0_code_data/1_code/1_dependencies/B_install-basic-packages.R
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
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
Oops, something went wrong.