Wednesday, October 12, 2005

Back to tech

Think its been a while since I wrote anything abt technology. Have to do some justice to the blog name, and hence a post about comps, software etc.

Moved over to Debian Sarge linux distro at home. Most of the things (including network, X) etc work. But no sound yet :(. Must be something minor, and plan to get it working by the end of this week. I am a n00b as far as Debian goes (me used RH distro a lot earlier). Learning quite a few things now......

First things first. Debian is "the" GNU Operating system, it's full name being Debian GNU/Linux. The main idea of Debian is to create a completely free Operating System. Right now, Debian uses the Linux kernel, but work is on to provide other kernels (like GNU Hurd). Complete Debian distro is spread over 14 cds or 2 DVDs.   :-O !!. For installing Debian, its enough to download just the first CD. :).

Now onto my rants.

Apt is the package manager in Debian. If you want to install/uninstall/update packages, you will be using apt. Aptitude is a menu driven front-end for apt, and is a lot easier to use.

Apt has to know where to get packages from before installing them, right ? This info is stored in the file /etc/apt/sources.list. I installed Debian from a CD-ROM, hence, my original sources.list file looked like


    #deb file:///cdrom/ sarge main

    deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)]/ unstable contrib main

After installing Debian, I wanted to install security updates and packages not present in my Debian CD. So, i edited this file, changed it to

    #deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)]/ unstable contrib main

    deb http://security.debian.org/ stable/updates main contrib
    deb http://http.us.debian.org/debian stable main contrib non-free

After doing this, I used the command
     apt-get update
and to tell apt about the new locations to get packages from.

Then, in case there were some broken packages on my pc, I issued the command
     apt-get install -f
to let apt fix them automatically.

To install new packages, just use the command
     apt-get install package_name

For example, I wanted to install yahoo messenger. One of the dependencies for yahoo messenger is the ssl library. Installing ssl was a piece of cake. Just had to issue the command
     apt-get install libssl0.9.6
and it was done ! So simple....

More later...

0 Comments:

Post a Comment

<< Home