Difference between revisions of "Apt-get source"

From wikieduonline
Jump to navigation Jump to search
 
(6 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
 
  apt-get source your-package
 
  Reading package lists... Done
 
  Reading package lists... Done
 
  E: You must put some '[[deb-src]]' URIs in your [[sources.list]]
 
  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 ==

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: