How To Install lastpass-cli on Fedora 36

In this tutorial we learn how to install lastpass-cli in Fedora 36. lastpass-cli is Command line interface to LastPass.com

Introduction

In this tutorial we learn how to install lastpass-cli on Fedora 36.

What is lastpass-cli

A command line interface to LastPass.com.

We can use yum or dnf to install lastpass-cli on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lastpass-cli.

Install lastpass-cli on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install lastpass-cli using dnf by running the following command:

sudo dnf -y install lastpass-cli

Install lastpass-cli on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install lastpass-cli using yum by running the following command:

sudo yum -y install lastpass-cli

How To Uninstall lastpass-cli on Fedora 36

To uninstall only the lastpass-cli package we can use the following command:

sudo dnf remove lastpass-cli

lastpass-cli Package Contents on Fedora 36

/usr/bin/lpass
/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/4991394886f0f8db5011b28b4a59a6d0a72939
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/lpass-completion.bash
/usr/share/doc/lastpass-cli
/usr/share/doc/lastpass-cli/CONTRIBUTING
/usr/share/doc/lastpass-cli/README.md
/usr/share/doc/lastpass-cli/examples
/usr/share/doc/lastpass-cli/examples/change-mysql-password.sh
/usr/share/doc/lastpass-cli/examples/change-ssh-password.sh
/usr/share/doc/lastpass-cli/examples/git-credential-lastpass
/usr/share/doc/lastpass-cli/examples/lpass-sudo-askpass.sh
/usr/share/doc/lastpass-cli/examples/lpass-sudo.sh
/usr/share/doc/lastpass-cli/examples/msmtprc
/usr/share/fish/vendor_functions.d
/usr/share/fish/vendor_functions.d/lpass.fish
/usr/share/licenses/lastpass-cli
/usr/share/licenses/lastpass-cli/COPYING
/usr/share/licenses/lastpass-cli/LICENSE.OpenSSL
/usr/share/man/man1/lpass.1.gz
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_lpass

References

Summary

In this tutorial we learn how to install lastpass-cli on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).