存档

‘Gentoo’ 分类的存档

Remove Gnome From Gentoo Completely

2013年9月3日 2 条评论

It has been a year since I didn’t use gnome! The new Gnome3 disappointed me too much. So I use LXDE as my desktop, which is more simple, more confortable to me. But for some reasons, Gnome still get inside in my system.

Today, When I attempt to upgrade all my installed packages to latest, the package “systemd” drives me crazy. It conflicts with udev, which is a very basic packages in gentoo. Since I have not been ready to use systemd, all packages will be broken without udev installed correctlly. I have used many ways to solve the issue, e.g. mask udev and systemd temporarily, however, all methods I have tried failed.

As above metioned, I don’t need systemd at all actually, so why I need to install it when upgrade my system. After some research, I find it is the gnome’s upgrade which requires systemd.

BS, now I find the reason, the fix is very easy.

// Add USE="-gnome" in /etc/make.conf file 
// Set system profile through "eselect profile set", i.e. dont select gnome profile
emerge -C $(grep gnome /var/lib/portage/world) # Delete all packages belong to gnome
emerge -DuNav world # Rebuild the system
emerge -Da --depclean # Clean up system
revdep-rebuild -i # Check whether something is missing

That’s all!

分类: Gentoo 标签:

Gentoo 搭建 LaTex 编辑环境

2011年9月30日 没有评论

记录一下过程:

使用的是 ctex 的方案, 这样我不用再为中文和各种字体头疼了, 直接使用系统 中的字体. 由于系统是 Gentoo, 所以我装 zhspacing 这个包, 把依赖也一起 解决了.

$ sudo emerge texlive           #不知道为什么安装 zhspacing 没有安装这个包
$ sudo emerge zhspacing
$ sudo emerge dvipdfmx          #需要这个包的支持

剩下的, 参考之前的文章 用 org-mode 写 LaTeX

分类: Gentoo, LaTeX 标签: ,