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? |
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. |
what you need to do after cd-ing in the directory is run:
Code:
sh install.sh Code:
./install You should read this: http://www.linuxcommand.org/ http://www.slackbook.org/html/index.html Quote:
Quote:
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 If I were you I wouldn't install a new kernel or update KDE until I've learned the basics. |
Thanks for the help and advice guys. :)
|
All times are GMT -5. The time now is 05:58 PM. |