Click to See Complete Forum and Search --> : Mandrake newb? This should help.


gorq
04-21-2003, 05:49 PM
Software unzipping and installation

This is for Mandrake 9.1. It is so far the only Unix type OS i have ever been on. Maybe i will Have my friend burn another OS so i can help with that.

To use the command or terminal, click the Start Applications Menu (in windowz it would be the start button) look up to 'Terminals' and I use Konsole, from there type 'su' for SuperUser and type your root password .

(1) .rpm - 'rpm -ivh <whatever>.rpm'

(2) .tar.gz - 'tar -xzvf <whatever>.tar.gz'

(3) .src.rpm - 'rpm -i <whatever>.src.rpm'

-note- This puts source and spec file in:

'/usr/src/RPM/SPEC'

To compile and build the rpm type:

'rpm -bb <whatever>.spec'

There will be a few lines from the bottom that tells where it placed the new binary rpm package.

(4) .tar.bz2 - 'tar xjf <whatever>.tar.bz2'

(5) .bin - To make it executable type:

'chmod -x <whatever>.bin'

Then to run it type:

'./<whatever>.bin'

(6) .sh - sh <whatever>.sh

(7) To install Java VM required programs, such as LimeWire.bin,
I used 'J2SE 1.4.1 SDK'
from http://java.sun.com/j2se/1.4.1/download.html.
Then I created a file called 'java.sh' with a text editor such as KWrite containing these lines of code:

JAVA_HOME=/usr/java/j2sdk1.4.1_02
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH

And saved it in the '/etc/profile.d' folder, then made it executable with:

'chmod -x java.sh'

Then install the Java VM required program.

Common command line commands

To copy files: cp thisfile.txt /home/mydirectory

To move files: mv thisfile.txt /home/mydirectory

To list files: type: ls in the directory you want to list

To clear screen: clear

To close prompt window: exit

To display the date: date

To delete files: rm thisfile.txt

To edit file: pico thisfile.txt

To compare the contents of files: diff file1 file2

To find text a string of text in a file: grep thisword thisfile.txt

To display help on a command: man thiscommand

To create a directory: mkdir thisdirectory

To rename a file: mv thisfile.txt thatfile.txt

To change directories: cd /home/mydirectory

About 85% of the information i needed to make this post i found here at
http://www.justlinux.com/

Hope this helps,
Gorq

By the way
I made this for me, i hope it will help you guys. The main reason i posted this here is because i am still messing with my new OS and had to reload it 3 times and only had it 2 weeks. No cd burner, no dikettes, NO MONEY

trc
04-21-2003, 06:00 PM
nice, but you should mention too that mandrake9 (and 9.1 possibly) installs with the master volume on 0. ive seen a lot of threads in the last week about sound not working in mandrake.

aumix&

will bring up volume control

gorq
04-21-2003, 06:48 PM
Ahh, thanks for that i did have that problem but I seemed to have forgotten about it.

DSwain
05-25-2003, 10:52 AM
One thing, with the .bin files, it should be -a+x i believe.

JCool451
06-10-2003, 09:15 PM
Actually to make it executable, it only needs to be +x or you could use that number system.:)

DSwain
06-10-2003, 10:41 PM
I've tried it once, didn't work for some reason, and then i read that was the command, and it's worked for me, but doesn't matter, whatever works for you.