Need apt-get update like command

Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Need apt-get update like command

Postby cola » 02 Dec 2010, 04:01

apt-get update command updates the cache database of all packages from mirror.
Is there any command to do that for freebsd?
cola
Junior Member
 
Posts: 50
Joined: 27 Nov 2010, 14:03

Postby SirDice » 02 Dec 2010, 08:02

You don't need it. Forget what you've learned on Linux. Learn the FreeBSD way of doing things.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16131
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby UNIXgod » 02 Dec 2010, 09:06

SirDice wrote:You don't need it. Forget what you've learned on Linux. Learn the FreeBSD way of doing things.


Bit sensitive there eh?

OP look at [man]portsnap[/man] or [man]csup[/man]
User avatar
UNIXgod
Senior Member
 
Posts: 1089
Joined: 16 Nov 2008, 17:02
Location: pwd

Postby SirDice » 02 Dec 2010, 10:19

UNIXgod wrote:Bit sensitive there eh?

No, just tired of Linux people migrating to FreeBSD and thinking the Linux way is the one and only way to do things.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16131
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby cola » 02 Dec 2010, 11:20

UNIXgod wrote:Bit sensitive there eh?

OP look at [man]portsnap[/man] or [man]csup[/man]

Hello,
I don't want to download ports to compile from source.
cola
Junior Member
 
Posts: 50
Joined: 27 Nov 2010, 14:03

Postby ahavatar » 02 Dec 2010, 11:41

cola wrote:Hello,
I don't want to download ports to compile from source.


You have to do "portsnap fetch update" first to check if the ports (packages) have new versions available ("pkg_version"). To use only binary packages, do "portupgrade -PP" that installs available binaries only. Keep in mind that compiled binaries are available a few days later than ports updates, thus it is possible that no updated binaries are available for some time.
ahavatar
Member
 
Posts: 196
Joined: 06 Sep 2010, 21:13


Return to Installation and Maintenance of FreeBSD Ports or Packages

Who is online

Users browsing this forum: No registered users and 0 guests