root@ubuntu:/mnt/usr/local/games# sudo apt-get -d source sl
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
需要下载 19.3 kB 的源代码包。
获取:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe sl 3.03-16 (dsc) [995 B]
获取:2 http://us.archive.ubuntu.com/ubuntu/ precise/universe sl 3.03-16 (tar) [3,776 B]
获取:3 http://us.archive.ubuntu.com/ubuntu/ precise/universe sl 3.03-16 (diff) [14.6 kB]
下载 19.3 kB,耗时 2秒 (6,456 B/s)
下载完毕,目前是“仅下载”模式
root@ubuntu:/mnt/usr/local/games# ls
sl_3.03-16.diff.gz sl_3.03-16.dsc sl_3.03-16_i386.deb sl_3.03.orig.tar.gz
root@ubuntu:/mnt/usr/local/games# tar xvf sl_3.03.orig.tar.gz
sl-3.03.orig/
sl-3.03.orig/sl.c
sl-3.03.orig/sl.h
sl-3.03.orig/Makefile
sl-3.03.orig/sl.1
sl-3.03.orig/sl.txt
sl-3.03.orig/README
root@ubuntu:/mnt/usr/local/games# ls
sl_3.03-16.diff.gz sl_3.03-16.dsc sl_3.03-16_i386.deb sl-3.03.orig sl_3.03.orig.tar.gz
root@ubuntu:/mnt/usr/local/games# cd sl-3.03.orig/
root@ubuntu:/mnt/usr/local/games/sl-3.03.orig# ls
Makefile README sl.1 sl.c sl.h sl.txt
root@ubuntu:/mnt/usr/local/games/sl-3.03.orig# make
cc -O -o sl sl.c -lcurses -ltermcap
root@ubuntu:/mnt/usr/local/games/sl-3.03.orig# ls
Makefile README sl sl.1 sl.c sl.h sl.txt
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
需要下载 19.3 kB 的源代码包。
获取:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe sl 3.03-16 (dsc) [995 B]
获取:2 http://us.archive.ubuntu.com/ubuntu/ precise/universe sl 3.03-16 (tar) [3,776 B]
获取:3 http://us.archive.ubuntu.com/ubuntu/ precise/universe sl 3.03-16 (diff) [14.6 kB]
下载 19.3 kB,耗时 2秒 (6,456 B/s)
下载完毕,目前是“仅下载”模式
root@ubuntu:/mnt/usr/local/games# ls
sl_3.03-16.diff.gz sl_3.03-16.dsc sl_3.03-16_i386.deb sl_3.03.orig.tar.gz
root@ubuntu:/mnt/usr/local/games# tar xvf sl_3.03.orig.tar.gz
sl-3.03.orig/
sl-3.03.orig/sl.c
sl-3.03.orig/sl.h
sl-3.03.orig/Makefile
sl-3.03.orig/sl.1
sl-3.03.orig/sl.txt
sl-3.03.orig/README
root@ubuntu:/mnt/usr/local/games# ls
sl_3.03-16.diff.gz sl_3.03-16.dsc sl_3.03-16_i386.deb sl-3.03.orig sl_3.03.orig.tar.gz
root@ubuntu:/mnt/usr/local/games# cd sl-3.03.orig/
root@ubuntu:/mnt/usr/local/games/sl-3.03.orig# ls
Makefile README sl.1 sl.c sl.h sl.txt
root@ubuntu:/mnt/usr/local/games/sl-3.03.orig# make
cc -O -o sl sl.c -lcurses -ltermcap
root@ubuntu:/mnt/usr/local/games/sl-3.03.orig# ls
Makefile README sl sl.1 sl.c sl.h sl.txt