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
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