How To Install lastpass-cli on Rocky Linux 8
Introduction
In this tutorial we learn how to install lastpass-cli
on Rocky Linux 8.
What is lastpass-cli
A command line interface to LastPass.com.
We can use yum
or dnf
to install lastpass-cli
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lastpass-cli.
Install lastpass-cli on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the lastpass-cli
package we can use the following command:
sudo dnf remove lastpass-cli
lastpass-cli Package Contents on Rocky Linux 8
/usr/bin/lpass
/usr/lib/.build-id
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/9258a18ae847b58d5cb8a3963d6b5c2d6486da
/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 Rocky Linux 8 using yum and dnf.