Install - No public key / op:command not found

noisea
noisea
Community Member
edited February 2022 in CLI

Hello, I have followed the instructions to install 1password CLI for ubuntu server 21.10 exactly as they are stated on : https://support.1password.com/command-line-getting-started/ , however when I run op --version, it says op: command not found. when I try to verify or decrypt the gpg key it says gpg: Can't check signature: No public key

I am still new and learning how to use Linux, so I apologize in advance if this is something basic.

I searched for the answer on this forum but the similar topics like https://1password.community/discussion/comment/567039#Comment_567039 didn't work. This solution returned the following: key server receive failed: Server indicated a failure . another similar solution pointed to a url that is now broken.

1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Linux ubuntu server 21.10

Comments

  • Hey @noisea,

    I will provide you a set of commands that you can run in a terminal to fully install the 1Password CLI on your Ubuntu Server 21.10.

    Before that, make sure you have the following tools installed:

    • unzip
    • wget

    To Install them, run the following command:

    sudo apt-get install unzip wget
    

    Here is the set of commands that you can run in a terminal to install the CLI on your Ubuntu server 21.10:

    ARCH="<choose between 386/amd64/arm/arm64>" && \
        wget "https://cache.agilebits.com/dist/1P/op/pkg/v1.12.4/op_linux_${ARCH}_v1.12.4.zip" -O op.zip && \
        unzip -d op op.zip && \
        sudo mv op/op /usr/local/bin && \
        rm -r op.zip op
    

    To check if the CLI has been successfully installed, run the following command:

    op --version
    

    Let me know if this helps.

This discussion has been closed.