Friday, January 7, 2022

[SOLVED] How to install latest uWSGI/stable on Ubuntu with apt-get

Issue

I've done the below on a fresh ubuntu/trusty install:

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install uwsgi

Which ends up installing 1.9.17.1-debian. According to the uWSGI website, 2.0.10 is the latest stable version.

How would I go about updating my repositories to reflect this? I'm new to Ubuntu/Linux and don't understand why apt-get update isn't working as I understand it should be.

Thanks!


Solution

apt-get installs from Ubuntu repo which is behind any specific app repo. With Python, you usually install packages from PyPI (which is normally up-to-date) with pip and into a virtualenv.



Answered By - jwalker