C
CrazedNerd
Guest
I'm trying to get the source code for the "su" command, don't ask why it's just for educational purposes...i would have like to have been an amazing programmer by now but i still have a huge amount to learn:
"deb-src" is already a part of my source.list file:
So, what's the real syntax reason I can't get this source code? A few months ago, i was to just download the source code for Ubuntu and then find the src for the commands in a "bin folder". I downloaded 5 iso files for jammy jellyfish yesterday directly from the ubuntu website, mounted them to a folder i created, and they all appear to be exactly the same and not contain the text files in C for the commands. Are the developers just compressing these as part of something else now? I'm very confused by this...
Code:
xarathustra@xarathustra:~$ sudo apt-get source su
Reading package lists... Done
E: You must put some 'deb-src' URIs in your sources.list
"deb-src" is already a part of my source.list file:
Code:
GNU nano 6.2 /etc/apt/sources.list
# deb cdrom:[Ubuntu 20.04.4 LTS _Focal Fossa_ - Release amd64 (20220223)]/ foca>
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ jammy main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal universe
deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal-updates universe
So, what's the real syntax reason I can't get this source code? A few months ago, i was to just download the source code for Ubuntu and then find the src for the commands in a "bin folder". I downloaded 5 iso files for jammy jellyfish yesterday directly from the ubuntu website, mounted them to a folder i created, and they all appear to be exactly the same and not contain the text files in C for the commands. Are the developers just compressing these as part of something else now? I'm very confused by this...