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 havenīt had problems linking devices before. What I want to do is link a program that I have in my home directory to a directory that is in the path (so I can run it from anywhere as a user).
I am not sure how I go about doing this so that when the link is run that it finds the sub directories which are located whith the real file (in my home directory)
Hey chii-chan thanks for the tip! The link is working now but it doesnīt find the sub directorys that it needs to run the program (they are in /home/adam/Xnview/bin/ etc)
bash-2.05b$ xnview
/usr/local/bin/xnview: line 23: bin/xnview: No such file or directory
bash-2.05b$
does this actually work? my guess is, if you want this to really work, you're going to need to check the permissions of your $HOME directory and all the subdirectories where the program is installed or the file you want to have accessible. you especially need to look at the permissions for "Others" since everyone accessing the program besides your user where the program is installed will be "Other". then again, what's the point of having a user account if you're going to let other users access that user's account? i'd suggest rethinking what you are trying to do.
Hey thanks megaspaz the reason I was trying that was that I only have one user in my computer.
Thanks for you help to emetib I think I need to learn a bit more about how linking works.
I think there was a bug in the install program for xnview. Even as root it said that there was an error and that it couldnīt install as I wasnīt root. I just opened the install script and removed that part at the beginning of the program. It installed sweet... so at least it working for now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.