sudo add-apt-repository ppa:ubuntu-elisp/ppa
sudo apt update
sudo apt install emacs-snapshot emacs-snapshot-el
trouble shooting:
ImportError: No module named apt_pkg
解决方法:
cd /usr/lib/python3/dist-packages
sudo cp apt_pkg.cpython-34m-i386-linux-gnu.so apt_pkg.so
参考
python-dev installation error: ImportError: No module named apt_pkg
网友评论