[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg install



On Fri, Dec 28, 2001 at 10:54:56PM -0600, Nori Heikkinen wrote:
| from the dpgk(8) manpage, ll. 119-123:
| 
| ACTIONS
|        dpkg -i | --install package_file...
|               Install the package. If --recursive or -R option is
|               specified,  package_file  must refer to a directory
|               instead.
| 
| shouldn't this be either 
| 
| dpgk -i package_file.deb
| 
| OR
| 
| dpgk --install package_file.deb

Yes.

| ?  as i'm understanding it (which may not be too well), the command dpkg -i is
| piped to --install package_file, to which bash rightly responds: 

That vertical bar is used not as a pipe symbol (as bash treats it) but
as a regex alternation (meaning, roughly, "or").  It means that you
can use the option "-i" or the option "--install".

-D

-- 

Better a little with righteousness
than much gain with injustice.
        Proverbs 16:8



Reply to: