Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

how to install programs in linux

Status
Not open for further replies.

001

Junior Member level 3
Joined
Aug 31, 2004
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
288
hello,

i am using redhat 9.1. i am actually new to it. but i do not know how to install programs on it or even access diskettes. please can someone help.

001
 

sshehe

Newbie level 3
Joined
Jul 16, 2005
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,318
If you use gnome, install programs and mount disks are very like windows. Otherwise, you could read a unix prime.
 

001

Junior Member level 3
Joined
Aug 31, 2004
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
288
I use KDE.
 

uncle_urfi

Full Member level 2
Joined
Mar 15, 2004
Messages
146
Helped
10
Reputation
20
Reaction score
6
Trophy points
1,298
Activity points
2,004
Different Methods.

rpm files:

rpm -ivh <name of file>

For bin files (be careful)

on the prompt just type " . <name of file>

Some programs have SETUP.SH

so you can do sh SETUP.SH or just ". SETUP.SH"

Some programs are distributed in tar.gz format.

so you do "gunzip <name of file.gz>
This will make it a file with .tar extension.
Then you do "tar -xvf <filename.tar> and it will untar itself.

Then you can find out if there is a setup.sh file or an install file that you can start with.

There are many other ways as well. In KDE you can install programs graphically as well.
 

amjad

Full Member level 5
Joined
Dec 29, 2002
Messages
274
Helped
9
Reputation
18
Reaction score
5
Trophy points
1,298
Activity points
2,291
Hi,

If you have *.tar.gz installation file, after unpacking it as told by uncle_urfi, go to that newly created folder and there will be an INSTALL file. All the installation instructions will be there. The general procedure will be

#./configure
# Make
# Make install

Regards.
 

Shurik

Full Member level 3
Joined
Jul 15, 2004
Messages
167
Helped
16
Reputation
32
Reaction score
4
Trophy points
1,298
Activity points
842
Only not "Make", and "make" - small letters :)
 

001

Junior Member level 3
Joined
Aug 31, 2004
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
288
thanks

I am new to linux, should i type the 'make' in the terminal or is the somewhere else where i should type. I tried terminal while trying to instal a module in perl and it did not work.

001
 

amjad

Full Member level 5
Joined
Dec 29, 2002
Messages
274
Helped
9
Reputation
18
Reaction score
5
Trophy points
1,298
Activity points
2,291
Hi,

If your package is as *.rpm file, you need not issue 'make'. Find out where the insallation is by 'locate' and using file find utility in GUI and then run the program. The documetation for installed *.rpm files by default will be in /usr/share/doc/ folder.
If you have unpacked *.tar.gz file, go to that newly created folder in the terminal by 'cd [directory path]' command and then, in the terminal give these commands. As I told, this instruction will be in the 'INSTALL' file.

#./configure
#make (I am sorry, this is not capital 'M', small letter 'm')
#make install

After this you can start the program with the instruction given in /doc sub folder within this folder.

Nice time.
 

echo47

Advanced Member level 5
Joined
Apr 7, 2002
Messages
3,942
Helped
636
Reputation
1,270
Reaction score
88
Trophy points
1,328
Location
USA
Activity points
33,183
I though "yum" was the preferred application installer/updater for RedHat. Or maybe "apt-get", the Debian version. You type something like "yum install firefox". It downloads the rpm, installs it, and and maybe adds a menu item to your X desktop.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top