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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Have installed slackware multilib and it says that after I compile something I should exit a shell.
Quote:
Do not forget to exit from your shell (and login again) after you have finished compiling your 32bit software, to get rid of the 32bit-enforcing environmental variables!
In a way I'm lost because I don't grasp the full meaning of shell, but I did some googling and it basically says it is that command prompt looking thingy.
I'm logged in as user, running KDE, have Konsole up and running TS3 on it. I opened another tab in Konsole, went "su", then compiled what I need to compile.
Now... what is understood as exiting a shell?
1. Simply using "exit" which returns me to user and then if I go "su" again everything would be... "fine"?
2. Simply using "exit" which returns me to user in Konsole, then using "exit" again to exit that tab, then remaking a tab and everything is "fine"?
3. Exiting both tabs in Konsole, "crashing" TS3 in process and rerunning Konsole?
4. Exiting both tabs in Konsole, exiting KDE, rerunning KDE
5. Exiting both tabs in Konsole, exiting KDE, using "exit" one more time to log out of the user and then relog?
Mmm, not sure how that would affect compiling anything. Whether you would still be in 32 or 64-bit mode. Whether you would have to exit Konsole altogether or not.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
Quote:
Originally Posted by ranko_6
In a way I'm lost because I don't grasp the full meaning of shell, but I did some googling and it basically says it is that command prompt looking thingy.
a shell in short is the program that provides the interface for the operating system, even gnome/kde are shells,
Quote:
Originally Posted by ranko_6
I'm logged in as user, running KDE, have Konsole up and running TS3 on it. I opened another tab in Konsole, went "su", then compiled what I need to compile.
technically you shouldnt compile as root rather switch to root once you are done compiling to run make install
Quote:
Do not forget to exit from your shell (and login again) after you have finished compiling your 32bit software, to get rid of the 32bit-enforcing environmental variables!
probably a good idea, but then again closing the terminal window will do the same as typing exit at the prompt, if the environment variables are local to that window otherwise logging out of might be necessary to return you to a full 64bit environment (though simply setting the variables back to default would work too its easier just to type exit then it is to set variables)
Unfortunately technically I'm not sure what I'm doing except running slackBuild script. Was doing them in user mode but read somewhere that I'm supposed to run them as root so I switched to that Thanks for info.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.