# Error in installation of g\_mmpbsa

**URL:** <https://gromacs.bioexcel.eu/t/error-in-installation-of-g-mmpbsa/2042>\
**Category:** User discussions\
**Tags:** installation-error\
**Created:** [April 28, 2021, 11:48am UTC](https://gromacs.bioexcel.eu/t/error-in-installation-of-g-mmpbsa/2042 "2021-04-28T11:48:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![merry](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@merry](https://gromacs.bioexcel.eu/u/merry)\
**Post date:** [April 28, 2021, 11:48am UTC](https://gromacs.bioexcel.eu/t/error-in-installation-of-g-mmpbsa/2042/1 "2021-04-28T11:48:30Z")

</div>

GROMACS version: 2019.6  
GROMACS modification: Yes/No

Hi. I’m installing g\_mmpbsa using the installation guide in the following link:

[https://rashmikumari.github.io/g\_mmpbsa/Download-and-Installation.html](https://rashmikumari.github.io/g_mmpbsa/Download-and-Installation.html)

1. tar -zxvf g\_mmpbsa.tar.gz
2. cd bin
3. sudo cp g\_mmpbsa /usr/local/bin/.
4. sudo cp energy2bfac /usr/local/bin/.

After using command line 3, I encountered with error:

**cp: failed to access ‘/usr/local/bin/.’: Not a directory**

I checked. In my linux, there is no bin directory. There is executive bin file in /usr/local

How to fix this issue?

---

<div class="post-metadata">

**Author:** ![pjohansson](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/pjohansson/32/316_2.png) [@pjohansson](https://gromacs.bioexcel.eu/u/pjohansson)\
**Post date:** [April 28, 2021, 2:16pm UTC](https://gromacs.bioexcel.eu/t/error-in-installation-of-g-mmpbsa/2042/2 "2021-04-28T14:16:16Z")

</div>

Hi,

this isn’t an official Gromacs tool so you should ask the author for further help.

That said, the solution is to copy the files to some directory which is in your $PATH variable. You’ll have to look this up for your Linux distribution but `/usr/bin/` is a likely alternative.

Regards,  
Petter
