What is the apt-get equivalent of the following command?
aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') <package name>
Thanks.
apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') <package name>
For the record, this just installs the linux headers (likely, linux-headers-generic) and any additional packages you specify.
apt-get
, not sure about aptitude
.
Mar 19, 2014 at 23:57