Command line interface to LastPass.com.
lpass
is designed to run on GNU/Linux, Cygwin and Mac OS X.
- LibreSSL or OpenSSL
- libcurl
- libxml2
- pinentry (optional)
- AsciiDoc (build-time documentation generation only)
- xclip, xsel, pbcopy, or putclip from cygutils-extra for clipboard support (optional)
- Binary packages are available in the Arch User Repository AUR.
- Install the needed build dependencies, and then follow instructions in the 'Building' section.
sudo yum install openssl libcurl libxml2 pinentry xclip openssl-devel libxml2-devel libcurl-devel
-
Install the needed build dependencies, and then follow instructions in the 'Building' section.
-
For Debian:
sudo apt-get install openssl libcurl3 libxml2 libssl-dev libxml2-dev libcurl4-openssl-dev pinentry-curses xclip
- For Ubuntu:
sudo apt-get install openssl libcurl4-openssl-dev libxml2 libssl-dev libxml2-dev pinentry-curses xclip
- Install the package
sudo emerge lastpass-cli
Install the packages listed in the Dependencies section of this document.
- Install homebrew following the instructions at http://brew.sh/
- Install lastpass-cli using homebrew:
brew install lastpass-cli --with-pinentry
Optionally you can add --with-doc
to install the documentation.
- Install the binary package
sudo pkg install security/lastpass-cli
- Or build the port yourself
sudo make -C /usr/ports/security/lastpass-cli all install clean
- Install apt-cyg
- Using apt-cyg, install the needed dependencies
apt-cyg install wget make gcc-core openssl-devel libcurl-devel libxml2-devel cygutils-extra
$ make
$ 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
The install-doc
target builds and installs the documentation.
It requires AsciiDoc as a prerequisite.
$ sudo make install-doc
Once installed,
$ man lpass