Change Debian Package list from CD to WEB: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
(Created page with "When installing Debian from CD and then afterwards trying to install additional packages using apt-get you are prompted to insert a CD. To change the source from CD to WEB. ...")
 
No edit summary
 
Line 10: Line 10:
</pre>
</pre>


One the file has been saved you should now be able to update from the WEB.
Once the file has been saved you should now be able to update from the WEB.
<pre>
<pre>
apt-get update
apt-get update
apt-get install package-name
apt-get upgrade
apt-get install <package-name>
</pre>
</pre>


[[Category : Debian]]
[[Category : Debian]]

Latest revision as of 08:46, 1 June 2014

When installing Debian from CD and then afterwards trying to install additional packages using apt-get you are prompted to insert a CD. To change the source from CD to WEB.

vi /etc/apt/sources.list

Remark lines that start with:

deb cdrom:

Once the file has been saved you should now be able to update from the WEB.

apt-get update
apt-get upgrade
apt-get install <package-name>