1、安装python3和pip3
sudo apt install python3 python3-pip
2、安装powerline
sudo apt install powerline
3、配置powerline
#powerline config
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bindings/bash/powerline.sh
5、让配置文件生效
source .bashrc
标签:sudo,apt,22.04,BASH,ubuntu,powerline,python3 From: https://www.cnblogs.com/guochaoxxl/p/17452552.html