Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
if i install a program in root, how do i start the app again in a "user" non-root account? do i right click the folder in root and change the permissions? what is the ".exe" program called in linux? btw, fedora is nice...
thanks alot
type exit while root... now try 'whoami' -- not root anymore, huh?
.exe = not really any such thing in linux -- *nix does not use extensions like windows...
the similar file is a binary executable, but shell scripts and the likes could also be considered similar, though they are text files, most similar to windows .bat files...
Try running "chmod 755 filename" as root. It will make the file full-permissions (read write execute) to root, and people of non-root group can read and execute, then all others can read and execute also. Good luck.
".exe = not really any such thing in linux -- *nix does not use extensions like windows... "
Mmm, kind of. Executable applications in virtually all cases don't use extensions, but many other files do.
P.S. You may wish to copy the executable application to a public directory on the server, such as /bin/ ... But if it requires many library files and configuration files within the same directory, that's a different story. But for most stand-alone applications, copying to /bin/ works.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
You should install programs to /usr/local or /opt. /root is reserved for the root user only.
When you install the program, add the executable to your path by creating a symbolic link to the executable in /usr/bin:
Code:
ln -s /usr/local/appDirectory/executable /usr/bin
For example, if you installed firefox to /usr/local/firefox, then the above command will be "ln -s /usr/local/firefox/firefox /usr/bin" You will need to be root to create the link, but then you will be able to execute the application as a normal user.
These are obsolete folders. When UNIX didn't have a package system (like RPM), sysadmins needed to separate an optional (or local) Software from the main OS. These were the directories used for that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.