LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2002, 08:52 PM   #1
sluggo
LQ Newbie
 
Registered: Jan 2002
Location: Canada
Posts: 29

Rep: Reputation: 15
some questions on adding programs


Hi there,

I'm looking for some guidance on downloading and installing programs. I just installed Mandrake 8.1 yesterday, so I'm pretty fresh to this stuff.

When I go to download a program, is it usually only one file, or do I need to get a whole bunch of files? For instance, check out this link. It shows there being a whole swack of rpm files, and a couple of tarballs. Okay, that's the first question. Secondly, once I know what I'm supposed to download, where do people typically save their files? I thought it would be best to make a sub-directory in my /home dir, install the package, and then remove the sub-directory. Thirdly, is it common for a package to install, but not put an icon on your kde desktop, or in the start programs section of kde? I read elsewhere that I can create my own desktop icon as a link, so that shouldn't be a problem. However, where do the files usually get installed to? For instance, if a package doesn't get an icon made, where would I find the program file? Are they usually put inside /bin?

Whew, I think that about does it for now...

thanks,
sluggo
 
Old 01-20-2002, 09:22 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
well looking at that page for that link.. if you were to install using tarball, there is that top download link for the latest package.
the rpm's you see, looks like they have the dependencies there for download that would be required to run the program. probably most of these you already have installed. best thing to do when installing software is always read the INSTALL and README files... or their online documentation for installing.
most programs will install to the /usr directory..
you can make a subdirectory for the package.. but like tarballs, the tar.gz files.. when unpacking them, they will automatically do this for you...
yes, not all programs will create a icon for you unlike windows.. you can create your own as most programs come with icons to even use when creating them.

hope this helps you out some.
 
Old 01-20-2002, 10:37 PM   #3
pilerock
LQ Newbie
 
Registered: Jan 2002
Location: Springfield Mo
Posts: 6

Rep: Reputation: 0
So Trickykid...are you saying that one of the tar files is actually an install proggy that will autounzip the rest of the tar files AND install the program into its own folder?
by the way...what is the difference between a taz file and and rpm? Are they different methods to install the same proggy? Or all part of the same install?
What if the game or app is a loser..how do you uninstall?
Iv'e got 2 cd's full of games and apps that came with my RH but I have absolutely no idea what steps to take to install. I have read and read and it makes not a lick of sense..yet anyway. I know that once I do just one..ill be on track for life! lol

Cliff
 
Old 01-20-2002, 11:29 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
ok,

first a tar.gz file is a package that contains all the files for the program. when installing it, you are installing from source.
when you run the command tar xzvf filename.tar.gz you are unzipping sort of say all those files for the program.
then from there, you run the commands to install the program usually in this order on most tar.gz packages:
./configure
make
make install

then your usually done. some are that basic, some are different, always read the INSTALL and README files for accurate instructions to install it though.

I am not expert on RPM based packages but it stands for Redhat Package Management. It's, lets say a different way to install from compiling the source like a tar.gz, eliminating the commands needed to install, and when you do, it keeps the record sort of say in a RPM database on your machine.

Usually you can install a rpm type file with a command like this: rpm -i filename.rpm

When uninstalling, it can vary, usually the README and INSTALL files will tell you a correct way to do this.
 
Old 01-20-2002, 11:56 PM   #5
pilerock
LQ Newbie
 
Registered: Jan 2002
Location: Springfield Mo
Posts: 6

Rep: Reputation: 0
Ahh! Things are becoming clearer now. I'll give it a shot in the morning!

Do you think that SuSE or Peanut would be a better linux OS for a beginner to start on?

It would be nice if there was a linux website that functioned as a
hands on practical lab for newbies which covered some basic stuff.
Sort of a virtual practice if you know what I mean. I've seen some windows websites like that the last year or so that covered stuff like W2K server, etc. where the user had to correctly enter in information to go to the next step.

Anyway...thanks for the help. You are much appreciated.
Tell your bartender to put the next round on my tab.

Cliff
 
Old 01-21-2002, 12:44 AM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
I would say you made a right choice regarding Mandy it is very user friendly and easy to mantain with rpm packages, but sometimes when you install a proggy from rpm there are bunch of dependencies for this proggy that you should meet, sometimes it is easy sometimes it is vicious circles (like the package A requires package B, which in its turn requires package C and D, and D requires something else), so unless you are installing something weird the process of adding packages is straight forward
rpm -ihv package_downloded.rpm
The Mandy as well RedHat are usually installing newly progs executables into
/usr/local/bin
and the packages' executables that were installed during setup of OS are usually kept in
/usr/bin
there is a handfull of sites about using linux and tuning it to your best needs.
See my previous post



here
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adding programs to startup minm Linux - Newbie 8 02-25-2005 10:36 PM
adding programs Ammad Linux - General 1 01-07-2005 11:48 PM
Adding programs to menu neilcpp Slackware 3 01-28-2004 02:12 PM
Adding programs to the K Menu??? rkid Linux - Software 3 10-06-2003 10:36 PM
Adding Programs to Startup Atroxic Linux - Newbie 3 01-27-2002 07:18 PM


All times are GMT -5. The time now is 01:02 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration