Score:0

How to install gcc-4.8 on ubuntu-20.04-LTS

eg flag

For the legacy code compilation i need to install gcc-4.8 in our ubuntu-20.04-LTS system.

I have tried with the following,

add-apt-repository ppa:ubuntu-toolchain-r/test
apt-get update
apt-get install gcc-4.8

Output:-

# apt-get install gcc-4.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gcc-4.8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-4.8' has no installation candidate

It looks ppa repository is not valid for Ubuntu-20.04. Can i know the valid ppa (or) Please let me know the steps to install gcc-4.8?

Thanks in advance.

N0rbert avatar
zw flag
GCC 4.8 is [still available](https://packages.ubuntu.com/source/bionic/gcc-4.8) in 18.04 LTS. So I would recommend to use this Ubuntu version inside Docker container with shared data volume.
user4948798 avatar
eg flag
Is it possible to build using `tar` file?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.