Difference between revisions of "Apt-get source"
Jump to navigation
Jump to search
(Created page with "{{lc}} apt-get source == See also == * {{apt-get}} [[Category:]]") |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | [[apt-get]] source | + | [[apt-get]] source yourpackage |
+ | |||
+ | sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list | ||
+ | [[apt update]] | ||
+ | [[apt install -y dpkg-source-gitarchive]] | ||
+ | apt-get source yourpackage | ||
+ | |||
+ | apt-get source your-package | ||
+ | Reading package lists... Done | ||
+ | E: You must put some '[[deb-src]]' URIs in your [[sources.list]] | ||
+ | |||
+ | |||
+ | [[apt-get --build]] source your-package | ||
+ | sh: 1: [[dpkg-source]]: not found | ||
+ | |||
+ | Solution: apt install -y [[dpkg-source-gitarchive]] | ||
+ | |||
+ | |||
+ | [[dpkg-source-gitarchive]] | ||
== See also == | == See also == | ||
* {{apt-get}} | * {{apt-get}} | ||
− | [[Category:]] | + | |
+ | [[Category:APT]] |
Latest revision as of 10:11, 14 March 2024
apt-get source yourpackage
sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list apt update apt install -y dpkg-source-gitarchive apt-get source yourpackage
apt-get source your-package Reading package lists... Done E: You must put some 'deb-src' URIs in your sources.list
apt-get --build source your-package sh: 1: dpkg-source: not found Solution: apt install -y dpkg-source-gitarchive
dpkg-source-gitarchive
See also[edit]
Advertising: