version 1.5, 2021/03/17 03:22:07
|
version 1.6, 2022/03/26 19:00:51
|
Line 138 sudo apt-get update
|
Line 138 sudo apt-get update
|
<p> Execute: </p> |
<p> Execute: </p> |
<pre> |
<pre> |
sudo apt-get install python-software-properties |
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> |
</pre> |
<p> |
<p> |
You can display which repositories are currently enabled by using: |
You can display which repositories are currently enabled by using: |
</p> |
</p> |
<pre> |
<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> |
</pre> |
<h3>Install prerequisites</h3> |
<h3>Install prerequisites</h3> |
<p> Execute: </p> |
<p> Execute: </p> |