You must want to get the source code of some linux program when learning linux programming. eg. when write more command demo, you want the source code of the more already run on you linux system.
It's quite convenient on Ubuntu to get the source code with command apt-get source. But first, you had got to konw the actual name of the package. dpkg --get-selections can help a lot, which list all installed package.
For example, if you want to get the source code of more, you got to kown which package it's in. We can just google or something else.
Now suppose we know the package name is util-linux. We can check it with dpkg --get-selections.Then we just type
apt-get source util-linux
Some files will be downloaded.
分享到:
相关推荐
- Detailed instructions on how to install Ubuntu, including dual-boot setups with other operating systems like Windows. - Configuration of the system to optimize performance and customize the user ...
To run the code in this book, the reader will need a Linux operating system or Microsoft Windows, and some way of downloading Python, the Python Imaging Library, and Inkscape from the internet. All ...
- In single-handed input mode, long-tap to get a choice of clicks, drag modes, scroll, and zoom - Supports most VNC servers including TightVNC, UltraVNC, TigerVNC, and RealVNC - Supports Mac OS X ...
In order to get the source code, issue the following command: svn co --username anonymous https://svn.rtmpd.com/crtmpserver/trunk crtmpserver When it asks for password, hit Enter key Compile the ...
[Genoil's fork] was the original source of this version, but as Genoil is no longer consistently maintaining that fork it became almost impossible for developers to get new code merged there. In the ...
In all other cases you have to download all source libraries and compile them manually. SUPPORTED PLATFORMS ------------------- All UNIX platforms (linux, *bsd, solaris, etc.) Mac OS/X Windows ...
3. 初始化版本库:如果是想把 Android 当前主线上最新版本的所有的 sourcecode 拿下来,我们需要 repo 的帮助。先建立一个目录,比如 ~/android,进去以后用 repo init 命令即可。 4. 同步版本库:使用 repo sync ...
How to Use This Book ................................................................................................................. 4 The Featured Programs ............................................
UNICODE 全志R16平台TINAV2.1下的CSI接口摄像头ov5640的配置v1.2.txt R16_Camera模块开发说明文档_V1.8.pdf 所有步骤请按照这个说明书执行 1、驱动的编译配置: R:\wyb\gc2145_tinav2.1\lichee\linux-3.4\...