Re: Can I install packages only for my release?

2003-11-24 Thread Mark Terribile

[Rahul Fernandez]
>> Hi, I shall certainly try installing a port instead. I am rather new
>> to FreeBSD and am unclear as to how I can obtain new packages

[Matthew Seaman]
> ...  Even better, use the ports tree.  This may sound terrifying
> ...  but that's the beauty of the ports system.  It reduces doing
> all that right down to typing "make install"  ...

I went back to my notes on the problem I saw when the port system's
autoconfiguration machinery seemed to go into an infinite loop.  It
appears (APPEARS, I must repeat) that the problem is that everything
depends on pkginstall, but pkginstall's man pages depend on find files
that depend on something else.  My note ends ``make -k works around this.''

Greg, you got your ears up?  I entered posted a bug report; I will if you
poke me a little.

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can I install packages only for my release?

2003-11-23 Thread Matthew Seaman
On Sun, Nov 23, 2003 at 12:03:35AM -0800, Rahul Fernandez wrote:
> 
> > 
> > The secret is that once you've installed the system, put away
> > sysinstall(1).  Learn how to use the system level commands for
> > installing packages -- particularly pkg_add(1).  Even better, use the
> > ports tree.  This may sound terrifying to the uninitiated: "what, you
> > mean I should compile all this stuff from source?!" but that's the
> > beauty of the ports system. 
> 
> Hi, Thanks for the response. I understand that the ports system is the most
> up-to-date. However, if I choose to install a package (to install very large
> packages like openoffice or mozilla say), am I am correct in thinking that I must
> install from the the directory set aside for my release? If this is the case why
> is it not a good idea to use sysinstall?

No, you don't have to install from the per-release directory on the
FTP site -- that's really only a record of the packages as shipped
with the 4 CD release set.  So long as you understand that a) you must
choose a package compiled against a system with the same major version
number; b) you should choose packages compiled against a system
version that isn't too different from where you're going to install --
the wider the gap, the greater the possibility of things not working
and c) you must update all of the package dependencies correctly
before you update the package of interest, which means that if the
package version of any dependency was updated between the package set
when your original system was installed and the more recent package
set you're using now, then you first have to update the dependency
from the more recent set.  If you've got all that, then go right
ahead.

On the other hand, using the ports system means that you don't have to
worry about any of these considerations, especially if you use
portupgrade(1), which will automate the dependency ordering for you.

The other consideration is that for certain packages, you may want to
install something that was generated outside the regular FreeBSD
ports/packages system.  The classic examples here are OpenOffice,
where installing the packages from http://projects.imp.ch/openoffice/
is a very popular route, and the Diablo Java JDK and JRE packages
available from http://www.freebsdfoundation.org/downloads/java.shtml

Why not use sysinstall(8)?  Basically, it's too simple minded.  It's
designed to be small and simple and to install packages from precisely
the set supplied with the installation media.  This is good for
beginners (whose first exposure to FreeBSD is often via installing the
system) but not up to the general professional standard of the system
as a whole.  Think of sysinstall as like the "training wheels" you had
when you were trying to learn to ride a bike as a kid.  Of course, my
word is not law, and if sysinstall does what you want and you're happy
with it, then carry right on using it.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Can I install packages only for my release?

2003-11-23 Thread Rahul Fernandez

> 
> The secret is that once you've installed the system, put away
> sysinstall(1).  Learn how to use the system level commands for
> installing packages -- particularly pkg_add(1).  Even better, use the
> ports tree.  This may sound terrifying to the uninitiated: "what, you
> mean I should compile all this stuff from source?!" but that's the
> beauty of the ports system. 

Hi, Thanks for the response. I understand that the ports system is the most
up-to-date. However, if I choose to install a package (to install very large
packages like openoffice or mozilla say), am I am correct in thinking that I must
install from the the directory set aside for my release? If this is the case why
is it not a good idea to use sysinstall?

Thanks, Rahul

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can I install packages only for my release?

2003-11-21 Thread Matthew Seaman
On Fri, Nov 21, 2003 at 12:53:49AM -0800, Rahul Fernandez wrote:
> Hi, I shall certainly try installing a port instead. I am rather new
> to FreeBSD and am unclear as to how I can obtain new packages. When I
> run sysinstall, it does not offer new packages. Does that mean that
> the new packages are not meant to be installed? Or is it the case
> that I need to reconfigure it so that it looks in the correct place?
> If the latter, does sysinstall or pkg_add know to deleter the old
> version before installing the new one. Thanks for the replies. -Rahul

The secret is that once you've installed the system, put away
sysinstall(1).  Learn how to use the system level commands for
installing packages -- particularly pkg_add(1).  Even better, use the
ports tree.  This may sound terrifying to the uninitiated: "what, you
mean I should compile all this stuff from source?!" but that's the
beauty of the ports system.  It reduces doing all that right down to
typing "make install" in the appropriate directory.  It's all
explained in the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

While you're there, read about the two essential packages for managing
your system: cvsup(1) and portupgrade(1) (use
http://www.freebsd.org/cgi/man.cgi if you haven't already installed
those ports) and then congratulate yourself in choosing (IMHO) the
most maintainable computer system available bar none.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Can I install packages only for my release?

2003-11-21 Thread Rahul Fernandez
Hi, I shall certainly try installing a port instead. I am rather new
to FreeBSD and am unclear as to how I can obtain new packages. When I
run sysinstall, it does not offer new packages. Does that mean that
the new packages are not meant to be installed? Or is it the case
that I need to reconfigure it so that it looks in the correct place?
If the latter, does sysinstall or pkg_add know to deleter the old
version before installing the new one. Thanks for the replies. -Rahul
--- paul beard <[EMAIL PROTECTED]> wrote:
> 
> On Nov 20, 2003, at 5:06 PM, Rahul Fernandez wrote:
> 
> > Hi, I'm am running 4.9 release. A package called hpijs1.4.1 is
> > installed. I now would like to upgrade to hpijs-1.5. However,
> this
> > package is only available in 4.9-stable. Can I install the
> package
> > from 4.9-stable or is it advisable to stick to the packages in my
> > release?
> 
> why not install it from a port? I use packages as a last resort,
> and go 
> with ports first.
> 


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can I install packages only for my release?

2003-11-20 Thread paul beard
On Nov 20, 2003, at 5:06 PM, Rahul Fernandez wrote:

Hi, I'm am running 4.9 release. A package called hpijs1.4.1 is
installed. I now would like to upgrade to hpijs-1.5. However, this
package is only available in 4.9-stable. Can I install the package
from 4.9-stable or is it advisable to stick to the packages in my
release?
why not install it from a port? I use packages as a last resort, and go 
with ports first.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can I install packages only for my release?

2003-11-20 Thread Kent Stewart
On Thursday 20 November 2003 05:06 pm, Rahul Fernandez wrote:
> Hi, I'm am running 4.9 release. A package called hpijs1.4.1 is
> installed. I now would like to upgrade to hpijs-1.5. However, this
> package is only available in 4.9-stable. Can I install the package
> from 4.9-stable or is it advisable to stick to the packages in my
> release? Thanks, Rahul
>

There is no such thing as a 4.9 port. There were ports that were snapshoted 
when 4.9 was released but the tag on ports is "." or head only.

Go for it :)

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"