Slashdot Mirror


Introduction to Debian

[vmlinuz] writes "SitePoint has an article that I wrote that introduces Debian and has guidelines on installing it. This could be usefull for managers, new users and other people that may be interested in using Debian." And honestly, who among us isn't interested in using the obviously superior Linux Distribution against which there can be no other contenders? (Oh dear god don't flame me! It's a joke people!)

26 of 374 comments (clear)

  1. Re:On a similar note, by damiam · · Score: 2, Informative

    KDE was broken in unstable for a long time, due to the G++ upgrade, but it works fine now, and is updated quite frequently. Since unstable is really quite stable, there's no reason not to use it.

    --
    It's hard to be religious when certain people are never incinerated by bolts of lightning.
  2. Re:On a similar note, by blakestah · · Score: 5, Informative

    I'd like to be able to pin the newest KDE/gnome/whatever to stable and do an apt-get upgrade without breaking a million things.

    You can pin the newest KDE/gnome/whatever to unstable. Newest always goes in unstable first. Unstable is pretty cutting edge, but with an occasional hiccup.

    The point of stable is that it works. Things go there after they are 'tried and true' in unstable, and then in testing.

  3. Why bother? by Espectr0 · · Score: 1, Informative

    The only good things about debian is: stability, and apt-get

    The price to pay with stability is that you get to use very old applications. If you use unstable, then it breaks.

    Apt-get has been copied off by every distro now. So if you are using linux in a desktop, skip debian (great for servers though)

    1. Re:Why bother? by Dr.+Photo · · Score: 2, Informative

      Gentoo also has a nice separation of "cutting edge" from "bleeding edge".

      If you want to see packages that are still in testing, type ACCEPT_KEYWORDS="~x86" [or ~your_platform_name, like ~ppc] emerge -Up world

    2. Re:Why bother? by tal197 · · Score: 3, Informative
      The only good things about debian is: stability, and apt-get

      Heh, I've justing finished writing an article about the problems with APT (What's wrong with APT?).

  4. Re:I am just thinking of switching to Debian by Tyler+Eaves · · Score: 2, Informative

    Uh, get the 10MB bootflooppies netinst cd. Install woody.

    $EDITOR /etc/apt/sources.list

    Replace all instances of 'stable' with 'testing'

    apt-get update
    apt-get upgrade

    Congradulations, you're running testing.

    --
    TODO: Something witty here...
  5. Re:On a similar note, by Ophelan · · Score: 2, Informative

    Specifically, unstable can be successfully implemented in a production environment IF you pull you're own copy of it to a local mirror periodically, and then verify on a non-critical machine that updating does not foobar things. Installing straight from unstable to a real machine can cause headaches.

  6. Re:On a similar note, by Anonymous Coward · · Score: 3, Informative
    By the way, it can't be emphasized enough that "unstable" is still really darn stable... stable enough, in my opinion, for any reasonable home user. While some packages occasionally have small problems, it's very rare for anything big to go wrong - and when something does go wrong, it's almost always fixed within a few hours. There's even a program now to list bug reports on any package you're updating (forgot the name; sorry), so you don't even have to try packages with known bugs.

    People keep saying that debian evolves far too slowly. These people, obviously, have not tried unstable. About a dozen new packages get added every week (check the bottom of each Debian Weekly News for a list), and lots more get updates.

    To summarize: debian/rules.

  7. Re:On a similar note, by Anonymous Coward · · Score: 1, Informative

    Exactly. If you want the newest stuff you'll need to be running unstable/testing, if you want to make absolutely certain you don't have any problems then run stable. I run unstable and the only problem I ever had was whatever that recent problem with SSH was where it would disconnect randomly every now and then. That was annoying, but really not a big deal. I don't have X on that box though so maybe there are some other problems other people have run into with graphical stuff. So basically, in my experience Debian unstable is, well, actually pretty stable.

  8. Re:Installer by Anonymous Coward · · Score: 1, Informative

    And perhaps more important (to Debian anyway) is that the one installer runs on pretty much all systems - 11 architectures, and some pretty small systems that the newer, more "advanced" hieroglyphic installers fail on.

    Debian has different priorities than Redhat etc. If Debian chose to implement an installer for just i586+ boxes they could make a lot of assumptions about hardware that cannot be made in the more general installer. Knoppix and the other Debian-based distros *do* make these assumptions in their installers, if that's what you want. Want it in Debian? PGI has been uploaded, or you could pay someone to do what you want.

  9. Re:The first person to mention by polyomninym · · Score: 5, Informative

    Hey, don't forget Knoppix.

  10. Re:Redhat, Debian, Gentoo by loginx · · Score: 3, Informative

    To list installed packages, there are some tools that will do that for you... I would just do this:
    ls -R /var/db/pkg/ | grep ':'

    And for the kernel compile, it really *is* a walk in the pack... but don't forget there are new emerging technologies that make installing KDE, X and mozilla a walk in the pack too...

    For example, DistCC is a cross-compiler that allows you to distribute your compiling over multiple boxes... those boxes can be running any distro that has the same compiler and libc running on it...
    We (at work) use the old boxes on our network as a compile farm and it works darn well...
    we have 2 Athlon XP-2400 w/1Gb of ram for the workstations and 3 older machines that help out with compiling... We can get all these packages installed in a few hours...

    Another utility is CCache... it's basically a caching utility that caches your compiles on-the-fly so if you emerge a large package again,
    your computer will only have to compile the parts of the source that have changes...
    this saves hours when upgrading packages...

  11. Enough with the "Debian's dated" already... by mcgroarty · · Score: 5, Informative
    Debian's stable releases aren't a quarterly affair. Your average user who's trying to use an OS to do work or run a server doesn't want quarterly releases. Precious few people really need to jump to Apache 2.0 or kernel 2.4.21 the very day/week/month it comes out.

    But, for those of you who want the bleeding edge without risking instability, Debian does just fine there if you know what you're doing. Go ahead and jump to unstable. Seriously!

    The only thing you're missing is "apt-listbugs," which does this automatically with every update...

    slate:/home/brian# dselect
    Reading Package Lists... Done
    Building Dependency Tree... Done
    10 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 41.9MB of archives.
    After unpacking 16.4kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    Get:1 http://ftp.uk.debian.org sid/main tetex-bin 2.0.2-4.1 [3774kB]
    [...]
    Get:10 http://ftp.uk.debian.org sid/main libnspr4 2:1.3.1-2 [117kB]
    Fetched 41.9MB in 4m19s (162kB/s)
    Reading package fields... Done
    Reading package status.. Done
    Retrieving bug reports... Done
    grave bugs of mozilla-psm (2:1.3.1-1 -> 2:1.3.1-2) <done>
    #189907 - mozilla-psm: psm doesn't register with mozilla
    grave bugs of tetex-bin (2.0.2-3 -> 2.0.2-4.1) <done>
    #195641 - tetex-bin dependency problem
    Merged with: 195677 195679 195683
    grave bugs of tetex-bin (2.0.2-3 -> 2.0.2-4.1) <open>
    #195723 - tetex-bin: postinstall script dies, making tetex-bin uninstallable
    Summary:
    mozilla-psm(1 bug), tetex-bin(2 bugs)
    Are you sure to install/upgrade these packages? [Y/n/?/...]

    Before starting installation, apt-listbugs fetches all the bug reports for versions between your current version and the target version. We can see that two bugs have been closed (fixed by later versions, or the bug reports were bogus), and we see that the tetex-bin bug is still open.

    In this case, we'd type 'h tetex-bin' to hold the broken package and proceed with a perfectly usable system.

    Of course, this still leaves you in the position to be the one in ten thousand who finds a critical bug on installing any given package. If that happens, be a Good Debizen and use reportbug so the next guy is notified. Further, if you flag a critical bug, it's rare that it isn't fixed within a couple hours, even at 2am on Sunday. Once you've reported your bug, go ahead and roll back a version and carry on until the developer closes the bug -- if you used reportbug, you'll get an all-clear email automatically when he or she closes the bug.

    With unstable and the apt-listbugs' automatic reports, the chances of ever winding up with a broken system are exceptionally low. Showstopper bugs are rare even in unstable -- maybe one package update in five thousand. But, with thousands of other users snarfing packages and reporting any bugs, the chances of your being the one to discover breakage without apt-listbugs warning you first are virtually nil.

    All that said, if you can bear to be a week to a month behind the bleeding edge, you can use apt-listbugs with testing as well. The chances of getting a broken system with testing and apt-listbugs are about the same as the chance of Windows Service Update not needing a reboot. Virtually nil.

  12. Re:Superior Linux Distribution by Lobsang · · Score: 4, Informative

    I use Debian and I really like it. A very welcome departure from the nightmare RedHat has become.

    Yet, I agree with you. The installer is a pain in the arse. Bear in mind however that I only installed Debian once. All the other installations were "cloned" from the original one.

    In any case, I'd love to see Knoppix HW detection routines incorporated into Debian. Knoppix is a killer in this area.

  13. Re:The first person to mention by Anonymous Coward · · Score: 1, Informative

    Whatever happened to the Progeny GUI installer? Is it still in the Debian unstable tree?

  14. Re:the installer issue by mbanck · · Score: 2, Informative
    why it hasn't been included into the main branch then?

    Because the 'main branch' is 3.0 aka woody aka 'stable' and debian does not introduce stuff like Hardware Detection in Point Releases ala 3.0r2.

    Be assured that there will be automatic Hardware Detection in the next stable release (whenever that will be). It has been in the new, still alpha, Installer for months now I think.

    Michael

  15. Re:for those turned off by the elitist Debian comm by lspd · · Score: 3, Informative

    Try Debian Help or Debian Community or even one of the mailing lists. And, of course, you can usually get instant answers by asking on irc.debian.org.

    There is plenty of good community support available for Debian. The only time I've ever seen anyone suggest "RTFM" is when someone posts nonsence questions to the developers mailing lists without bothering to check the various developers manuals. I don't think it's unreasonable to expect DEVELOPERS to RTFM. Users are a whole different subject.

  16. Re:The first person to mention by Anonymous Coward · · Score: 3, Informative

    The GUI installer is on its way, and will probably be in the next stable (released, at its earliest, near the end of 2003). Here is a relevant post from a Debian mailinglist.

  17. Re:The best way to meet linux. by bfsmith9 · · Score: 2, Informative

    I have to agree with this, mostly. I just installed Debian a few nights ago for the first time - and really, it just wasn't that bad. As a matter of fact, the installation went more smoothly than others I've put on my Mac Powerbook G3. The only slight problems I had were related to the fact that I didn't RTFM at all. I think that even if a somewhat new user read the manuals carefully, in detail, the install would be fine and interesting. So far things are working quite well - my wife got X working in about 10 minutes and had a wireless card going in about an hour.

  18. Re:On a similar note, by swillden · · Score: 3, Informative

    since I was not familiar with the Debian way of building packages

    I assume you are familiar with it now, but for others, the process is (as yourself, no need to be root):

    apt-get source <packagename>
    cd <packagename>
    fakeroot dpkg-buildpackage -uc -us

    The result is a .deb which you can install with dpkg -i. If you needed to patch the sources, you'd have to do it between the apt-get and building the package, obviously. dpkg-buildpackage may complain about missing -dev package prerequisites; if so, just apt-get install them. You can omit the "-uc -us" if you have a gpg keypair; dpkg-buildpackage will invoke gpg to sign the created packages (and prompt for your passphrase).

    For example, if a new OpenSSH security flaw is discovered and a security update will be available at security.debian.org, I have no clue how the version number conflict is solved.

    You can use dselect or aptitude to "hold" the package you built. This will prevent apt-get from upgrading that package even when new versions are available. When a new version is available and you apt-get upgrade, apt will tell you that it's not upgrading that package, so you know to deal with the issue.

    I would also recommend one other optional step before building the package: Modify the changelog to change the version number and to indicate what you changed (patch applied, etc.). Just edit <packagename>/debian/changelog and add another entry at the top that looks just like all the others in the file (but with your name, appropriate content, etc.). Change the version number to include your name or something and a number. For example, if the package is 3.6.1, I might make it 3.6.1-shawn.1. That way you can see which packages you've modified. When an update comes along that has a "greater" version number, according to normal lexical ordering rules, apt-get will replace your modified package unless it's held.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  19. What about Morphix by clif2 · · Score: 2, Informative

    Morphix is a modular variant of Knoppix. The FAQ explains the differences between Morphix and Knoppix. Simply put, Morphix is much more flexible than Knoppix.

    I did an HD-install of the KDE (3.1.1) main-mod. The only problem I had was the with boot configuration (I have an unusual setup), the problem was solved by downloading the boot-disk image that contains the ever-useful Smart Boot Manager (I wish that more distros would, at least, include this as an option).

    Minor problem asside, the install went smoothly, it was much, much easier than installing Debian from DVD. You also get much more recent versions of the desktop packages.

    Debian, Knoppix, and Morphix are all excellent projects.

  20. Re:The first person to mention by KrispyKringle · · Score: 4, Informative
    The installation may be terrible, but the great thing about Debian is you almost certainly will only have to do it once. That's the whole focus on stability, maturity, security thing.

    Plenty of other otherwise excellent OSes have difficult or non-user-friendly installations. FreeBSD is a good example. But it gets the job done, it isn't really that hard if you RTFM, and once you are finished you have a far superior OS to Mandrake (in my opinion).

    No, Debian isn't going to be on the desktop of Windows users anytime soon. That's a position most likely to be filled by RedHat or Mandrake. But not just because of the installation; desktop users want features and bleeding-edge more than code maturity or stability. Debian doesn't even have KDE3 in the stable tree yet. So while a nicer installation may be nice, the kind of users Debian targets don't really need it.

  21. Re:The first person to mention by timeOday · · Score: 2, Informative

    I have several computers running, and I don't even remember when I did the "original" install. To put it on a new machine each time I restore a tarfile backup of some other machine, then tailor what needs tailoring. Works for me.

  22. Re:The first person to mention by TallCool1 · · Score: 2, Informative

    There is an easy way to install Debian: Knoppix. For one thing, it gives you a chance to work with a Linux environment BEFORE committing to an install. While it IS true that you will need to tweak a hard drive install once completed, the tweaks are being done from WITHIN Linux, either from the HD install or from the CD-booted environment. You can then go to http://www.Knoppix.net for details as to massaging the install as you see fit. -- Michael Rudas

  23. Re:The first person to mention by Anonymous Coward · · Score: 2, Informative

    yes, that's right. the point of a computer is to configure and recompile your kernel, not to actually use software on it. burn the naysayers!!!

  24. apparently you haven't used Debian by Trepidity · · Score: 2, Informative

    You should never, except in very rare cases, have to recompile your own kernel to get hardware working on Debian. The "stock" Debian kernel comes with zillions of modules for everything under the sun, and there are a few *-modules packages containing extras. There are plenty of reasons to recompile a kernel, but getting your network card working isn't one of them.

    The biggest problem is finding out what the hell module to install. It's not exactly as simple as seeing "I have X network card, so I'll install the X module." Many network cards are based on other companies' chipsets, and you have to load the right driver for your chipset. So your card with some random brand name on it might internally be based on the Tulip chipset, in which case you need to load the 'tulip' module. This information isn't often very easy to find, especially if you're someone who doesn't even know that network cards are generally based on a few generic chipsets that get licensed and rebranded (which the majority of computer users don't know).

    It's even more fun when you try to tell people it should've been intuitive that they need to load the 'emu10k1' module to get their Soundblaster Live! working.