User Tools

Site Tools


vps_-_freebsd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
vps_-_freebsd [2024/04/09 23:22] – [System Update] E_N hc9vps_-_freebsd [2024/04/10 03:55] (current) – [Package Management] {AB hc9
Line 60: Line 60:
  
 FreeBSD uses ''pkg'' as a package manager. It can be initialized by running ''pkg bootstrap -f''. FreeBSD uses ''pkg'' as a package manager. It can be initialized by running ''pkg bootstrap -f''.
 +
 +''pkg'' will use the “quarterly” repository by default. If you would like to use the “latest” repository do the following:
 +
 +<code>
 +
 +  $ cp /etc/pkg/FreeBSD.conf /usr/local/etc/pkg/repos/FreeBSD.conf
 +
 +  # In /usr/local/etc/pkg/repos/FreeBSD.conf change the source of 
 +  # the repository
 +
 +  FreeBSD: {
 +  ...
 +    url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
 +  ...
 +  }
 +
 +  # Update all
 +
 +  $ pkg update -f
 +
 +</code>
  
 ===== System Time ===== ===== System Time =====
vps_-_freebsd.txt · Last modified: 2024/04/10 03:55 by hc9