ubuntu – install .deb

download .deb file

root@bt:~# dpkg -h
Usage: dpkg [ ...]

Commands:
-i|--install ... | -R|--recursive ...
--unpack ... | -R|--recursive ...
-A|--record-avail ... | -R|--recursive ...
--configure ... | -a|--pending
--triggers-only ... | -a|--pending
-r|--remove ... | -a|--pending
-P|--purge ... | -a|--pending
--get-selections [ ...] Get list of selections to stdout.
--set-selections Set package selections from stdin.
--clear-selections Deselect every non-essential package.
--update-avail Replace available packages info.
--merge-avail Merge with info from file.
--clear-avail Erase existing available info.
--forget-old-unavail Forget uninstalled unavailable pkgs.
-s|--status ... Display package status details.
-p|--print-avail ... Display available version details.
-L|--listfiles ... List files `owned' by package(s).
-l|--list [ ...] List packages concisely.
-S|--search ... Find package(s) owning file(s).
-C|--audit Check for broken package(s).
--print-architecture Print dpkg architecture.
--compare-versions Compare version numbers - see below.
--force-help Show help on forcing.
-Dh|--debug=help Show help on debugging.

-h|--help Show this help message.
--version Show the version.
--license|--licence Show the copyright licensing terms.

Use dpkg -b|--build|-c|--contents|-e|--control|-I|--info|-f|--field|
-x|--extract|-X|--vextract|--fsys-tarfile on archives (type dpkg-deb --help).

For internal use: dpkg --assert-support-predepends | --predep-package |
--assert-working-epoch | --assert-long-filenames | --assert-multi-conrep.

Options:
--admindir= Use instead of /var/lib/dpkg.
--root= Install on a different root directory.
--instdir= Change installation dir without changing admin dir.
-O|--selected-only Skip packages not selected for install/upgrade.
-E|--skip-same-version Skip packages whose same version is installed.
-G|--refuse-downgrade Skip packages with earlier version than installed.
-B|--auto-deconfigure Install even if it would break some other package.
--[no-]triggers Skip or force consequential trigger processing.
--no-debsig Do not try to verify package signatures.
--no-act|--dry-run|--simulate
Just say what we would do - don't do it.
-D|--debug= Enable debugging (see -Dhelp or --debug=help).
--status-fd Send status change updates to file descriptor .
--log= Log status changes and actions to .
--ignore-depends=,...
Ignore dependencies involving .
--force-... Override problems (see --force-help).
--no-force-...|--refuse-...
Stop when problems encountered.
--abort-after Abort after encountering errors.

Comparison operators for --compare-versions are:
lt le eq ne ge gt (treat empty version as earlier than any version);
lt-nl le-nl ge-nl gt-nl (treat empty version as later than any version);
< << = >> > (only for compatibility with control file syntax).

Use `dselect' or `aptitude' for user-friendly package management.

-----------------------------------------------------
Example installing splunk

root@bt:~# dpkg -i splunk-4.3.3-128297-linux-2.6-intel.deb

-----------------------------------------------------

Splunk has been installed in:
/opt/splunk

To start Splunk, run the command:
/opt/splunk/bin/splunk start

To use the Splunk Web interface, point your browser at:
http://dojo-vm:8000

Complete documentation is at http://docs.splunk.com/Documentation/Splunk
----------------------------------------------------------------------

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s