lbfgsb-examples_driver2_77 command not found

In this troubleshooting guide we learn how to fix lbfgsb-examples_driver2_77 command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

lbfgsb-examples_driver2_77: command not found

or when using sudo you get the following error message

sudo: lbfgsb-examples_driver2_77: command not found

Solutions to lbfgsb-examples_driver2_77: command not found

How To Fix lbfgsb-examples_driver2_77: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lbfgsb-examples_driver2_77 is provided by liblbfgsb-examples package.

liblbfgsb-examples is:

Fortran library implementing limited-memory quasi-Newton bound-constrained optimization as described in [1,2,3].

This package contains some example programs, their source code and example output as provided by upstream.

[1] R. H. Byrd, P. Lu and J. Nocedal. A Limited Memory Algorithm for Bound Constrained Optimization, (1995), SIAM Journal on Scientific and Statistical Computing , 16, 5, pp. 1190-1208.

[2] C. Zhu, R. H. Byrd and J. Nocedal. L-BFGS-B: Algorithm 778: L-BFGS-B, FORTRAN routines for large scale bound constrained optimization (1997), ACM Transactions on Mathematical Software, Vol 23, Num. 4, pp. 550 - 560.

[3] J.L. Morales and J. Nocedal. L-BFGS-B: Remark on Algorithm 778: L-BFGS-B, FORTRAN routines for large scale bound constrained optimization (2011), to appear in ACM Transactions on Mathematical Software.

To fix this problem, we can install more using the command below.

sudo apt-get -y install liblbfgsb-examples

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install liblbfgsb-examples.

sudo apt -y install liblbfgsb-examples

Or if you have aptitude installed you can use the following command.

sudo aptitude install liblbfgsb-examples

Summary

In this tutorial we learn how to fix lbfgsb-examples_driver2_77 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.