Want To Update GCC And Gfortran As A Result

Code:
$ gfortran --version
GNU Fortran (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

How can I upgrade gcc?

I've tried a few tricks, none worked so far.

Thanks, - Alex


Similar Content



A Subroutine To Slow Down Calculation/execution In GFortran

Hi there. I need to slow execution of certain portions of my programs (GFortran) to demonstrate in "slow motion" interpolation between points on a graph. The SLEEP subroutine requires a default integer as an argument and thus appears to be too slow. I found one subroutine but it eats up 100% of CPU time. Thanks, - Alex

Gfortran: Attribute That Requires Explicit Interface ???

Hi there,

Trying to compile a few Gfortran lines in Ubuntu 12.04 I get this error:

Quote:
lun = newunit(unit)
1
Error: Dummy argument 'unit' of procedure 'newunit' at (1) has an attribute that requires an explicit interface for this procedure
The number one in fact points to the word "unit" not "lun" in the terminal. It got left-shifted when posted.

The code itself:

Code:
program main
  INTEGER*4 counter,lun,unit
  REAL*8, parameter :: pi = 3.141592653589793
  unit = 10
  lun = newunit(unit)
  ...................  
end program main

What does it all mean and how shall I change the code to compile it without an error?

Thanks, - A.

GFortran Module Must Be In A Separate File Only, Otherwise It Does Not Compile. Why?

I am wondering why if I place a GFortran module inside of the same file as the MAIN program it is not recognized by the compiler? I had to move it out into a separate file to be recognized. Then everything compiled. Thanls, - A.

HOW-TO: Install Certificate And Verify

Dear All,

I am trying to install a certificate and then authenticate with LDAP,
but I think I have been lost somewhere in the middle :

In a CentOS 7 system,
First, I would like to make sure that the certificate is installed and used :

Code:
yum install ca-certificates
update-ca-trust enable
cp cacert.pem /etc/pki/ca-trust/source/anchors/
update-ca-trust extract

When I do :
Code:
openssl s_client -showcerts -connect ...:636

Code:
openssl verify cacert.pem 
cacert.pem: OK

Code:
openssl version -d
OPENSSLDIR: "/etc/pki/tls"

Solved with :
Quote:
openssl s_client -showcerts -connect ...:636

The Vncserver Doesn't Work After Debian 7 Update

Hello,

I updated my debian 7 wheezy few days ago, and now vnc server is not working.
Code:
http://prntscr.com/6glfu8


Log File:
Code:
http://paste.ubuntu.com/10596182/

Problem With Software Center

Hi
recently I installed elementary freya os
evey thing was ok with installing chrome ,qbittorent,ubuntu extras,vlc
but with virtual box I got this error
Package dependencies cannot be resolved
details

virtualbox-qt: Depends: libgcc1 (>= 1:4.1.1) but 1:4.9.1-0ubuntu1 is to be installed
Depends: libgl1 but it is a virtual package
Depends: libqt4-network (>= 4:4.5.3) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
Depends: libqt4-opengl (>= 4:4.7.2) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
Depends: libqtgui4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
Depends: libstdc++6 (>= 4.6) but 4.8.2-19ubuntu1 is to be installed
Depends: virtualbox (= 4.3.10-dfsg-1ubuntu5) but 4.3.10-dfsg-1ubuntu5 is to be installed

I tried apt-get update
apt-get upgrade and dist-upgrade & autoclen
and almost anything there
now even when trying to install any thing else it tells me there is broken packages !!!
it happend first with vlc
but apt-get update & autoclean solve it now it doesn't

Ubuntu Directories

Hi there. I have Ubuntu 14.04 installed. Actually I have been doing a lot of work in this OS for about a year. The thing I cannot still comprehend is how to find files I installed. In this particular case I need glut.h for g++ compiler. So I go here, do this command;

Code:
sudo apt-get install freeglut3-dev

And find out that I already have the newest version (which I have suspected since I recall installing it).

So, the next step is to find the glut.h file and reference it with #include command. I cannot find it anywhere. This website says it has to be he

Code:
/usr/lib/x86_64-linux-gnu/libglut*

Why's the asterisk? Is it a footnote or part of the code?

I don't seem to have /usr/ directory. I cannot find it anywhere.

How does Ubuntu directory work?

Thanks, - A.

"New Software Can't Be Installed" Ubuntu 14.04

Hi,

This problem seems to have some common solutions, none of which have worked for me so far.

I get this when opening software center in the past few hours:

"New software can't be installed, because there is a problem with the software currently installed. Do you want to repair this problem now?"

Clicking "repair" several times hasn't fixed it, nor have commands like:

Code:
sudo apt-get -f install

and

Code:
sudo apt-get upgrade

Though these have been mentioned elsewhere as solutions for a few people.

My OS otherwise seems to run pretty normally, as far as someone as green as me can tell.

Any fixes for this? I'd hate to format again, especially since my complicated Steam setup takes so long to complete. Thanks!

Change ACL

I have a folder , I use the below command .
Code:
#getfacl sis_group

and then get the result
Code:
group:sis1:rwx

would advise if I would like to change group from sis1 to sis2 , the getfacl result should be as below , what can I do ? thanks
Code:
group:sis2:rwx

Difference Between Udev And Udevadm

Hi. I am relatively new to linux systems. I recently jumped on an endeavor to install a vanilla kernel (3.18.5) from the kernel website. Its Documentation/Changes file mentions the minimum version requirements of the packages needed. For udev, it mentioned Code:
udevd --version

to check the version number. But looking around I found for Fedora its Code:
udevadm --version

(I'm using Fedora Workstation 21 64-bit). Is there any fundamental difference between these two utilities? Any explanation would be helpful.