Installing apps in home

I’ve got a few games and applications that I have to install manually as they’re not available in rpms. Having to use the console to navigate and execute them is not very fun and placing them in the root partition is not very practical when you’re on a multiboot system. So I was wondering if it’s possible to add a directory in home in wich you can place the programs, like /home/usr/bin and /home/usr/lib.

I tried to do the above myself, adding to PATH

export PATH=$PATH:/home/usr/bin

But that only worked in the console and only until I logged out. KDEs run dialog did not work for me.

Is there anything I missed?
How do I make it permanent and is KDEs run dialog using a different config to search for executables?

> I’ve got a few games and applications that I have to install manually
> as they’re not available in rpms.

if the games/apps are not available as rpm, how are they available?
source? what?

did you search for them in YaST or here?
http://packages.opensuse-community.org/

> Having to use the console to navigate and execute them is not very
> fun and placing them in the root partition is not very practical when
> you’re on a multiboot system.

if you have the source OR rpm file you do not have to manually
place anything in the root partition…

that is done for you by YaST or “make install”

> is KDEs run dialog using a different config to search for
> executables?

kde searches the same PATH as bash does when you use a terminal…

i used to know how to permanently add /home/[myUserID]/bin to the path
(because that is the way mine is) but i have forgotten how…sigh.


DenverD (Linux Counter 282315)
A Texan in Denmark

Some applications comes in weird installers (I’m mostly thinking about Regnum Online here here)and other are just prebuilt and comes in tarballs, instead of source.

Yes I’ve used the package search quite frequently, but there’s still stuff you’ll have to get elsewhere (Totally depends on how you spend your time at the computer I take it).

Okay so KDe uses the same PATH as bash, I found (with the help of a few google searches) out that there’s /etc/profile or ~/.bashrc to be edited to add more paths to PATH permanently. So I think this can be sorted out quite easily now.

Thanks for the fast reply. :slight_smile:

If you have multiple users and want everybody to have the same functionality, edit /etc/profile. If it is just for you, I would recommend editing ~/.bashrc. It is always a good idea to edit files in the home directory rather than a system directory, if possible.

> Some applications comes in weird installers (I’m mostly thinking about
> Regnum Online here here)

at http://www.regnumonline.com.ar/index.php?l=1&sec=6 i see several download
options…

IF you downloaded the *.exe file, that one is for windows…throw it away, or
try to get it to run in wine…

i downloaded ReqnumOnlineInstall_32 (even though i have a 64 bit machine, i find
32 just as fast usually) and see it is a “bin” file

to install it i opened a terminal, went to the directory where i’d downloaded
the file to, then to make it executable i typed:

chmod +x ReqnumOnlineInstall-32

then, to execute it i typed:

…/ReqnumOnlineInstall-32

and pressed enter…
selected an installation language…
answered Yes to "This will install Reqnum Online on your computer. Continue?
then an installation wizard opened and suggested i close all other applications
before continuing…

WHICH to me means it was written by a Windows[tm] person and i decided not to
continue…because i don’t plan to run the game anyway even it does install
correctly…[and i’d just have to figure out where the install wizard had stuffed
everything…as it is, i can just delete the downloaded ReqnumOnlineInstall-32
and be finished with it…]

but, if you get to there and want to continue, then just hit “Next” and hold
your breath in excitement…maybe it works and maybe not…if not, i’d guess
the best help you could get would be at the support page on
http://www.regnumonline.com.ar/

good luck, have fun…kill some dragons for me!!

oh, and if you like first person shoot’em up…try driving a tank in bzflag…
http://my.bzflag.org/w/Main_Page
it is, i think, on the install CD or findable via a search in YaST on bzflag


DenverD (Linux Counter 282315)
A Texan in Denmark

Thanks wnj92996 just what I was looking for and after some more digging I got it to work as I wanted. :slight_smile:

DenverD, did you read through the first post or just skim through it? I haven’t had any problems installing/compiling or running .run files, my problem was that I could not run these programs very easily.

> DenverD, did you read through the first post or just skim through it?

sorry if i was unhelpful…
yes, i read it all…and, asked a couple of clarifying questions…AND told you
there is a way to make your (for example) /home/usr/bin stay in the PATH, but
couldn’t remember how…thankfully, wnj92996 filled in that memory fault…

> I haven’t had any problems installing/compiling or running .run files, my
> problem was that I could not run these programs very easily.

i wonder why you reference *.run files in this thread…i had not mentioned
them here…


DenverD (Linux Counter 282315)
A Texan in Denmark

Sorry I didn’t not intend to come out aggresive. Honestly I can’t recall why I mentioned the run extension at all. :S