Command line interface to LastPass.com.
lpass
is designed to run on GNU/Linux, Cygwin and Mac OS X.
# from community repository
sudo pacman -S lastpass-cli
# from AUR repository
packer -S lastpass-cli-git
sudo dnf install lastpass-cli
sudo yum install lastpass-cli
sudo yum install openssl libcurl libxml2 pinentry xclip openssl-devel libxml2-devel libcurl-devel gcc gcc-c++ make cmake
Install the needed build dependencies, and then follow instructions in the 'Building' section.
For Ubuntu 16.04 (xenial)
apt-get --no-install-recommends -yqq install \
bash-completion \
build-essential \
cmake \
libcurl3 \
libcurl3-openssl-dev \
libssl1.0.0 \
libssl-dev \
libxml2 \
libxml2-dev \
pkg-config \
ca-certificates \
xclip
apt-get --no-install-recommends -yqq install \
bash-completion \
build-essential \
cmake \
libcurl3 \
libcurl3-openssl-dev \
libssl1.0 \
libssl1.0-dev \
libxml2 \
libxml2-dev \
pkg-config \
ca-certificates \
xclip
apt-get --no-install-recommends -yqq install \
bash-completion \
build-essential \
cmake \
libcurl4 \
libcurl4-openssl-dev \
libssl-dev \
libxml2 \
libxml2-dev \
libssl1.1 \
pkg-config \
ca-certificates \
xclip
sudo emerge lastpass-cli
Install the packages listed in the Dependencies section of this document, and then follow instructions in the 'Building' section.
brew update
brew install lastpass-cli
sudo port selfupdate
sudo port install lastpass-cli
sudo port install lastpass-cli-doc
Install the packages listed in the Dependencies section of this document, and then follow instructions in the 'Building' section.
sudo pkg install security/lastpass-cli
sudo make -C /usr/ports/security/lastpass-cli all install clean
apt-cyg install wget make cmake gcc-core gcc-g++ openssl-devel libcurl-devel libxml2-devel libiconv-devel cygutils-extra
$ make
Under the covers, make invokes cmake in a build directory; you may also use cmake directly if you need more control over the build process.
$ sudo make install
These environment variables can be passed to make to do the right thing: PREFIX
, DESTDIR
, BINDIR
, LIBDIR
, MANDIR
.
If you've installed it:
$ lpass
Otherwise, from the build directory:
$ ./lpass
Install asciidoc
and xsltproc
if they are not already installed.
$ sudo apt-get install asciidoc xsltproc
The install-doc
target builds and installs the documentation.
$ sudo make install-doc
Once installed,
$ man lpass
You can view the full documentation in the manpage, man lpass
or view it online.