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.
I downloaded a file .tar.gz and went into root's /usr/bin and pasted it in this directory...
It created another usr/bin with some exe files in it but when I click on them it does nothing...
When I go to shell and I type /usr/bin/usr/bin/myexefile it says bash: myexe:command not found...
if you download a program most likely its going to be the source code that you need to compile the program
so lets say program.tar.gz
now you need to extract it
tar -xvzf program.tar.gz
go to the dir where it extracted read the README or INSTALL file
and it will tell you how to install the program
most like likely ./configure then make then make install
that will usually check for dependencies compile it then isntall it on your system
then if the program put a link in the /usr/bin dir you should just be able to type the program name in any terminal and it should run
giving that you had no errors thru this prossess
./configure check for dependencies
make compiles the program
make install install the compiled binaries that i compiles
Linux does not care if a file is named dslfjsdljdl.exe. Also it will not run it if it does not have the proper permissions. The only way a file will be executable is if it has a execution permission for either user, group, or other. You have to set the file to the appropriate permission mode to execute the file. Usually executable files will have a permission mode of 750. See chmod in man pages for more information.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.