Talk:OEP:pkg

From Octave
Jump to navigation Jump to search

Names of the commands[edit]

Discussing user cases[edit]

User case #6[edit]

Why not store the "packages.db" together with the packages? Instead of loading the a packages database file. Then, Diana could just say pkg addpath ~Ligia/octave
The packages.db is stored with the packages. However, pkg purpose is to deal with packages, abstracting the user from Octave's function search path. If the user wants to add paths manually, then he can use addpath directly. Plus, adding the db file will only make the packages available to pkg, it does not load the packages. It may have packages she is not interested in loading.