Difference between revisions of "Apt-get source"

From wikieduonline
Jump to navigation Jump to search
 
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
  

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: