Re: Noob question - best way to install software



On Sat, Apr 14, 2007 at 09:22:56PM +0000, georgepwhite@xxxxxxxxxxx
wrote:
I've been using Debian for about a month, and just upgraded to Etch.
I'm very happy with it so far - my compliments to the people who
create this great piece of work.

I am wondering about the best way to install software. I have used
the "apt-get" method, which is pretty simple, and have also downloaded
and compiled from source "tarballs" which is a little more complicated
but doesn't seem to be a big deal. Are there significant advantages
and disadvantages to these methods, besides just convenience? I worry
about dependencies, and maybe messing stuff up with "apt-get update."

Welcome George.

There's a bit of a religious nature over the choice between apt-get and
aptitude. Aptitude is supposed to do everything that apt-get will do
but in addition, it keeps track of packages that have only been
installed to meet dependencies of packages that you specifically wanted
installed. Later, if you remove a package, aptitude will also remove
anything that was automatically installed that is no longer required by
anything.

Anything you install from source should go in either /usr/local or /opt
so that it doesn't interfere with the debian packaging system.

Since the release notes say that aptitude is the preferred method of
managing packages, that is what I would suggest too.

The first time you start aptitude interactivly, go down the list of
packages that are installed. Anything that you don't specifically want
installed (e.g. most of the libs), mark as auto so that aptitude will
handle them. After you have done this one, you won't have to repeat
this ever again unless you reinstall (which you should never _have_ to
do).

As far as tarballs of apps that don't have a deb: why not package up a
deb and install that with aptitude as well? I haven't done this but
lots of people on this list have and can help.

Since you're new to debian, I suggest you read (available as packages):
debian-reference
debian-policy (slected sections) and FHS
securing debian (harden-doc)
aptitude user's guide

Also, make sure that you can use one of the editors in /bin or /sbin,
for your friend Justin Case. If you like vi, there's vim-tiny,
otherwise, use nano-tiny.

Enjoy.

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Debian or Ubuntu Dilemma
    ... Debian Stable < Ubuntu < Debian Testing/Unstable < Any Distro w/mutt packaging ... You'll eventually have to compile a few packages with any distro (from Debian ... Ubuntu seems to be a good balance if its default install does almost ...
    (Debian-User)
  • unsubscribe
    ... > Subject: debian newbie... ... If I need to recompile the kernel, ... Also, what other additional packages, ... >> The package you're trying to install presumably ...
    (Debian-User)
  • Re: Switching from teTeX to TexLive in Ubuntu
    ... packages everything except: only Dutch language packs; ... using the Debian packages of TL. ... You are using the Ubuntu packages. ... It is a requirement for having different packages being able to install ...
    (comp.text.tex)
  • Re: Problems with debian install
    ... >>to install debian on a number of machines in a computer ... For Sarge, the number of CDs will be even larger once it is ... Set it up to get packages from a ...
    (Debian-User)
  • Re: New user Q: Best way to stay up to date on "testing"?
    ... > understand the entire Debian environment and need a little advise. ... > I was reading the security FAQ and am somewhat alarmed to find (if I ... > packages, most of which seem to be related to X (we won't ever be using X ... Only install the packages that your really need to have. ...
    (Debian-User)