Install GCC 4.8 on Redhat 7 in offline mode - gcc

How to install GCC 4.8 on RHEL 7 in offline mode? (not registered with Redhat).
I searched for a solution but couldn't find a proper one.

There are two options that we can use
1) Create a local yum repository from DVD/ISO file - Google search will throw lot of links. One such thing is https://access.redhat.com/solutions/1355683
2) Another option is use the Centos repository. Centos is derived from RHEL and should be safe. You can set this as you repository. But, I will go for the first one

Not sure about GCC 4.8, but V6.3.1 is available via the Developer Toolset. See https://developers.redhat.com/products/developertoolset/updates/
I'm believe GCC 5.3 may still be accessible too.
There's a no-cost RHEL developer subscription to download here: https://developers.redhat.com/products/rhel/download/
HTH

Related

#Ubuntu Install .net core 5 framework

I installed .net6 but i need to have installed .net5
So, I removed .net6 and I installed .net5.
Now, when I run 'dotnet build' command I have the error:
A fatal error occurred. The folder [/usr/lib/dotnet/dotnet6-6.0.108/host/fxr] does not exist
Do you have some idea to help me, please.
Thanks
.NET 5 has reached its End of Life. If you are using it, you are on your own; don't expect any fixes for security issues that discovered every few weeks.
Anyway, sounds like you are using Ubuntu 22.04.
If so, you are out of luck. There's no simple way to install or run .NET 5 there. .NET 5 needs OpenSSL 1.0 or 1.1. Ubuntu 22.04 only has OpenSSL 3.0. Even if you install and manage to run .NET 5, it wont work and you will get OpenSSL errors.
Your best course of action is to install an older version of Ubuntu, such as 20.04.
Your specific error in this case is quite unrelated to above, though. Your error is because you seem to have installed some packages from Ubuntu's package repository and some packages from Microsoft's package repository. See https://github.com/dotnet/core/issues/7699#issuecomment-1222470580 for details. In particular you want to follow the steps in "Mixed state scenario 2: Use PMC packages after installing native Jammy packages". But that's not needed on Ubuntu 20.04 or similar OS that you need to make .NET 5 work at all.

MinGW32/64 and GCC: Installing and Upgrading on windows using cmd

I have already installed MinGW32. I want to update MinGW32, GCC, and G++ on the latest available version. I have searched on the internet and overflow but the answers seem to be outdated. One of the answers, I tried but it shows the same version of MinGW and GCC( latest version is 10.2 and I have 9.2.0) as before.
Moreover, my machine is 64 bit so I want to upgrade my MinGW to MinGW64 but despite lots of efforts and internet searches, I am unable to get an executable setup for the system, neither cmd instructors to install. Also, I am unable to discover instructions for its updating to the latest version available( for future purposes)
Please help me to accomplish the above tasks. Also, it would be better if the step by step instructors are provided using cmd. Thanks in advance.
The MinGW-w64 personal build from http://winlibs.com/ has the latest GCC version (currently 10.1) and requires no installation, just unzip the download.
If you need to upgrade this later you can just replace the mingw32 or mingw64 folder with the new version.

How do I install the Microsoft BotFramework-Emulator?

I am running Windows 10 and want to install the BotFramework-Emulator.
The link here says
Download packages for Mac, Windows, and Linux are available via the GitHub releases page.
Well I go to that link the GitHub releases page and I do not see anything about how to download and install a windows package.
What am I missing?
On Github release page, you have the choice between several file types for direct install:
AppImage: Ubuntu package (2 versions available, depending on your machine architecture: i386.AppImage and ...x86_64.AppImage)
mac.zip: for Mac OS
exe: for Windows
deb: Debian package (2 versions available, depending on your machine architecture: amd64.deb and i386.deb)
botframework-emulator-setup-4.0.15-alpha.exe seems to be it.
You can find all the releases here:
https://github.com/Microsoft/BotFramework-Emulator/releases
For the stable version, you can download from stable release
And if you want to get a touch of new UI, you can go with the preview release which is v4.0.15 alpha as of today

Using old version of Cygwin

I am trying to use the old version of 32 bit cygwin (1.7.22 - 1.7.32) which uses GCC 4.7.3 version.
Just found one (cygwin 1.7.25) but during the standard installation (running with setup-x86.exe) it shows the following errors:
The current ini file is from a newer version of setup.exe. If you have
any trouble installing, please download a fresh version from "cygwin
official page"
Is that old version not supported anymore and I can not chose right address from where it can download and install the needed packages?
Thanks,
Arsen
I can't find a good answer. Normally what you see in the installer is what you have access to.
When you load your setup-x86.exe, get to the packages (ignore the warning), and see if you can select the version of Cygwin you need (use the search box to narrow it down). On mine I can only get a few revisions and nothing as old as you need. That being said, I do have the latest installer and can't test this for you.

Build GCC 4.8.1 or higher on CentOS 6.5

I want to use GCC 4.8.1 or higher on a HPC machine with CentOS 6.5 which has a very old GCC. I do not have admin rights so everything has to be local. Do I have to really compile everything from source? Isn't there any rpm package that I can only install GCC with its dependencies? I found GCC rpms for CentOS 7 but not 6.5.
Without admin rights, building from source is
likely most reliable means to use gcc-4.8.1.
You can try installing (or extracting) gcc-4.8.1
from the redhat developer tool kit 2.0 described here
https://superuser.com/questions/381160/how-to-install-gcc-4-7-x-4-8-x-on-centos
CentOS 7 RPM's are unlikely to work in general on CentOS 6.x.
The developer 2.0 toolkit was built on CentOS6

Resources