• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Best practices for programs manually installed

VinylxScratches

Golden Member
Where is the best place to put progs that are not packaged? I have UNetbootin and it doesn't rely on packaging? I downloaded it and chmoded it and I was able to run it.

I'm running OpenSuse 11.4 if that matters.
 
I haven't really run into that much, but I'd probably put it in my home folder. Maybe in a folder called 3rdparty, or something like that.
 
It's a lot of personal preference. If it was a single binary I'd probably just drop it in ~/bin. If it was more than that I'd probably use checkinstall so that I can easily and reliably remove/update it later.
 
/opt needs to die, /usr/local is the place for that kind of thing. I'm extremely disappointed that Google opted (pun intended) to put Chrome in /opt/google even when using their packages.
 
/opt is where it goes. However I have a /home/me/apps folder where I stick things only I use (not something I might want other users like my wife to use.

inside there I have lib, bin, and all the other things you would expect in /usr/local

I then put that in my path.
 
I've found the FSH pretty useful, the only thing that it doesn't address is where to mount an extra data partition/logical volume or permanent NFS share.
 
I haven't really run into that much, but I'd probably put it in my home folder. Maybe in a folder called 3rdparty, or something like that.
Yep! I just put everything in ~/home/<username>

To keep the proggies sorted, I put them in a hidden folder.

Example: In the OP's case, the path would be: ~/home/vinylxscratches/.unetbootin

Works for me... 😉
 
I tend to put it all in /opt under a directory specifically named for the program. That way if I ever want to kill the whole program I can just remove the directory.
 
It totally depends on the program. Some programs come with documentation, even though they're not prepackaged. I *try to put them in their default locations. If they tend to be run by a particular user, I'll drop them in /home/user/program to make rights a little easier to manage.

If they tend to generate a lot logs or file system writes, I'll put them in /usr/local and /var for the portions that generate lots of logs.

/opt is just as good...it's really up to you. As long as you know where it is and know the file system rights are configured so that it's not a huge security hole, you're good.
 
Back
Top