Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
23
rated 0 times [  23] [ 0]  / answers: 1 / hits: 39106  / 2 Years ago, mon, february 14, 2022, 9:09:05

When I try to install bison on my ubuntu 14.04 using the command sudo apt-get install bison, the version 3 is installed.



I would like to downgrade bison to use the version 2.7.



How can I do it?



Thanks.


More From » 12.04

 Answers
4

I installed last pkgs of bison (2.7.1) and libbison-dev (2.7.1) from Saucy and it worked like a charm.



wget http://launchpadlibrarian.net/140087283/libbison-dev_2.7.1.dfsg-1_amd64.deb
wget http://launchpadlibrarian.net/140087282/bison_2.7.1.dfsg-1_amd64.deb
dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb
dpkg -i bison_2.7.1.dfsg-1_amd64.deb


To prevent update manager from overwriting this package



apt-mark hold libbison-dev
apt-mark hold bison


Done.


[#26139] Monday, February 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ainlyyor

Total Points: 210
Total Questions: 129
Total Answers: 116

Location: Barbados
Member since Sun, Nov 27, 2022
1 Year ago
;