LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2006, 11:24 PM   #1
banjzooie
LQ Newbie
 
Registered: Feb 2006
Distribution: Slackware 10.2
Posts: 19

Rep: Reputation: 0
How do I install a program from a shell, and how do I update parts of Linux?


Hello. I am a major Linux newbie who's just installed Slackware as a third OS on my computer(first OS is MS-DOS 7.1, second OS is Windows XP). One of the first programs I want to install is FreePascal (aka FPK Pascal). The installer is a shell-based installer. I assumed that the Linux console was just like DOS and all I needed to do was CD to the installer's directory and then type the name of the installer, "Install.sh". But doing this gives me an error about "no such command" or something of the like. How do I run this installer? Does it make a difference whether I do it from the root prompt or from a shell prompt in KDE? I am using KDE 3.4, as that is what came with Slax.

That brings up my next question: How do I update the Linux Kernel and KDE? I do not have access to the internet while in Slackware because my router (2wire) is not compatible. Can I download the update from Windows and then install it from Slackware?
 
Old 02-10-2006, 11:46 PM   #2
sipsipi
Member
 
Registered: Dec 2005
Location: Chicago
Distribution: Fedora and Redhat
Posts: 86

Rep: Reputation: 15
First: in order to run .sh files, do this:

prompt# ./Install.sh
or
prompt# sh Install.sh

second

Uhm... how can your router not be compat with machine? it's all TCP man.
 
Old 02-10-2006, 11:53 PM   #3
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
what you need to do after cd-ing in the directory is run:
Code:
sh install.sh
, or may
Code:
./install
if the file has execute permitions.

You should read this:
http://www.linuxcommand.org/
http://www.slackbook.org/html/index.html

Quote:
Does it make a difference whether I do it from the root prompt or from a shell prompt in KDE?
No as long as in both terminals you have root permitions.

Quote:
Can I download the update from Windows and then install it from Slackware?
Yes, but unlike dos, most stuff in linux are in source. So there are three different aproaches:
1.you dowload the source, compile it and install it, read here:http://www.linuxquestions.org/linux/...ms_from_Source

2. You download a precopiled package, packed for slackware (that's better and easier. You only need the installpkg command):www.linuxpackages.net
for more info type this:
Code:
 man installpkg
Code:
man pkgtool
Code:
man removepkg
Code:
man upgradepkg
3.Compile the package by yourself and pack it yourself (that the hardest and best)

If I were you I wouldn't install a new kernel or update KDE until I've learned the basics.

Last edited by perfect_circle; 02-10-2006 at 11:58 PM.
 
Old 02-11-2006, 09:48 AM   #4
banjzooie
LQ Newbie
 
Registered: Feb 2006
Distribution: Slackware 10.2
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for the help and advice guys.
 
  


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
Tip: The parts of a Linux system sundialsvcs Linux - Newbie 7 08-14-2005 11:50 AM
write an update query in shell prompt to update the database in sqlserver suchi_s Programming 2 09-29-2004 07:27 AM
Urgent: Call a C program through Linux shell script nuwandee Programming 14 04-10-2004 07:31 PM
How to call the arp linux shell command from within a perl program Bassam Programming 1 03-11-2004 02:00 AM
update parts of gnome 2.2 to 2.4. qwijibow Linux - Software 0 11-26-2003 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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