You probably need a binary package, and I recently explained how to do this:
- - ( , , Docker Ubuntu 16.04, Docker, root; sudo )
apt-get update
apt-get install software-properties-common
add-apt-repository -y "ppa:marutter/rrutter"
add-apt-repository -y "ppa:marutter/c2d4u"
apt-get update
apt-get install r-cran-igraph
. , Ubuntu. , , , , Ubuntu 16.04; add-apt-repository.