ubuntu

本文档详细介绍了在Ubuntu环境下解决Emacs安装过程中遇到的X开发库缺失问题的方法,并提供了具体的apt-get安装命令。此外,还介绍了如何在Ubuntu中配置共享文件夹以及解决root密码遗忘的问题。

Ubuntu配置apacemacs:

下载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 libtiff

'''
apt-cache search libXpm
依次安装

Ubuntu配置共享文件夹

打开终端,切换到root权限,进入/mnt目录,执行命令:

新建目录:mkdir shared

挂载:sudo mount -t vboxsf share /mnt/shared/

查看:进入 /mnt/share/目录查看到了Windows下的文件。

 

 

ubuntu16.04忘记root密码

1、开机按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 / .输入后什么也不会提示

 

 

ubuntu xshell链接

 

转载于:https://www.cnblogs.com/gregoryli/p/9257556.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值