LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-2005, 03:38 AM   #1
sempuritoza
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Rep: Reputation: 0
help installing programs from the shell


hi all

i am completely new to this side of the OS world and i am struggling like never before, i cant even install dev c++ on my machine cause.

what exactly is the process to installing programs, generally from what i have seen first you unzip the *.tar.gz file then after unpacking that you start running scripts and eventually get something up and running.

what i would like to know is where can i find a good tutorial that explains these steps ( i.e. whats going on during these processes ) and another issue i have is deleting folders that already have content in them - a mixture of subfolders and files - what shell command do i use for this?

i am running mandrake 10.1

thanx for any help
 
Old 01-20-2005, 03:45 AM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Here is a very good tutorial written by jeremy on this very subject.
 
Old 01-20-2005, 05:25 AM   #3
sempuritoza
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Original Poster
Rep: Reputation: 0
thanx for the reference, its the type of thing a beginner like myself can understand
 
Old 01-20-2005, 09:05 AM   #4
djabbot
Member
 
Registered: Jan 2005
Location: Normal, IL
Distribution: Ubuntu
Posts: 88

Rep: Reputation: 15
ok. similar question. except the programs i downloaded came to me in .bin files but they arent executable. in the properties for them it says they are Shell Scripts. if i click them it doesnt do anything. if i try to open them in shell it says command not found and i ran apropos on them and it said no command appropriate. i find it weird that they are .bin files but they are not executable like the rest of the bin files in my usr/bin folder and have the shell icon next to them.

Last edited by djabbot; 01-20-2005 at 09:06 AM.
 
Old 01-20-2005, 09:30 AM   #5
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
In a terminal window...

chmod u+x filename.bin
./filename.bin

But be sure that you know what the file does and that you trust the source.

J.
 
Old 01-20-2005, 09:43 AM   #6
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
Quote:
Originally posted by scuzzman
Here is a very good tutorial written by jeremy on this very subject.
Though, Mandrake has the rpm stuff, and if there is already an rpm for that program, it'd probably be easier to just install the rpm.

This will search for packages you don't have installed yet, and can install from the sources you have.
Code:
# urpmi --fuzzy <search-string>
This will install a package that you don't have downloaded
Code:
# urpmi <package>
The first will install an rpm, and the second will upgrade a package, the third will remove one, the fourth will list all packages, and the fifth will search for packages within that list
Code:
# rpm -ivh package.rpm
# rpm -Uv package.rpm
# rpm -e package.rpm
# rpm -qa
# rpm -qa | grep <search-string>
-U means upgrade if it exists
-i means install
-v is verbose
-h makes a progress bar with ######
-e is "erase", or uninstall
-q is query
-a is all

Hope this gets you started...
 
Old 01-20-2005, 11:58 AM   #7
djabbot
Member
 
Registered: Jan 2005
Location: Normal, IL
Distribution: Ubuntu
Posts: 88

Rep: Reputation: 15
Quote:
Originally posted by jkobrien
In a terminal window...

chmod u+x filename.bin
./filename.bin

But be sure that you know what the file does and that you trust the source.

J.
ok. thats gettin me there. except im running into this:
Code:
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable.  You must install a VM prior to
running this program.
now in another thread someone said to edit my .bash_profile so it would point to my java folder in this line, which i did.

Code:
PATH=$PATH:$HOME/bin:/usr/share/java
but apparently it still isnt working.

maybe im not linking to the right folder. this is the contents of my java folder that im linking to.

Code:
[adam@localhost /]$ cd usr/share/java
[adam@localhost java]$ ls
jaxp_parser_impl.jar@     xerces-j2.jar@
oldjavalayer-0.1.1.jar    xml-commons-apis-1.0.jar
oldjavalayer.jar@         xml-commons-apis.jar@
oldlogi.crypto-1.0.7.jar  xml-commons-resolver-1.1.jar
oldlogi.crypto.jar@       xml-commons-resolver.jar@
xerces-j2-2.6.2.jar
i thought i installed java right. is there something else i need? or a different folder that i should be linking to? did i edit my .bash_profile correctly?

btw. what im trying to install is Lime Wire and an ID3 editing program called Jaikoz.

Last edited by djabbot; 01-20-2005 at 12:03 PM.
 
  


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
questions about shell programs sachitha Programming 1 08-21-2005 01:46 PM
Start programs from a shell script paraiso Linux - Newbie 4 04-29-2005 09:41 AM
Running programs with shell Plmajholm Linux - Newbie 4 01-08-2005 05:06 AM
controlling programs from a shell window fred22 Linux - Software 3 07-06-2004 10:12 PM
Will Programs work in shell? Borg Swarm Linux - Newbie 4 01-31-2004 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 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