how can i install fortran, c++, paw, emacs, xemacs and ghostview in Ubuntu.

Asked by zafarwazir

I want to know the process to install CERN LIB,C++,FORTRAN77,ROOT in ubuntu operating system.Please tell me in detail.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Ricardo Cropalato de Melo (ricardo-cropalato) said :
#1

try;

Fortran 77
aptitude install gfortran

cool link: http://wiki.codeblocks.org/index.php?title=Installing_Fortran_Compiler

C++ compiler
aptitude install g++-4.3

CERN LIB
aptitude install libpacklib1-dev

Revision history for this message
zafarwazir (zafar-wazir) said :
#2

how can i install cernlib in ubuntu.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Using System → Administration → Software sources [Ubuntu software] please enable the Universe the repository.

Confirm reload

Then open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo aptitude update
sudo aptitude install cernlib

give your user password when requested, you don't see nothing when you type it, then press enter.

You can also install related cernlib packages:

cernlib - CERNLIB data analysis suite - general use
cernlib-base - CERNLIB data analysis suite - common files
cernlib-base-dev - CERNLIB data analysis suite - dependencies
cernlib-core - CERNLIB data analysis suite - main librari
cernlib-core-dev - CERNLIB data analysis suite - core develop
cernlib-extras - CERNLIB data analysis suite - extra progra
cernlib-montecarlo - CERNLIB Monte Carlo libraries

Hope this helps

Revision history for this message
zafarwazir (zafar-wazir) said :
#4

Thanks marcoba.Now I want that
1. how .tar.gz files can be install in ubuntu.
2.how emacs install in ubuntu.
3.how xemacs  install in ubuntu.
4.how PAW install in ubuntu.
5.how ghostview install in ubuntu.
6.how we can check install packages in ubuntu.
please give me answers of these questions.I will be very thankful to you.

Regards,

Zafar Wazir

Ph.D Fellow(High Energy Physics),

Department of Physics,

COMSATS Institute of Information Technology(CIIT),

Chak Shahzad Campus,Park Road,

Islamabad(Pakistan).

Mobile: +92 3006070651, +7 9261232926

E.Mail: <email address hidden> , <email address hidden>

--- On Sun, 12/7/08, marcobra <email address hidden> wrote:
From: marcobra <email address hidden>
Subject: Re: [Question #53577]: how can i install fortran in ubuntu
To: <email address hidden>
Date: Sunday, December 7, 2008, 9:50 PM

Your question #53577 on Ubuntu changed:
https://answers.edge.launchpad.net/ubuntu/+question/53577

    Status: Open => Answered

marcobra proposed the following answer:
Using System → Administration → Software sources [Ubuntu software]
please enable the Universe the repository.

Confirm reload

Then open a Terminal from the menu Applications → Accessories → Terminal
and type:

sudo aptitude update
sudo aptitude install cernlib

give your user password when requested, you don't see nothing when you
type it, then press enter.

You can also install related cernlib packages:

cernlib - CERNLIB data analysis suite - general use
cernlib-base - CERNLIB data analysis suite - common files
cernlib-base-dev - CERNLIB data analysis suite - dependencies
cernlib-core - CERNLIB data analysis suite - main librari
cernlib-core-dev - CERNLIB data analysis suite - core develop
cernlib-extras - CERNLIB data analysis suite - extra progra
cernlib-montecarlo - CERNLIB Monte Carlo libraries

Hope this helps

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.edge.launchpad.net/ubuntu/+question/53577/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.edge.launchpad.net/ubuntu/+question/53577

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
zafarwazir (zafar-wazir) said :
#5

my problem is solved but I need more help for these packages.
1.how i can install PAW,emacs,xemacs and ghostview in ubuntu.
2.how can i check install packages in ubuntu.
3.how can i install root in ubuntu.

Revision history for this message
zafarwazir (zafar-wazir) said :
#6

how can i install cascade model in ubuntu

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#7

----------------------------------------
1)
----------------------------------------
Open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo aptitude update
sudo aptitude install paw emacs xemacs21
sudo apt-get install build-essentials alien

give your user password when requested, you don't see nothing when you type it, then press enter.

For gsview you can download the .rpm package, type or better copy and paste:

wget http://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-4.8-1.i386.rpm

then convert it to .deb package, type:

sudo alien --to-deb gsview-4.8-1.i386.rpm

To install type:
sudo dpkg -i gsview_4.8-2_i386.deb

After installation, GSview ran, but when you try to open a postscript file (or any file) you can get an error:

....
Failed to load libgs.so
....

So fix it by selecting Options/ advanced Configure... change
Ghostscript Version to 861
Ghostscript Shared Object to libgs.so.8
leaving other fields as default

----------------------------------------
2)
----------------------------------------
What mean... please tell better... do you want a list of installed packages ?

----------------------------------------
3)
----------------------------------------
Root user is already in your Ubuntu system... to get plain root access from your user simply open a terminal and type:

sudo -i

i suggest you to use sudo to run command as root (as into above commands) and don't use plain root access... you can damage your system file permission and Ubuntu installation...

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#8

In the future please split your questions into single simple question for example:

how to install cernlib ?
how to install gsviw ?

and so on...

is better to the other users now i change your original question title to match your real questions

Thank you

Revision history for this message
zafarwazir (zafar-wazir) said :
#9

Thanks marcobra, that solved my question.

Revision history for this message
zafarwazir (zafar-wazir) said :
#10

thanks