Talk:Linux for Newbies

From CoolSolutionsWiki

Where or how do I install an application so as to make it available to all users on a machine?

I downloaded an early access Linux version of DirXML Designer. I installed the app in the /root/designer folder. Why? Because that is the location the installer defaulted to.'

Now when I log in as a user (other than root), I can't get to the folder to create a launch icon on the user's desktop much less run the app.

What do I do now? Should I uninstall and reinstall but where? Should I change permissions to /root/designer? Is that a good practice? If so, what should the permissions be?

BTW, I'm running NLD9 SP1 on the machine.

Whenever possible you should obtain an application as an RPM package as that ensures it will play nice with the packaging system and usually means it installs in standard locations (following the FHS).

When an application does not come as an RPM (or you're building it from source), there are two places I'd recommend as installation roots: /opt/<vendorname>/ and /usr/local/. /opt/<vendorname> is for applications shipped by a vendor (i.e. not included in your distribution); /usr/local/ is usually the best place to put locally built software.

In this particular case, you might want to ask the DirXML Designer developers to consider distributing it in RPM format.

Rdassen 01:31, 28 Apr 2005 (MDT)

FYI, DirXML Designer is delivered as a tar file which includes an install script.

Thanks for the reply but I still need some guidance. Should I install the application in /opt/<application-name> or in /usr/local? Which would make the app accessible to all users on the machine? I understand it would depend on permissions but how do I check this?

Dbraun

In this case /opt/<application-name> or /opt/<vendor>-<application-name (e.g. /opt/novell-dirxml-designer) is most appropriate, as DirXML Designer is not software you've built locally. This should be accessible to all users who configure their PATH setting appropriately ("PATH=/opt/novell-dirxml-designer/bin:$PATH; export PATH"). Usually an installation script will take care of the permissions of the contents it installs, so you only need to ensure that the installation root is accessible to all users ("chmod a+rx /opt /opt/novell-dirxml-designer").

Rdassen 01:38, 29 Apr 2005 (MDT)

Stomfi would like to comment that if you are installing from source, you can use the "checkinstall" tool instead of "make install", which will create an RPM for the repository. You can use the "alien" tool to convert from one package type to another. Lastly, if you are using a package in a /opt folder, it is more secure to temporarily set the path from an application launching script. This will probably also set the LD_PATH for its libraries. You can see examples in the existing /opt folder.

downloading files on Linux

downloading files on Linux

Zeekie here.

I just loaded SUSE 10 after 9.2 long since made itself non-functional for about the third time atleast three months ago. I have no idea if its going to be better this time. Somebody has to make these Linux OS's more accessible and reliable for Newbies like myself who are realizing there just may not be time in life to learn programming. Look at DUMB QUESTION. The question is eight words and a Windows summary of two steps that are easy. Then look at your How To. It must be a thousand words that loses my understanding several times before ultimately loosing my attention. As far as YAST goes. Where's the YAST button located on the descktop? Yast isn't even on the programme shortlist. When I found my programme Manager or YAST if that is it, it looked friendlier, but it still probably took all night and then this morning a screen told me I had to edit my something-or-other in sutch-and-sutch and then turn-on my so-and-so so I can complete the installs. I suppose I didn't have a clue, so I just clicked the Continue button and went out to walk the dog. I clicked the Finish button when I got back and still don't have any idea whether I got 99% of it all or ZIP. I still can't get through setting up my Email account in K Mail any better or more reliably than earlier versions of Suse or Redhat and several other LINUXes. This reminds me of the jokes about "If Microsoft W98 were GM or Ford or Chrysler" except I'd more liken it to "If your TV Tuner was a Linux."

Give it some thought. The reviews I'm reading about SUSE 10.1 suggest it is absolutely wonderful except for Newbies like me -- that I should probably wait for 10.2 or 10.3 or will SUSE 11 actually be Dumb friendly. Some of us are actually glad we can use Windows without remembering DOS. Yet we support the concept of LINUX to the CORE. Get It? With the time available, some of us just feel lucky if we can click the right button (correct button, that is) and take some pride in that maybe something we wanted to actually happened.

Can someone advise this Not-Dumb-Dumbie how to get CUPS to handle an EPSON Stylus 740 printer? I tried to get a copy of the instructions for that YAST update situation and it would not print.

Zeekie