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.
分享到:
相关推荐
How to Get Ideas - Jack Foster.pdf
Exploiting Software - How to Break Code.rar
Including all source code of the book Java How to Programming(8th), which is a very classic book for Java learners.
Learn how to build an interactive source code analytics system using Roslyn and JavaScript. This concise 150 page book will help you create and use practical code analysis tools utilizing the new ...
在Ubuntu 8.04上,安装Git可以通过使用`apt-get`命令,这是一个用于自动从软件仓库安装、升级和卸载软件的命令。执行以下命令以安装Git和curl: ```bash sudo apt-get install git-core curl ``` curl是一个命令行...
source insight is the best code viewer. but it can't auto add ...the details how to add is saved in the file "how to add comment in source insight.txt". i tried it and it works. so, share it with you.
一本经典的指导读博的好书,正在读博士的兄弟们可以看看,会有一定收获的。
How to Use Objects will help you gain that understanding, so you can write code that works exceptionally well in the real world. Author Holger Gast focuses on the concepts that have repeatedly ...
This is an excellent example of how to highlight HTML code in a rich textbox. I encourage everyone to check it out.
A simple application with source code which shows how to save the contents of a rich text box without the help of common dialog box.
Detailed analysis of the source code of system Linux helping you to understand how this system was constructed.
LEARNING HOW TO PROGRAM Lesson 1 - Why should you learn how to program? Lesson 2 - Basic principles of learning a programming language UNIT 1 - VARIABLES, TYPES, EXPRESSIONS, AND STATEMENTS Lesson 3 ...
In this book, Chris Date explains relational theory in depth, and demonstrates through numerous examples and exercises how you can apply it to your use of SQL. This third edition has been revised, ...
To generate logs, logging practice is accepted by developers to place logging statements in the source code of software systems. Compared to the great number of studies on log analysis, the research ...
How to use 256 Color Bitmaps in ImageList (Win32 SDK solution)如何在ImageList中使用256色的位图(Win32 SDK的解决方案)(5KB)
In Automate the Boring Stuff with Python, you'll learn how to use Python to write programs that do in minutes what would take you hours to do by hand-no prior programming experience required....
C++ How to Program presents leading-edge computing technologies in a friendly manner appropriate for introductory college course sequences, based on the curriculum recommendations of two key ...
Unit_3_How_do_you_get_to_school课件.ppt