For debian or ubuntu derivatives:
$ apt-get install -y python3-gi python3-six python3-serial gir1.2-gtk-3.0 mercurial $ hg clone http://d-rats.com/hg/chirp.hg $ cd chirp.hg $ hg update py3 $ python3 chirpw