Adding Packages and Ports
Andrew L. Gould
algould at datawok.com
Sun Feb 1 20:02:50 PST 2004
On Sunday 01 February 2004 09:29 pm, Krikket wrote:
> I've done a brand-new install of FreeBSD (4.9), and am a fresh user to
> this flavor of *nix.
>
> The install went more or less without a hitch. For some reason ldap (part
> of the default package selection) didn't want to install.
>
> While I can ssh to the box, it won't accept the password for users and/or
> root. (IE: It makes the connection, gives a login prompt, but the
> correct password is rejected. I'm sshing from a Fedora box.)
>
> But the big problem that I'm having, that's turning into a show-stopper
> has to deal with installing packages and/or ports, once the base OS is
> installed.
>
> To test things out, I tried installing mozilla. It failed due to a
> dependancy, so I checked out the website to see what was available, found
> a version that was there, adn installed it.
Dependencies should be taken care of if you installed via ports or using
pkg_add and the install cd, or pkg_add and the ftp server. Exactly how did
you try to install mozilla?
>
> But when I type "mozilla" to start the program, it's not found. (Nor was
> it added to the KDE Menu.)
Try executing 'rehash' after installing an application and before attempting
to execute it.
Also, if you installed mozilla-firebird, I think the command is
'mozilla-firebird'. Since certain app's help programs call mozilla, you
might want to make a link called mozilla to your browser command.
>
> I was able to do a "pkg_add -r cvsup" on the first try. But I ended up
> with the same problem -- not being able to find the package once it was
> installed. Needless to say, I can't add any ports as a result.
Why are you using the '-r' option? If you're using the install 4.9 CDROM,
just cd to /cdrom/packages/All and:
pkg_add cvsup-16.1h.tgz
If you're using ports, cd to /usr/ports/net/cvsup and execute:
make install clean
>
> I figure there's something basic that I'm missing, but I'll be damned if I
> can figure it out, despite the help of the handbook and FAQ...
>
> Can anyone give me a pointer in the right direction? Please?
>
> Thanks in advance,
>
> Krikket
Best of luck,
Andrew Gould
More information about the freebsd-questions
mailing list