install third party software

When installing Ubuntu it always has this box which says Install this third-party software , but I am wondering exactly which third-party software and where it is installing it from.

I can see the description below, however I want to know exactly which software is being installed, which packages, and from where.

Ubuntu GNOME uses third-party software to play Flash, MP3 and other media, and to work with some graphics and wi-fi hardware. Some of this software is proprietary. The software is subject to license terms included with its documentation.

3 Answers 3

Edit

After digging some more through output of

dpkg —get-selections | xargs apt-cache policy | grep -B5 ‘multiverse’ it turns out there exists meta-package ubuntu-restricted-addons . The /var/lib/dpkg/info/ubuntu-restricted-addons.list pointed me to the file /usr/share/doc/ubuntu-restricted-addons/README.Debian

The contents of that file state:

This package was split into ubuntu-restricted-extras and ubuntu-restricted-addons to allow the desktop CD installer (ubiquity) to install a subset of the packages available in the original ubuntu-restricted-extras package.

Moving forward, ubuntu-restricted-extras should only contain multiverse packages, whereas ubuntu-restricted-addons should contain main and universe packages, as well as any packages from multiverse that have been vetted by a lawyer.

Since ubuntu-restricted-extras depends on ubuntu-restricted-addons, users should be discouraged from installing ubuntu-restricted-addons outside of the desktop CD installer. This is the reasoning behind the warning and sparse description in ubuntu-restricted-addons.

— Evan Dandrea Thu, 05 Aug 2010 16:14:43 -0400

Thus, Ubuntu installer allows you to install ubuntu-restricted-addons meta-package.

apt-cache tells us what goes into that package:

This is pretty much the same output as on my 15.10 virtual machine.

Thus , my conclusion is that ubuntu-restricted-addons from multiverse repository is where the third-party software comes from.

Original post In terms of /etc/apt/sources.list file those would be any software that comes from deb http://archive.ubuntu.com/ubuntu $RELEASE multiverse as well as deb http://archive.ubuntu.com/ubuntu $RELEASE restricted repository.

It’s also references in the software-properties-gtk program

You can list packages in those repositories with

How NLTK Discovers Third Party Software

NLTK finds third party software through environment variables or via path arguments through api calls. This page will list installation instructions & their associated environment variables.

Java is not required by nltk, however some third party software may be dependent on it. NLTK finds the java binary via the system PATH environment variable, or through JAVAHOME or JAVA_HOME .

To search for java binaries (jar files), nltk checks the java CLASSPATH variable, however there are usually independent environment variables which are also searched for each dependency individually.

  • Download & Install the jdk on java’s official website: http://www.oracle.com/technetwork/java/javase/downloads/index.html?ssSourceSite >

It is best to use the package manager to install java.

Stanford Tagger, NER, Tokenizer and Parser.

  • Make sure java is installed (version 1.8+)
  • Download & extract the stanford NER package http://nlp.stanford.edu/software/CRF-NER.shtml
  • Download & extract the stanford POS tagger package http://nlp.stanford.edu/software/tagger.shtml
  • Download & extract the stanford Parser package: http://nlp.stanford.edu/software/lex-parser.shtml
  • Add the directories containing stanford-postagger.jar , stanford-ner.jar and stanford-parser.jar to the CLASSPATH environment variable
  • Point the STANFORD_MODELS environment variable to the directory containing the stanford tokenizer models, stanford pos models, stanford ner models, stanford parser models e.g ( arabic.tagger , arabic-train.tagger , chinese-distsim.tagger , stanford-parser-x.x.x-models.jar . )
  • e.g. export STANFORD_MODELS=/usr/share/stanford-postagger-full-2015-01-30/models:/usr/share/stanford-ner-2015-04-20/classifier

Tadm (Toolkit for Advanced Discriminative Modeling)

  • Download & compile TADM: http://tadm.sourceforge.net/
  • Set the environment variable TADM to point to the tadm binaries directory.

Megam (MEGA Model Optimization Package)

