skip to Main Content

I am new to linux and am trying to install Phytebyte on my Ubuntu VM following the readme file.
https://github.com/seanharr11/phytebyte

I am running the following code on the terminal but getting this result, any tips as to how I can get through this?

(base) max@max-VirtualBox:~/phytebyte$ tar zxf openbabel-3-1-1.tar.gz mkdir build cd build cmake ../openbabel-openbabel-3-1-1 -DPYTHON_BINDINGS=ON -DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DRUN_SWIG=ON make -j4 make install

tar: invalid option -- 'D'
Try 'tar --help' or 'tar --usage' for more information.

Thanks in advance.

I was expecting to follow the readme install file fairly easily but am unsure how to proceed with the errors.

2

Answers


  1. Run them one-by-one:

    tar zxf openbabel-3-1-1.tar.gz

    mkdir build

    cd build

    cmake ../openbabel-openbabel-3-1-1 -DPYTHON_BINDINGS=ON -DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DRUN_SWIG=ON

    make -j4

    make install

    Login or Signup to reply.
  2. You’ve pasted multiple commands as one, either execute them separately:

    $ tar zxf openbabel-3-1-1.tar.gz 
    $ mkdir build 
    $ cd build 
    $ cmake ../openbabel-openbabel-3-1-1 -DPYTHON_BINDINGS=ON -DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DRUN_SWIG=ON 
    $ make -j4 
    $ make install
    

    or chain them together with && operator

    $ tar zxf openbabel-3-1-1.tar.gz && mkdir build && cd build && cmake ../openbabel-openbabel-3-1-1 -DPYTHON_BINDINGS=ON -DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DRUN_SWIG=ON && make -j4 && make install
    

    Very likely the make install step will require root privilages, so consider running it with sudo.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search