[LON-CAPA-cvs] cvs: doc /build ubuntu12LTS_install.frag ubuntu14LTS_install.frag ubuntu16LTS_install.frag ubuntu18LTS_install.frag ubuntu20LTS_install.frag

raeburn raeburn at source.lon-capa.org
Sat Mar 26 15:00:51 EDT 2022


raeburn		Sat Mar 26 19:00:51 2022 EDT

  Modified files:              
    /doc/build	ubuntu12LTS_install.frag ubuntu14LTS_install.frag 
              	ubuntu16LTS_install.frag ubuntu18LTS_install.frag 
              	ubuntu20LTS_install.frag 
  Log:
  - For Ubuntu, universe repository needs to be enabled. 
  
  
Index: doc/build/ubuntu12LTS_install.frag
diff -u doc/build/ubuntu12LTS_install.frag:1.4 doc/build/ubuntu12LTS_install.frag:1.5
--- doc/build/ubuntu12LTS_install.frag:1.4	Wed Mar 17 03:21:24 2021
+++ doc/build/ubuntu12LTS_install.frag	Sat Mar 26 19:00:51 2022
@@ -138,13 +138,29 @@
 <p> Execute: </p>
 <pre>
 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'
 </pre>
 <p>
 You can display which repositories are currently enabled by using:
 </p>
 <pre>
-sudo apt-cache policy
+grep '^deb ' /etc/apt/sources.list |grep ' precise '
+</pre>
+<p>The output should contain:</p>
+<pre>
+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
+</pre>
+<p>If the Ubuntu universe repository is absent it can be added using:</p>
+<pre>
+sudo add-apt-repository universe
+</pre>
+<p>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:</p>
+<pre>
+sudo add-apt-repository --remove restricted
+sudo add-apt-repository --remove multiverse
 </pre>
 <h3>Install prerequisites</h3>
 <p> Execute: </p>
Index: doc/build/ubuntu14LTS_install.frag
diff -u doc/build/ubuntu14LTS_install.frag:1.5 doc/build/ubuntu14LTS_install.frag:1.6
--- doc/build/ubuntu14LTS_install.frag:1.5	Wed Mar 17 03:22:07 2021
+++ doc/build/ubuntu14LTS_install.frag	Sat Mar 26 19:00:51 2022
@@ -138,13 +138,29 @@
 <p> Execute: </p>
 <pre>
 sudo apt-get install python-software-properties
-sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu trusty main'
+sudo add-apt-repository 'deb http://install.loncapa.org/ubuntu trusty main'
 </pre>
 <p>
 You can display which repositories are currently enabled by using:
 </p>
 <pre>
-sudo apt-cache policy
+grep '^deb ' /etc/apt/sources.list |grep ' trusty '
+</pre>
+<p>The output should contain:</p>
+<pre>
+deb http://us.archive.ubuntu.com/ubuntu trusty main
+deb http://us.archive.ubuntu.com/ubuntu trusty universe
+deb http://install.loncapa.org/ubuntu trusty main
+</pre>
+<p>If the Ubuntu universe repository is absent it can be added using:</p>
+<pre>
+sudo add-apt-repository universe
+</pre>
+<p>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:</p>
+<pre>
+sudo add-apt-repository --remove restricted
+sudo add-apt-repository --remove multiverse
 </pre>
 <h3>Install prerequisites</h3>
 <p> Execute: </p>
Index: doc/build/ubuntu16LTS_install.frag
diff -u doc/build/ubuntu16LTS_install.frag:1.6 doc/build/ubuntu16LTS_install.frag:1.7
--- doc/build/ubuntu16LTS_install.frag:1.6	Wed Mar 17 04:47:44 2021
+++ doc/build/ubuntu16LTS_install.frag	Sat Mar 26 19:00:51 2022
@@ -138,13 +138,29 @@
 <p> Execute: </p>
 <pre>
 sudo apt-get install python-software-properties
-sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu xenial main'
+sudo add-apt-repository 'deb http://install.loncapa.org/ubuntu xenial main'
 </pre>
 <p>
 You can display which repositories are currently enabled by using:
 </p>
 <pre>
-sudo apt-cache policy
+grep '^deb ' /etc/apt/sources.list |grep ' xenial '
+</pre>
+<p>The output should contain:</p>
+<pre>
+deb http://us.archive.ubuntu.com/ubuntu xenial main
+deb http://us.archive.ubuntu.com/ubuntu xenial universe
+deb http://install.loncapa.org/ubuntu xenial main
+</pre>
+<p>If the Ubuntu universe repository is absent it can be added using:</p>
+<pre>
+sudo add-apt-repository universe
+</pre>
+<p>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:</p>
+<pre>
+sudo add-apt-repository --remove restricted
+sudo add-apt-repository --remove multiverse
 </pre>
 <h3>Install prerequisites</h3>
 <p> Execute: </p>
Index: doc/build/ubuntu18LTS_install.frag
diff -u doc/build/ubuntu18LTS_install.frag:1.6 doc/build/ubuntu18LTS_install.frag:1.7
--- doc/build/ubuntu18LTS_install.frag:1.6	Wed Mar 17 13:33:22 2021
+++ doc/build/ubuntu18LTS_install.frag	Sat Mar 26 19:00:51 2022
@@ -137,13 +137,29 @@
 <p> Execute: </p>
 <pre>
 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'
 </pre>
 <p>
 You can display which repositories are currently enabled by using:
 </p>
 <pre>
-sudo apt-cache policy
+grep '^deb ' /etc/apt/sources.list |grep ' bionic '
+</pre>
+<p>The output should contain:</p>
+<pre>
+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
+</pre>
+<p>If the Ubuntu universe repository is absent it can be added using:</p>
+<pre>
+sudo add-apt-repository universe
+</pre>
+<p>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:</p>
+<pre>
+sudo add-apt-repository --remove restricted
+sudo add-apt-repository --remove multiverse
 </pre>
 <h3>Install prerequisites</h3>
 <p> Execute: </p>
Index: doc/build/ubuntu20LTS_install.frag
diff -u doc/build/ubuntu20LTS_install.frag:1.4 doc/build/ubuntu20LTS_install.frag:1.5
--- doc/build/ubuntu20LTS_install.frag:1.4	Wed Mar 17 13:37:40 2021
+++ doc/build/ubuntu20LTS_install.frag	Sat Mar 26 19:00:51 2022
@@ -137,13 +137,29 @@
 <p> Execute: </p>
 <pre>
 sudo apt-get install software-properties-common
-sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu focal main'
+sudo add-apt-repository 'deb http://install.loncapa.org/ubuntu focal main'
 </pre>
 <p>
 You can display which repositories are currently enabled by using:
 </p>
 <pre>
-sudo apt-cache policy
+grep '^deb ' /etc/apt/sources.list |grep ' focal '
+</pre>
+<p>The output should contain:</p>
+<pre>
+deb http://us.archive.ubuntu.com/ubuntu focal main
+deb http://us.archive.ubuntu.com/ubuntu focal universe
+deb http://install.loncapa.org/ubuntu focal main
+</pre>
+<p>If the Ubuntu universe repository is absent it can be added using:</p>
+<pre>
+sudo add-apt-repository universe
+</pre>
+<p>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:</p>
+<pre>
+sudo add-apt-repository --remove restricted
+sudo add-apt-repository --remove multiverse
 </pre>
 <h3>Install prerequisites</h3>
 <p> Execute: </p>




More information about the LON-CAPA-cvs mailing list