hal/megam/index.html

  • Set the environment variable MEGAM to point to the MEGAM directory.
  • If using macports version of ocaml, modify the MEGAM Makefile to specify the following: WITHCLIBS =-I /opt/local/lib/ocaml/caml and WITHSTR =str.cma -cclib -lcamlstr
    • Checkout & compile the latest SVN revision http://svn.ask.it.usyd.edu.au/trac/candc/wiki/Subversion
    • Set the environment variable CANDC to point to the C&C directory.

    mccune/mace4/

  • Set the environment variable PROVER9 to point to the binaries directory.
    • Make sure java is installed
    • Download & extract the Malt Parser: http://www.maltparser.org/download.html
    • Set the environment variable MALT_PARSER to point to the MaltParser directory, e.g. /home/user/maltparser-1.8/ in Linux.
    • When using a pre-trained model, set the environment variable MALT_MODEL to point to .mco file, e.g. engmalt.linear-1.7.mco from http://www.maltparser.org/mco/mco.html.
    • Download & extract the hunpos tagger and a model file: https://code.google.com/p/hunpos/downloads/list
    • Set the environment variable HUNPOS_TAGGER to point to the directory containing the hunpos-tag binary
    • NLTK also searches for the model files using the same environment variable, so you can put the model file in the same location (NB the model file path can also be passed to the nltk.tag.hunpos.HunposTagger class via the path_to_model argument)

    Senna for Various NLP Tasks

    • Download & extract the Senna files:
    • Set the environment variable SENNA to point to the senna directory. NLTK searches for the binary executable files via this environment variable, but the directory path can also be passed to the nltk.tag.senna.SennaTagger class via the senna_path argument.

    CRFSuite for CRF Tagger

    • Download & compile : http://www.chokkan.org/software/crfsuite/
    • Set the environment variable CRFSUITE to point to the directory containing crfsuite (for Linux) or crfsuite.exe for Window. NLTK searches for the binary executable files via this environment variable, but the executable file path can also be passed to the nltk.tag.crfsuite.CRFTagger class via the file_path argument.
    • The installation instructions above is tested for Linux and Mac OS. For more information, see http://moin.delph-in.net/ReppTop
    • After installing you can set the environment variable REPP_TOKENIZER to point to the directory containing the repp tokenizer, e.g. ( /path/to/where/you/wanna/save/repp/ ), then you can instantiate the tokenizer object without specifying any parameter, e.g. ( tokenizer = nltk.tokenize.ReppTokenizer() )
    • Also, you can directly create the ReppTokenizer object by passing in the directory containing the repp tokenizer without setting the environment variable, i.e. ( tokenizer = nltk.tokenize.ReppTokenizer(/path/to/where/you/wanna/save/repp) )

    If at the ./configure CPPFLAGS=-P step, it shows an error like this on Mac:

    Please install and link the ICU library ( brew install icu4c && brew link icu4c —force ) and then retry from the ./configure CPPFLAGS=-P step. If for any reason, you need to unlink the icu4c, try: brew unlink icu4c .

    To have additional features like the full preview, you need to install some external components.

    Conversion to PDF

    This feature allows you to convert an office type document in pdf format. Requires the presence on the system of LibreOffice.

    LibreOffice

    LibreOffice is the office suite of reference for Ubuntu, in many systems is pre-installed by default, so check if you have already installed on your system before running the commands below.

    Get the installation path of your LibreOffice

    This is the path you should use to fill-in the field «LibreOffice path»

    Preview of Documents

    The preview of the documents allows you to view the contents of the documents without having to actually download, it is also optimized for large documents. Note: Requires the presence of the tool for conversion to PDF (see Convert to PDF)

    ImageMagick

    You have to install and configure ImageMagick (rel 6.6 or greater). LogicalDOC uses ImageMagick to manipulate images for previewing. Verify if ImageMagick is already installed on your system. You can run the convert command, which is part of ImageMagick and usually located in /usr/bin. If ImageMagick is not present, browse to the ImageMagick download site and install the appropriate package for your platform.

    On Ubuntu 12.04 LTS minimal you can install ImageMagick by executing this command:

    GhostScript

    LogicalDOC needs to print documents to a virtual device sometimes when performing barcode recognition. In general GhostScript is a package installed by default in all Linux distributions.

    To install it on Ubuntu, execute this command:

    Tesseract

    Tesseract is an Open Source OCR engine adopted by Google. This package represents the basic OCR engine available on LogicalDOC and it is required only if you want to extract texts inside images.

    This is a converter from Pdf to HTML format, LogicalDOC makes use of this utility to prepare the documents for annotations. Without this you will not be able to insert annotations inside the content of the document.

    To install it on Ubuntu, execute this command:

    Оцените статью