Difference between revisions of "Apt-get source"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list | sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list | ||
[[apt update]] | [[apt update]] | ||
+ | [[apt install -y dpkg-source-gitarchive]] | ||
apt-get source yourpackage | apt-get source yourpackage | ||
Line 14: | Line 15: | ||
[[apt-get --build]] source your-package | [[apt-get --build]] source your-package | ||
sh: 1: [[dpkg-source]]: not found | sh: 1: [[dpkg-source]]: not found | ||
+ | |||
+ | Solution: apt install -y [[dpkg-source-gitarchive]] | ||
+ | |||
+ | |||
+ | [[dpkg-source-gitarchive]] | ||
== See also == | == See also == |
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: