下載emacs-25.3.tar.gz
tar zxf emacs-25.3.tar.gz
cd emacs-25.3
執行./configure命令出現以下錯誤:
'''shell
configure: error: You seem to be running X, but no X development libraries
were found. You should install the relevant development files for X
and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
sure you have development files for image handling, i.e.
tiff, gif, jpeg, png and xpm.
If you are sure you want Emacs compiled without X window support, pass
--without-x
to configure.
'''
apt-cache search libgtk
apt-get install libgtk-3-dev
'''
configure: error: The following required libraries were not found:
libXpm libjpeg libgif/libungif libtiffshell
'''
apt-cache search libXpm
依次安裝ubuntu
打開終端,切換到root權限,進入/mnt目錄,執行命令:post
新建目錄:mkdir sharedui
掛載:sudo mount -t vboxsf share /mnt/shared/token
查看:進入 /mnt/share/目錄查看到了Windows下的文件。ip
一、開機按ESC
選擇advanced options for Ubuntu
2.回車
Ubuntu ,with Linux 4.4.0-24-generic (recovery mode)
3.等待加載完成..你將看到"Recovery Menu (filesystem state :read-only)"
4.選擇root
Drop to root shell prompt 就會進入單用戶模式了..
passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: Authentication token manipulation error
passwd: password unchanged
mount -o rw,remount / .輸入後什麼也不會提示rem