How to Install and Uninstall python-flask Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 07,2024

1. Install "python-flask" package

Please follow the steps below to install python-flask on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-flask

2. Uninstall "python-flask" package

This guide let you learn how to uninstall python-flask on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-flask $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-flask package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-flask
Architecture: all
Version: 0.10.1-2ubuntu0.1
Priority: optional
Section: python
Source: flask
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Piotr Ożarowski
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 243
Depends: python-itsdangerous, python-jinja2 (>= 2.4), python-werkzeug (>= 0.8), python:any (<< 2.8), python:any (>= 2.7.5-5~)
Recommends: python-pkg-resources, python-simplejson | python (>= 2.6), python-blinker
Suggests: python-flask-doc
Filename: pool/main/f/flask/python-flask_0.10.1-2ubuntu0.1_all.deb
Size: 52112
MD5sum: 46a6e65f035caee9d0f57bcb62c28e23
SHA1: 7b574d8a729cf71aea34f066108e611a1c6c8119
SHA256: 3dd392543e8733ec73a3e333251b50ca3a4b868c9bd20eeebbe1dd03aca4bb2e
SHA512: 1f51de8fac38973ab6f213bdd6d39bf276bdf3d4f94644053fa53968819ea0da96b807237541db49bd752577c7d84d71aa6e8401d6ef1277c03fa6cccd54b73b
Homepage: http://flask.pocoo.org/
Description-en: micro web framework based on Werkzeug, Jinja2 and good intentions
Flask is a micro web framework for Python based on Werkzeug, Jinja 2 and good
intentions. A minimal Flask application looks like that:
.
from flask import Flask
app = Flask(__name__)
.
@app.route("/")
def hello():
return "Hello World!"
.
if __name__ == '__main__':
app.run()
Description-md5: af80b4121514ac9080cae2382910000f
Supported: 5y

Package: python-flask
Priority: optional
Section: python
Installed-Size: 271
Maintainer: Ubuntu Developers
Original-Maintainer: Piotr Ożarowski
Architecture: all
Source: flask
Version: 0.10.1-2build2
Depends: python-itsdangerous, python-jinja2 (>= 2.4), python-werkzeug (>= 0.8), python:any (<< 2.8), python:any (>= 2.7.5-5~)
Recommends: python-pkg-resources, python-simplejson | python (>= 2.6), python-blinker
Suggests: python-flask-doc
Filename: pool/main/f/flask/python-flask_0.10.1-2build2_all.deb
Size: 51778
MD5sum: 8bb417f554c409dff64503c21b6d5484
SHA1: 4fee1187bfe034420bccccdb621bdd8dcc5b80fa
SHA256: be3f9aa92d044e3c9b8bd43966b6c8b5cdf95d7fd54d2a3c16934c7731c68018
Description-en: micro web framework based on Werkzeug, Jinja2 and good intentions
Flask is a micro web framework for Python based on Werkzeug, Jinja 2 and good
intentions. A minimal Flask application looks like that:
.
from flask import Flask
app = Flask(__name__)
.
@app.route("/")
def hello():
return "Hello World!"
.
if __name__ == '__main__':
app.run()
Description-md5: af80b4121514ac9080cae2382910000f
Homepage: http://flask.pocoo.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y