--- doc/build/ubuntu12LTS_install.frag 2021/03/17 03:21:24 1.4 +++ doc/build/ubuntu12LTS_install.frag 2022/03/26 19:00:51 1.5 @@ -138,13 +138,29 @@ sudo apt-get update

Execute:

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

You can display which repositories are currently enabled by using:

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

The output should contain:

+
+deb http://us.archive.ubuntu.com/ubuntu precise main
+deb http://us.archive.ubuntu.com/ubuntu precise universe
+deb http://install.loncapa.org/ubuntu precise 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 for LON-CAPA, by using:

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

Install prerequisites

Execute: