Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 8807  / 2 Years ago, thu, december 9, 2021, 8:20:15

I would like to upgrade GNU Awk version 3.1.8 to the latest version. How can I upgrade versions using Ubuntu 12.04?


More From » 12.04

 Answers
5

Rather than compiling from source as in the answer of @maggotbrain, and totally confuse your package management, use a newer package instead.



Download the one for Quantal here (4.0.1) and install using for example



sudo dpkg -i gawk_4.0.1+dfsg-2_amd64.deb


It has very standard dependencies easily met in Ubuntu Precise, so this is a very trivial backport.



Advantages:




  • You don't overwrite files managed by your package management

  • Reverting is also very easy by just telling your package management to install another candidate version.

  • Does not involve compiling and therefore

  • does not require you to install the build dependencies.



However, don't just blindly upgrade software on your system. Keeping older, stable versions is part of the release schedule of Ubuntu. This makes sure developers can 'freeze' the shared libraries and use them efficiently. Security and severe bugs will be backported to the versions as released with the OS release.


[#33731] Friday, December 10, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nstitutencert

Total Points: 171
Total Questions: 126
Total Answers: 124

Location: Azerbaijan
Member since Fri, May 12, 2023
1 Year ago
nstitutencert questions
Fri, Dec 10, 21, 16:31, 2 Years ago
Tue, Apr 19, 22, 05:51, 2 Years ago
Wed, Jan 26, 22, 07:52, 2 Years ago
Sun, Aug 29, 21, 21:43, 3 Years ago
;