PDA

View Full Version : Newby - General Software Install Procedure Suse 10


spiritsofadventure
15th April 2006, 20:16
Firstly i hope this is the correct place to post this question ? I have installed suse 10. I am a novice to linux and suse 10. I am now downloading software that i would like to install including f-secure anti virus for linux. Could somebody please give me a complete newby info on how to install tgz files that i have downloaded to my documents folder. I have no idea how to execute an install ? Should i be installing from my documents or from some other location ? Is there software that will automate the instalation of tgz files. What i am looking for is a simple explanation on how to commence instalation on new software and where to install it too. Thank you in advance to the moderators for your time and expertise. simon Discover a world without frontiers

sbovisjb1
16th April 2006, 02:29
mkdir: Make a Directory

rm [-rf]: Remove files

history [-c]: View Recently used commands the -c to clear it

fsck: Filesystem consistency check and repair

kill <process>: Stops a process from running

passwd: Change the password

rmdir: Delete a Directory

who: prints all users logged on

whoami: Prints Current user ID

*remember man is good to you... its the MANUAL*

cd <directory>
Change directory to <directory> Note: ../ is to go back a directory.

chmod a+x <file>
Change permission of file to all + excecute.

ls
List the stuff in this directory.

rm <file>
Delete <file>. Note: You may need command 2.

top
shows top processes, use kill -9 [PID]
to kill process in top if oyu type k it writes kill

vi <file>
Edit file in vi text editor Note: Type ":qa!" without the quotes and press enter to quit WITHOUT saving.

./<file>
Excecute <file>.

mv <file> <newfilename>
Rename <file> to <newfilename>. Note: If the new file name has a directory in it as in "../Desktop/file.txt" will move the file back one directory into desktop and name it file.txt.

su
Become root. Note: sudo <command> is a command to do a function as root.

shutdown now
Shutdown the computer... NOW!

cc <file>
Compile c source code. Note: gcc <file> is another compiler.

pwd - displays the path to your current directoy. cd /usr/share/, then pwd, would result in: /usr/share.

clear - clears everything from your console screen

cat - cat <filename> echos the content of a file to your console window

less - echos the contents of a file to the window one page at a time, advanced by spacebar.

Those are the basic commands... for more indetailed advice, goto to this website. It has a detailed overview of ALL the current linux commands

http://www.linuxdevcenter.com/linux/cmd/

falko
16th April 2006, 14:48
First you should get used to the command line. Log in as root.
Now let's say you have the file example.tgz in the /tmp directory. Do this:
cd /tmp
tar xvfz example.tgzThis would unpack example.tgz, most probably in a directory called "example" (you can check with ls -la). Now go to that new directory:
cd example
Now run ls -la to see what's in that directory. Normally you have a README or INSTALL file in there which tells you what to do. You can read that file with vi:
vi README
(To learn how to use vi, have a look here: http://www.howtoforge.com/faq/12_15_en.html )