How to install or upgrade g++ in CentOS 6? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I have CentOS 6, and have installed g++ 4.4.7 with yum install devtoolset-2
However, I want to install g++ 4.8 or higher. How can I do this?

You can download the rpm from here, but note that the package is for CentOS 7. http://mirror.centos.org/centos/7/os/x86_64/Packages/gcc-4.8.3-9.el7.x86_64.rpm
Did you check here https://superuser.com/questions/381160/how-to-install-gcc-4-7-x-4-8-x-on-centos?
That what worked for me:
wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo
yum install devtoolset-2-gcc devtoolset-2-binutils
/opt/rh/devtoolset-2/root/usr/bin/gcc --version
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15

Related

how to fix broken /usr/bin/ld? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I accidentally execute the following command
sudo cp libcuda.so /usr/bin/ld
because i thought /usr/bin/ld is a directory, and I believe my /usr/bin/ld is broken now, at present I cannot use cmake anymore, does anyone know how can I fix this? thanks!
System: Ubuntu 20.04
One simple way to fix it would be to reinstall the package containing /usr/bin/ld.
sudo apt reinstall binutils

Ubuntu unable to upgrade to 20.04.1 LTS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have Ubuntu 19.10 and am trying to upgrade to 20.04.1. I have followed all kinds of tutorials, but in the end I am always facing the same problem. When I run
sudo do-release-upgrade
The log is:
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife
If I run
sudo do-release-upgrade -d
The log is:
Checking for a new Ubuntu release
Upgrades to the development release are only
available from the latest supported release.
I also tried upgrading from Software Updater, and when I try to, the window just disappears. By the way, I have 1GB free memory, I don't know if this could be the problem.
P.S: The output of lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.10
Release: 19.10
Codename: eoan

Unable to find newly installed svn version on CentOS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I had sve version 1.7 installed on CentOS and now I installed svn 1.11 using following command -
sudo yum localinstall CollabNetSubversion-client-1.11.1-1.x86_64.rpm
but after hitting svn --version, it still showing 1.7 version. Please guide me to what else I need to do to use latest version 1.11 of svn.
This might be trivial question but I haven't worked on linux environment more. Please help.
You can exec command
rpm -ql CollabNetSubversion-client-1.11.1-1.x86_64
and from the list get the location of new svn. Then you can add the directory where this is installed on the first place in PATH:
export PATH=/here/is/the/location:$PATH
(and add this to ~/.bashrc also)

How to install jot command on Win10 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
How to install jot command on the Win10 because I use Git Bash to run a xxx.sh and show a exception as following:
jot: command not found
How can I solve this?
jot (seen here) is a BSD command.
So unless you can get it sources (usr.bin/jot/jot.c) and somehow recompile it for mingw, I don't see it available either on Linux or as an exe on Windows.
Update Nov. 2020: DimP adds in the comments:
For anyone looking for an answer on Debian etc. environments, Ubuntu has Athena-jot:
sudo apt-get update sudo apt-get install athena-jot

install pack for Ubuntu [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have to install a package (J-Link: https://www.segger.com/jlink-software.html) into Ubuntu 14.04 LTS (Latest 64 bit (4.1.0-x86_64-linode59)), but I am not sure which one I should install:
DEB Installer 64-bit version
RPM Installer 64-bit version
TGZ archive 64-bit version
All three are possible, but
It is probably easiest to install the .deb, assuming it is appropriate for your operating system.
To check the integrity of the deb before installing:
md5sum PACKAGE.deb
and make sure the output matches the md5sum reported on the website from which you downloaded the deb.
Then to install the deb:
dpkg -i PACKAGE.deb

Resources