bib2gls command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bib2gls: command not found
or when using sudo you get the following error message
sudo: bib2gls: command not found
Solutions to bib2gls: command not found
How To Fix bib2gls: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bib2gls is provided by texlive-bibtex-extra package.
texlive-bibtex-extra is:
Additional BibTeX styles and bibliography data(bases), notably including BibLaTeX.
This package includes the following CTAN packages:
aaai-named – BibTeX style for AAAI
aichej – Bibliography style file for the AIChE Journal
ajl – BibTeX style for AJL
amsrefs – A LaTeX-based replacement for BibTeX
annotate – A bibliography style with annotations
apacite – Citation style following the rules of the APA
apalike-ejor – A BibTeX style file for the European Journal of Operational Research
apalike2 – Bibliography style that approaches APA requirements
archaeologie – A citation-style which covers rules of the German Archaeological Institute
authordate – Author/date style citation styles
beebe – A collection of bibliographies
besjournals – Bibliographies suitable for British Ecological Society journals
bestpapers – A BibTeX package to produce lists of authors’ best papers
bib2gls – Command line application to convert .bib files to glossaries-extra.sty resource files
bibarts – “Arts”-style bibliographical information
bibexport – Extract a BibTeX file based on a .aux file
bibhtml – BibTeX support for HTML files
biblatex – Sophisticated Bibliographies in LaTeX
biblatex-abnt – BibLaTeX style for Brazil’s ABNT rules
biblatex-ajc2020unofficial – BibLaTeX style for the Australasian Journal of Combinatorics
biblatex-anonymous – A tool to manage anonymous work with BibLaTeX
biblatex-apa – BibLaTeX citation and reference style for APA
biblatex-apa6 – BibLaTeX citation and reference style for APA 6th Edition
biblatex-archaeology – A collection of BibLaTeX styles for German prehistory
biblatex-arthistory-bonn – BibLaTeX citation style covers the citation and bibliography guidelines for art historians
biblatex-bath – Harvard referencing style as recommended by the University of Bath Library
biblatex-bookinarticle – Manage book edited in article
biblatex-bookinother – Manage book edited in other entry type
biblatex-bwl – BibLaTeX citations for FU Berlin
biblatex-caspervector – A simple citation style for Chinese users
biblatex-chem – A set of BibLaTeX implementations of chemistry-related bibliography styles
biblatex-chicago – Chicago style files for BibLaTeX
biblatex-claves – A tool to manage claves of old litterature with BibLaTeX
biblatex-cv – Create a CV from BibTeX files
biblatex-dw – Humanities styles for BibLaTeX
biblatex-enc – BibLaTeX style for the Ecole nationale des chartes (Paris)
biblatex-ext – Extended BibLaTeX standard styles
biblatex-fiwi – BibLaTeX styles for use in German humanities
biblatex-gb7714-2015 – A BibLaTeX implementation of the GBT7714-2015 bibliography style for Chinese users
biblatex-german-legal – Comprehensive citation style for German legal texts
biblatex-gost – BibLaTeX support for GOST standard bibliographies
biblatex-historian – A BibLaTeX style
biblatex-ieee – IEEE style files for BibLaTeX
biblatex-ijsra – BibLaTeX style for the International Journal of Student Research in Archaeology
biblatex-iso690 – BibLaTeX style for ISO 690 standard
biblatex-jura2 – Citation style for the German legal profession
biblatex-juradiss – BibLaTeX stylefiles for German law theses
biblatex-license – Add license data to the bibliography
biblatex-lncs – BibLaTeX style for Springer Lecture Notes in Computer Science
biblatex-lni – LNI style for BibLaTeX
biblatex-luh-ipw – BibLaTeX styles for social sciences
biblatex-manuscripts-philology – Manage classical manuscripts with BibLaTeX
biblatex-mla – MLA style files for BibLaTeX
biblatex-morenames – New names for standard BibLaTeX entry type
biblatex-multiple-dm – Load multiple datamodels in BibLaTeX
biblatex-musuos – A BibLaTeX style for citations in musuos.cls
biblatex-nature – BibLaTeX support for Nature
biblatex-nejm – BibLaTeX style for the New England Journal of Medicine (NEJM)
biblatex-nottsclassic – Citation style for the University of Nottingham
biblatex-opcit-booktitle – Use op. cit. for the booktitle of a subentry
biblatex-oxref – BibLaTeX styles inspired by the Oxford Guide to Style
biblatex-philosophy – Styles for using BibLaTeX for work in philosophy
biblatex-phys – A BibLaTeX implementation of the AIP and APS bibliography style
biblatex-publist – BibLaTeX bibliography support for publication lists
biblatex-readbbl – Read a .bbl file created by biber
biblatex-realauthor – Indicate the real author of a work
biblatex-sbl – Society of Biblical Literature (SBL) style files for BibLaTeX
biblatex-science – BibLaTeX implementation of the Science bibliography style
biblatex-shortfields – Use short forms of fields with BibLaTeX
biblatex-socialscienceshuberlin – BibLaTeX-style for the social sciences at HU Berlin
biblatex-software – BibLaTeX stylefiles for software products
biblatex-source-division – References by “division” in classical sources
biblatex-spbasic – A BibLaTeX style emulating Springer’s old spbasic.bst
biblatex-subseries – Manages subseries with BibLaTeX
biblatex-swiss-legal – Bibliography and citation styles following Swiss legal practice
biblatex-trad – “Traditional” BibTeX styles with BibLaTeX
biblatex-true-citepages-omit – Correction of some limitation of the citepages=omit option of BibLaTeX styles
biblatex-unified – BibLaTeX implementation of the unified stylesheet for linguistics journals
biblatex-vancouver – Vancouver style for BibLaTeX
biblatex2bibitem – Convert BibLaTeX-generated bibliography to bibitems
biblist – Print a BibTeX database
bibtexperllibs – BibTeX Perl Libraries
bibtopic – Include multiple bibliographies in a document
bibtopicprefix – Prefix references to bibliographies produced by bibtopic
bibunits – Multiple bibliographies in one document
biolett-bst – A BibTeX style for the journal “Biology Letters”
bookdb – A BibTeX style file for cataloguing a home library
breakcites – Ensure that multiple citations may break at line end
cell – Bibliography style for Cell
chbibref – Change the Bibliography/References title
chembst – A collection of BibTeX files for chemistry journals
chicago – A “Chicago” bibliography style
chicago-annote – Chicago-based annotated BibTeX style
chicagoa – “Chicago” bibliography style with annotations
chscite – Bibliography style for Chalmers University of Technology
citation-style-language – Bibliography formatting with Citation Style Language
citeall – Cite all entries of a bbl created with BibLaTeX
citeref – Add reference-page-list to bibliography-items
collref – Collect blocks of references into a single reference
compactbib – Multiple thebibliography environments
crossrefware – Scripts for working with crossref.org
custom-bib – Customised BibTeX styles
din1505 – Bibliography styles for German texts
dk-bib – Danish variants of standard BibTeX styles
doipubmed – Special commands for use in bibliographies
ecobiblatex – Global Ecology and Biogeography BibLaTeX styles for the Biber backend
econ-bst – BibTeX style for economics papers
economic – BibTeX support for submitting to Economics journals
fbs – BibTeX style for Frontiers in Bioscience
figbib – Organize figure databases with BibTeX
footbib – Bibliographic references as footnotes
francais-bst – Bibliographies conforming to French typographic standards
gbt7714 – BibTeX implementation of China’s bibliography style standard GB/T 7714-2015
geschichtsfrkl – BibLaTeX style for historians
harvard – Harvard citation package for use with LaTeX 2e
harvmac – Macros for scientific articles
hep-bibliography – An acronym extension for glossaries
historische-zeitschrift – BibLaTeX style for the journal ‘Historische Zeitschrift’
icite – Indices locorum citatorum
ietfbibs – Generate BibTeX entries for various IETF index files
ijqc – BibTeX style file for the Intl. J. Quantum Chem
inlinebib – Citations in footnotes
iopart-num – Numeric citation style for IOP journals
is-bst – Extended versions of standard BibTeX styles
jbact – BibTeX style for biology journals
jmb – BibTeX style for the Journal of Theoretical Biology
jneurosci – BibTeX style for the Journal of Neuroscience
jurabib – Extended BibTeX citation support for the humanities and legal texts
ksfh_nat – BibTeX style for KSFH Munich
listbib – Lists contents of BibTeX files
logreq – Support for automation of the LaTeX workflow
ltb2bib – Converts amsrefs’ .ltb bibliographical databases to BibTeX format
luabibentry – Repeat BibTeX entries in a LuaLaTeX document body
margbib – Display bibitem tags in the margins
multibib – Multiple bibliographies within one document
multibibliography – Multiple versions of a bibliography, with different sort orders
munich – An alternative authordate bibliography style
nar – BibTeX style for Nucleic Acid Research
newcastle-bst – This package provides a BibTeX style to format reference lists in the Harvard at Newcastle style
nmbib – Multiple versions of a bibliography, with different sort orders
notes2bib – Integrating notes into the bibliography
notex-bst – A BibTeX style that outputs HTML
oscola – BibLaTeX style for the Oxford Standard for the Citation of Legal Authorities
perception – BibTeX style for the journal Perception
plainyr – Plain bibliography style, sorted by year first
pnas2009 – BibTeX style for PNAS (newer version)
rsc – BibTeX style for use with RSC journals
showtags – Print the tags of bibliography entries
sort-by-letters – Bibliography styles for alphabetic sorting
splitbib – Split and reorder your bibliography
turabian-formatting – Formatting based on Turabian’s Manual
uni-wtal-ger – Citation style for literary studies at the University of Wuppertal
uni-wtal-lin – Citation style for linguistic studies at the University of Wuppertal
urlbst – Web support for BibTeX
usebib – A simple bibliography processor
vak – BibTeX style for Russian Theses, books, etc
windycity – A Chicago style for BibLaTeX
xcite – Use citation keys from a different document
zootaxa-bst – A BibTeX style for the journal Zootaxa
To fix this problem, we can install more using the command below.
sudo apt-get -y install texlive-bibtex-extra
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install texlive-bibtex-extra.
sudo apt -y install texlive-bibtex-extra
Or if you have aptitude installed you can use the following command.
sudo aptitude install texlive-bibtex-extra
Summary
In this tutorial we learn how to fix bib2gls command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.