LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-12-2001, 04:41 PM   #1
nick
LQ Newbie
 
Registered: Jun 2001
Location: Canada
Distribution: None
Posts: 25

Rep: Reputation: 15
Question


What is the command i use to install a prog?

I want to install Lopster but i still don't know what to use to install anything and where to find it once it's installed please help me!
 
Old 06-12-2001, 04:44 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
what type of file is it... like is it zipped with a tar.gz at the end, or .rpm....
you can man each of them to view the options to unzip the packages, and then after that, usually they will create a new directory with all the new files that have been extracted. from there you can view the README and INSTALL files most programs come with to finish by reaading the installation process.
 
Old 06-13-2001, 08:03 AM   #3
dilberim82
Member
 
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291

Rep: Reputation: 30
installing files

In order to install a file you have to know the extension of it. if it is an rpm file its very easy to install. just type
rpm -i nameofthefile.rpm
If it is tar.gz you have to unzip and untar it before you can install it. Type:

gunzip nameofthefile.tar.gz

<~this will unzip the file but it'll be a tar file and now you have to untar it so type

tar -xvf nameofthefile.tar

to untar it. and then i would read the README files to see the specific instruction on installing it. You probably have to compile it first with make and then type ./configure but it is different in every program.

:::: i think i am starting to learn some stuff
 
Old 06-13-2001, 11:14 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Re: installing files

Quote:
Originally posted by dilberim82
If it is tar.gz you have to unzip and untar it before you can install it. Type:

gunzip nameofthefile.tar.gz

<~this will unzip the file but it'll be a tar file and now you have to untar it so type

tar -xvf nameofthefile.tar

to untar it.
You can do the above in a single step if you have the GNU version of tar (just about every Linux distro that I know of has) by using
Code:
tar xvfz nameofthefile.tar.gz
this makes tar first filter the file through gzip. If you don't have the GNU version of tar you can use
Code:
gzip -dc nameofthefile.tar.gz | tar xvf -
If you don't want to see all the files that are produced leave off the v in the options for tar.

This will (normally) produce a new directory called nameofthefile which you will want to cd into then read the README or INSTALL file, or both!

Jamie...
 
Old 06-13-2001, 10:06 PM   #5
nick
LQ Newbie
 
Registered: Jun 2001
Location: Canada
Distribution: None
Posts: 25

Original Poster
Rep: Reputation: 15
Question

ok so i know that it is a rpm and i know to use the rpm -i to install it i learn't that already before this but what i want to know is how do i get a shortcut to it or know where it installed to? i can install it and it looks like it installes but i don't know where to find it or how to start it?
 
Old 06-14-2001, 01:43 PM   #6
dilberim82
Member
 
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291

Rep: Reputation: 30
what distro?

what distro are you using?
 
Old 06-14-2001, 03:02 PM   #7
nick
LQ Newbie
 
Registered: Jun 2001
Location: Canada
Distribution: None
Posts: 25

Original Poster
Rep: Reputation: 15
do you know what?

I think i found a prog thats installed with linux that allows me to add and remove progs while seeing everything i need to and make shortcuts if it doesn't work i'll post another reply.

Thanks anyways
 
Old 06-14-2001, 04:06 PM   #8
GonzoJohn
Member
 
Registered: Jun 2001
Location: Louisville, KY USA
Distribution: RedHat and Debian
Posts: 89

Rep: Reputation: 15
Cool

This is a common problem with Linux programs.

Some packages (RPMs and DEBs) include installing an icon on one of your menus (KDE or GNOME) and some packages do not. As a general rule though, packages like RPMs or DEBs will install the executable for the program (the file that runs the program) into your system path. This is usually /usr/bin. After you install the program, if you open a terminal window and type the command name of the file (in your case "lopster") it will probably run. This usually works about 90% of the time.

This of course is provided that the program you installed didn't return any dependency errors during the installation, etc., etc.

As far as making an icon on your desktop to run the program, it varies from window manager to window manager. In GNOME, using gmc or Nautilus for your default window manager, you can right-click the desktop and select "new" from the menu that pops up. Then select "Launcher" from the resulting menu. This will open a dialog box for you to select an icon for the program, the name as it will appear on your desktop and the file that runs the program. The dialog box is pretty self-explanatory if you get that far.

Cheers.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with my prog. Slickmink Programming 7 08-25-2005 10:50 AM
I want to start a prog from another prog but not as child grupoapunte Programming 5 05-23-2005 05:37 PM
[C prog] how to do this? dmigh Programming 7 10-31-2004 03:45 AM
Better buying "advanced linux prog" or "unix advanced prog" Dominik Programming 3 12-31-2003 01:11 PM
Trying to Install Citrix Prog N'hood onto a Mandrake PC ( not server) Byoung Linux - Software 6 09-22-2003 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration