2

I need to install gawk for the Pi 2 without connecting to the internet for a class I am teaching on intranets. Any ideas? I can move the sources via a usb stick.

  • mawk is the version of awk usually installed. Why not limit the lessons to a common subset of awk between mawk and gawk? – joan Dec 12 '15 at 16:05
  • I'm trying to compile a routing package that requires gawk and will not compile with mawk. – G Howser Dec 13 '15 at 21:34
2

Assuming you are running Raspbian, download the deb package for Jessie or Wheezy Copy it to the Pi (via flashdrive or card reader). Then install it:

dpkg -i name_of_downloaded_file.

Alternatively, you could use awk which I believe is preinstalled.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.