gcc 5.4.0 on EL 7

2020-04-25 Thread Yasha Karant
I use Calibre, and had hoped that SL 7.8 would support the recommended 
version (please see below).  Calibre requires gcc 5.4.0, and I have 
appended the instructions for installing that gcc into CentOS 7 (and 
hence, SL 7).  Will this change in gcc "break" the 7.8 system and 
applications, or will it "coexist" with the distro gcc?


Stay safe.  Take care.

Yasha Karant

From calibre:
Download for Linux

The latest release of calibre is 4.14.0. What's new 
.


Please do not use your distribution provided calibre package, as those 
are often buggy/outdated. Instead use the Binary install described below.



 Binary install

calibre has a binary install that includes private versions of all its 
dependencies. It runs on 32-bit and 64-bit Intel compatible machines. To 
install or upgrade, simply copy paste the following command into a 
terminal and press Enter:


sudo -v && wget -nv -O- 
https://urldefense.proofpoint.com/v2/url?u=https-3A__download.calibre-2Debook.com_linux-2Dinstaller.sh=DwIDaQ=gRgGjJ3BkIsb5y6s49QqsA=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A=_2oy9MKOcJoXiIsoZwTte8RteJIPnWCnVzs8pNIYQRs=mlb0nfTKye-zuvJYigtgpBVXeNs2wGCTOUM5Ha0sNl8=
  | sudo sh /dev/stdin


You need GLIBC 2.18 or higher and libstdc++.so.6.0.21 (from gcc 5.4.0) 
or higher to run calibre



The script will install GCC 5.4.0 on your CentOS 7 system, make sure you 
have root right. See 
https://urldefense.proofpoint.com/v2/url?u=https-3A__jdhao.github.io_2017_09_04_install-2Dgcc-2Dnewer-2Dversion-2Don-2Dcentos_=DwIDaQ=gRgGjJ3BkIsb5y6s49QqsA=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A=_2oy9MKOcJoXiIsoZwTte8RteJIPnWCnVzs8pNIYQRs=Bou2POD4gEpWWg2jvzx6cMWrmoi9nY-8OJ80gsVPZFQ=  
for more details.
*gcc-5.4.0-install.sh * 
 



echo "Downloading gcc source files..."

curl 
https://urldefense.proofpoint.com/v2/url?u=https-3A__ftp.gnu.org_gnu_gcc_gcc-2D5.4.0_gcc-2D5.4.0.tar.bz2=DwIDaQ=gRgGjJ3BkIsb5y6s49QqsA=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A=_2oy9MKOcJoXiIsoZwTte8RteJIPnWCnVzs8pNIYQRs=KcsB-xMvSIIXTeiJl_VAlBOZPyFZK0bO0xyGGviQ5uo=
  -O


echo "extracting files..."

tar xvfj gcc-5.4.0.tar.bz2


echo "Installing dependencies..."

yum -y install gmp-devel mpfr-devel libmpc-devel


echo "Configure and install..."

mkdir gcc-5.4.0-build

cd gcc-5.4.0-build

../gcc-5.4.0/configure --enable-languages=c,c++ --disable-multilib

make -j$(nproc) && make install


Re: SL 7.8 x86_64 is now available

2020-04-25 Thread Bill Maidment

On 22/04/2020 1:39 pm, Bill Maidment wrote:



Thank you for your hard work.

Just one issue I have at the moment, my laptop connects to my network
via a wireless connection, and after doing
yum clean all
yum update
I can no longer connect to my network via wireless, only via ethernet 
cable.

Can you give me some pointers to check.
All I get in /var/log/wpa_supplicant.log is:
  Successfully initialized wpa_supplicant
Normally there would be a swag of other messages showing the progress,
but nothing now.

(This message send via wired connection on the laptop.)


Problem worked around.
It appears that SL7.8 installed a new firmware interface
/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin
which is incompatible with kmod-ath10k_pci.rpm from epel (correction 
that should be elrepo), <<<=
so I just renamed that file for the time being and rebooted and it used 
the previous firmware-5.bin file OK.


--
Cheers
Bill


Re: Snaps

2020-04-25 Thread Andrew C Aitchison

On Sat, 25 Apr 2020, Nico Kadel-Garcia wrote:


On Sat, Apr 25, 2020 at 1:38 AM Yasha Karant  wrote:


Does anyone know how secure (safe, not malware, spyware, etc.) is Snaps?
Please see below.  Certain applications that are not available for EL but
from other distros, particularly Ubuntu, evidently can be installed via
Snaps.  Epel is a standard EL repo, but Snaps is not.



Never heqrd of them. This does not bode well. "Containerized packages"
hints that they're docker based and will "solve packaging" sounds like...
somebody reading Ayn Rand, or Karl Marx, and htinks they learned economics.
Having actually packaged and configured various software, I'm deeply
usspicious that they did the easy part and sell that.


I tried snaps briefly on a home Ubuntu (19.04 IIRC) machine.
I don't remember whether then were docker or singularity, but 
they definitely were containers and each "package" was a file that

was (loop-back?) mounted under /snap (or /snaps).

However I had to abandon them almost immediately as they didn't
support my particular home directory. For possibly good reasons
homedirs have to be /home/ and not symbolic links.
(For reasons of dual boot and having added a second disk my home dir was a 
sym-link).
That struck me as a potentially significant limitation for institutional 
use: in my experience automounters often result in sym-linked homedirs.


--
Andrew C. Aitchison Kendal, UK
and...@aitchison.me.uk


Re: Snaps

2020-04-25 Thread Nico Kadel-Garcia
On Sat, Apr 25, 2020 at 1:38 AM Yasha Karant  wrote:

> Does anyone know how secure (safe, not malware, spyware, etc.) is Snaps?
> Please see below.  Certain applications that are not available for EL but
> from other distros, particularly Ubuntu, evidently can be installed via
> Snaps.  Epel is a standard EL repo, but Snaps is not.
>

Never heqrd of them. This does not bode well. "Containerized packages"
hints that they're docker based and will "solve packaging" sounds like...
somebody reading Ayn Rand, or Karl Marx, and htinks they learned economics.
Having actually packaged and configured various software, I'm deeply
usspicious that they did the easy part and sell that.