1.sudo add-apt-repository ppa:lyx-devel/release
2.sudo apt-get update
3. sudo apt-get install lyx
4. lyx