Re: Newbie question..
On Wednesday 12 May 2004 09:24 pm, Ishwar Rattan wrote:
> I just installed debian from Knoppix-3.4 CD. Seems to work.
>
> I want to add tetex packages to the system. I read the man pages
> but picture is not clear.
>
> Would any some kind soul list the steps needed (in order) to get the
> tetex and related packages (from stable packages on www.debian.org or
> some other repository) and install them?
Knoppix is based on either Unstable or Testing. I forget which.
What you want to do is create a file to tell apt where to look to grab new
packages. This file is called /etc/apt/sources.list so you need to make one
if you don't have one already.
Then it's a question of picking your mirror and whatnot, but that's a bit
involved for a quickie reply. Here's mine. It will work, but you can
probably find a faster mirror from where you are.
# the main Debian packages. Uncomment the deb-src line if you
# want 'apt-get source' to work with most packages.
deb http://ftp.belnet.be/debian/ testing main contrib non-free
deb-src http://ftp.belnet.be/debian/ testing main contrib non-free
# the non-US Debian packages. Uncomment the deb-src line if you
# want 'apt-get source' to work with non-US packages.
deb http://ftp.lug.udel.edu/debian-non-US/ testing/non-US main contrib
non-free
deb-src http://ftp.lug.udel.edu/debian-non-US/ testing/non-US main contrib
non-free
(I chose these particular mirrors with netselect-apt, for future reference.)
Now you want to:
apt-get update
Then you can play with apt-cache to see what's available:
apt-cache search tetex
Once you know what you want, you can install with:
apt-get install foo bar flummy doodah skee skippy glee whatever
That's it in a nutshell, but you need to RTFM for all the details I've left
out:
http://www.debian.org/doc/manuals/apt-howto/index.en.html
You should also probably start off using aptitude instead of apt-get to
install everything.
http://www.debianplanet.org/node.php?id=983&cid=12291
That ought to get you started. Have fun!
--
Michael McIntyre ---- Silvan <dmmcintyr@users.sourceforge.net>
Linux fanatic, and certified Geek; registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/
Reply to: