Installing DESeq2 in Ubuntu
First I installed this libraries:

sudo apt-get install libcurl4-openssl-dev libxml2-dev


I then installed RCurl: 

BiocManager::install("RCurl")


and lastly:

BiocManager::install("DESeq2", version = "3.8")