General Question

I hope I am posting on the right room anyway.

Here are my general questions.

Doing install:
1. pkg install means I am installing from internet and I must be connected to internet
2. doing /usr/ports/appsname is doing installation from my local computer am I right?
3 how do I know that I am installing the latest version is that by doing pkg install

Thank you
 
so i was half right then that Pkg check the imternet and local ports from ports collection
why is it then installing from port collections is a little bit longer? or is just me ?
pkg downloads pre-compiled binary packages from the internet. The ports collection downloads source tarballs which are then compiled and build into packages. This is a quite CPU-intensive thing to do so takes a whole lot longer.

Both pkg and ports require an internet connection and download files from the internet.
 
pkg downloads pre-compiled binary packages from the internet. The ports collection downloads source tarballs which are then compiled and build into packages. This is a quite CPU-intensive thing to do so takes a whole lot longer.

Both pkg and ports require an internet connection and download files from the internet.

Pkg requires an internet connection only if you have a repository configured that uses a remote access method such as HTTP(S) to download the repostitory catalogues and the packages. This is of course the default if you're not using your own custom repo but in case you're building your ports yourself like me you can configure pkg to use only the local filesystem when accessing the repo.
 
Pkg requires an internet connection only if you have a repository configured that uses a remote access method such as HTTP(S) to download the repostitory catalogues and the packages. This is of course the default if you're not using your own custom repo but in case you're building your ports yourself like me you can configure pkg to use only the local filesystem when accessing the repo.
+++++
Howto use local port
How do people in the different country to use ports when internet access is not always available
 
How do people in the different country to use ports when internet access is not always available
When net is OFF: change to the directory of the port to be installed, e.g. editors/vim and:
Code:
# cd /usr/ports/editors/vim
# make config-recursive

Do it several times until port option screens no longer appear.

When net is ON: change to the directory of the port to be installed, e.g.
editors/vim and:
Code:
# cd /usr/ports/editors/vim
# make fetch-recursive
 
Back
Top