--- doc/build/ubuntu18LTS_install.frag 2021/03/17 13:33:22 1.6 +++ doc/build/ubuntu18LTS_install.frag 2022/03/26 19:00:51 1.7 @@ -137,13 +137,29 @@ sudo apt-key add APT-GPG-KEY-loncapa.asc

Execute:

 sudo apt-get install software-properties-common
-sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu bionic main'
+sudo add-apt-repository 'deb http://install.loncapa.org/ubuntu bionic main'
 

You can display which repositories are currently enabled by using:

-sudo apt-cache policy
+grep '^deb ' /etc/apt/sources.list |grep ' bionic '
+
+

The output should contain:

+
+deb http://us.archive.ubuntu.com/ubuntu bionic main
+deb http://us.archive.ubuntu.com/ubuntu bionic universe
+deb http://install.loncapa.org/ubuntu bionic main
+
+

If the Ubuntu universe repository is absent it can be added using:

+
+sudo add-apt-repository universe
+
+

If other Ubuntu repositories, e.g., restricted and multiverse are enabled, +you can disable them, as they are not needed to install LON-CAPA, by using:

+
+sudo add-apt-repository --remove restricted
+sudo add-apt-repository --remove multiverse
 

Install prerequisites

Execute: