Using apt-get inside Collab


#1

Is it possible to install packages using apt-get install within a Collab notebook?

Specifically, I need to use the subversion command svn export ... in my notebook. Locally I install the required package via:
apt-get install subversion
But on the Collab I am not able to do this as I get:

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

I guess the above would require me to have superuser privileges. Is there a workaround?


#2

Any update on this? Need yet another package that is available via apt-get and not via pip. Is there any workaround?