How To Install cb2bib on Ubuntu 20.04

In this tutorial we learn how to install cb2bib on Ubuntu 20.04. cb2bib is extract bibliographic references from various sources

Introduction

In this tutorial we learn how to install cb2bib on Ubuntu 20.04.

What is cb2bib

cb2bib is:

cb2bib is a program to extract bibliographic references from unformatted and non standard sources, like:

  • email alerts;
  • journal Web pages;
  • and most interestingly PDF files.

Output references are written to BibTeX-formatted files. Other features include:

  • article files can be linked and renamed by dragging them onto the cb2Bib window;
  • editing and browsing BibTeX files;
  • citing references, searching references and the full contents of the referenced documents;
  • inserting bibliographic metadata to documents;
  • writing short notes that interrelate several references.

There are three methods to install cb2bib on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cb2bib Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install cb2bib using apt-get by running the following command:

sudo apt-get -y install cb2bib

Install cb2bib Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cb2bib using apt by running the following command:

sudo apt -y install cb2bib

Install cb2bib Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install cb2bib using aptitude by running the following command:

sudo aptitude -y install cb2bib

How To Uninstall cb2bib on Ubuntu 20.04

To uninstall only the cb2bib package we can use the following command:

sudo apt-get remove cb2bib

Uninstall cb2bib And Its Dependencies

To uninstall cb2bib and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove cb2bib

Remove cb2bib Configurations and Data

To remove cb2bib configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge cb2bib

Remove cb2bib configuration, data, and all of its dependencies

We can use the following command to remove cb2bib configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cb2bib

References

Summary

In this tutorial we learn how to install cb2bib package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.