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.
curl -s http://weewx.com/keys.html | sudo apt-key add - echo "deb [arch=all] http://weewx.com/apt/ squeeze main" | 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.
file:///var/www/html/weewx/index.html
This will remove weewx, leaving any data intact.
sudo apt-get remove weewx