This shows you the differences between two versions of the page.
|
howto:adddebianfeeds [2009/08/11 18:43] bl00 |
howto:adddebianfeeds [2009/11/03 11:17] (current) pgl removed link to vi tutorial as it no longer works |
||
|---|---|---|---|
| Line 24: | Line 24: | ||
| - become superuser by typing sudo su - | - become superuser by typing sudo su - | ||
| - browse to [[http://ftp.debian.org/debian/README.mirrors.html|Debian worldwide mirror sites]] and select a mirror near to you. You might want to use netselect to find which one has the best connectivity but netselect is outside the scope of this post. Also apt-spy might be usable. | - browse to [[http://ftp.debian.org/debian/README.mirrors.html|Debian worldwide mirror sites]] and select a mirror near to you. You might want to use netselect to find which one has the best connectivity but netselect is outside the scope of this post. Also apt-spy might be usable. | ||
| - | - Use VI as your text editor. http://users.tkk.fi/~thyle/vi_opas.html has a nice tutorial to get you started. [NB. An easy alternative to VI is kwrite, the default text editor of EeePC) | + | - Use VI as your text editor. [NB. An easy alternative to VI is kwrite, the default text editor of EeePC) |
| - edit /etc/apt/sources.list (vi /etc/apt/sources.list) //[NB. To run the default text editor from a terminal, type this command: sudo kwrite /etc/apt/sources.list]//, and add the following line:\\ deb <your mirror goes here> etch main contrib non-free\\ As I am in NL I entered ftp://ftp.nl.debian.org/debian at the place where it says <your mirror goes here>, but if you are not in NL you should find a closer mirror (could also be an http mirror) \\ | - edit /etc/apt/sources.list (vi /etc/apt/sources.list) //[NB. To run the default text editor from a terminal, type this command: sudo kwrite /etc/apt/sources.list]//, and add the following line:\\ deb <your mirror goes here> etch main contrib non-free\\ As I am in NL I entered ftp://ftp.nl.debian.org/debian at the place where it says <your mirror goes here>, but if you are not in NL you should find a closer mirror (could also be an http mirror) \\ | ||
| - run "sudo apt-get update" This will update the packages lists. (btw, I use apt-get from the command line; you might also try to use synaptic) | - run "sudo apt-get update" This will update the packages lists. (btw, I use apt-get from the command line; you might also try to use synaptic) | ||