Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've recently installed Slackware 10.0 and want to install some
software. Previously, I had Knoppix with it's 'apt-get' package
Now, there are tarballs in Slack, so I have a simple question...
... I dowloaded some software and after decopressing it I usally
have two folders: "usr" and "bin". I found I can run program
directly from bin, however I'd like to ask what is "doinst.sh"
in "install" folder? I supoose it is intended to install application,
but how to run it?
it may seem overly obvious, but i'm going to say it anyway...
when issuing the ./doinstall.sh command, make sure that your current working directory is the same as the one that contains this script. the ./ is telling the system "in this directory." you could possibly run a script that you don't intend if you were to give this command from another directory (assuming that other directory contained a file named doinst.sh).
this may not seem like a big issue, since you may not often find scripts named doinst.sh, but consider giving a ./configure command from the wrong directory. configure scripts are everywhere. you can check your working directory with the command pwd.
as stated above, the ./ tells the system that the executable script is in this current working directory, so execute it. when you normally give a command the system checks the directories in your $PATH environment variable for that executable. if it isn't found in those directories, then you get the "command not found" error. you can find out what directories are in your PATH by giving the command
well, I got your point. And yes, I had to use chmod +x (i guess it gives permission to
But I tried it on many install scripts and I am gettin messages like "Broken symbolic link
A symbolic link is like a windows shortcut, type
ls -l <filename>
to show where abouts a file is supposed to be linked to.
./ tells bash to execute the file from the current directory.
If the tarball has a /usr and /bin directory it is possibly a slackware package
in which case you can use installpkg as root to install it.