I'm on Ubuntu 22.04 and I was able to install R-devel with a couple of hiccups. I'm not sure they best way to amend the current instructions, but here is my experience:
some of the sources were moved to their own files in /etc/apt/sources.list.d/
I needed to run sudo apt update to get deb-src to work
Zombie Conda errors
After I was able to get the deb-src to work and pulled down the changes from svn, I compiled R inside the svn repo and I was getting make errors that said:
"$HOME/anaconda3/include/zlib.h" not found
I removed anaconda six months ago, but apparently there are still a few zombies wandering around.
I found the location of the offending config by searching for "anaconda" with ripgrep (I found it in src/main/dounzip.d) and then I found what zlib I actually had by using:
locate -r '\zconf.h$'
and then manually replaced the lines in src/main/dounzip.d.
I'm on Ubuntu 22.04 and I was able to install R-devel with a couple of hiccups. I'm not sure they best way to amend the current instructions, but here is my experience:
deb-src errors
I used
sudo vim /etc/apt/sources.list
and then used the command:g/^deb /t.|s/deb/deb-src/
to duplicate all thedeb
lines and copy thedeb-src
line.This did not work until I realized three things:
/etc/apt/sources.list.d/
sudo apt update
to getdeb-src
to workZombie Conda errors
After I was able to get the deb-src to work and pulled down the changes from svn, I compiled R inside the svn repo and I was getting make errors that said:
I removed anaconda six months ago, but apparently there are still a few zombies wandering around.
I found the location of the offending config by searching for "anaconda" with ripgrep (I found it in
src/main/dounzip.d
) and then I found what zlib I actually had by using:and then manually replaced the lines in
src/main/dounzip.d
.