This is the fastest way to install weeWX on Debian-based systems, including Ubuntu, Mint, and Raspbian.
Tell apt where to find the weeWX releases. This only has to be done once - the first time you install.
wget -qO - http://weewx.com/keys.html | sudo apt-key add - wget -qO - http://weewx.com/apt/weewx.list | sudo tee /etc/apt/sources.list.d/weewx.list
Use apt-get to install weeWX. When you are done, weeWX will be running in the background as a daemon.
sudo apt-get update sudo apt-get install weewx
After 5 to 30 minutes, open the station web page in a web browser. You should see your station information and data.
This will remove weeWX, leaving any data intact.
sudo apt-get remove weewx