我刚刚在我的 PC 上安装了 ubuntu,现在我想浏览一些代码。作为一个起点,我想看看 GLCells 屏幕保护程序源代码
我如何/在哪里可以找到 GLCells 的源代码。一般来说,我怎样才能找到 ubuntul OS 发行版的源代码?
sudo apt-get build-dep xscreensaver # Install the libraries and the tools needed
apt-get source xscreensaver # Download the sources
cd xscreensaver-5.10
(make changes to code)
dpkg-buildpackage -rfakeroot # Build a .deb
sudo gdebi ../xscreensaver*.deb # Install the package
为避免每次更改后都必须重新编译,请按照此处的说明进行操作:http: //www.debian.org/doc/maint-guide/ch-build.en.html
GLCells 与 XScreenSaver 捆绑在一起,源代码可以在这里下载:
http://www.jwz.org/xscreensaver/download.html
ISO 格式的 Ubuntu 源 CD 在这里(完整的CD 刻录指南):
ubuntu 存储库怎么样?