What is the advantage of installing in /usr/bin or /usr/local/bin - apart from following conventions?
1.1) When would I chose /usr/bin rather than /usr/local/bin ?
When installing openSUSE, I made a 20 GB root partition and a 170 GB home partition (and a swap partition). If I install in /[something] rather than /home/[something], do I use up root partition space?
The manual in the zip explains why one directory or another after a fashion. As I understand it /usr/local/bin is already in the environment path variable so the application will be started where ever a console is opened. eg /home/name or whatever. OpenSuse doesn’t seem to make much use of /usr/local/bin and the directory is there in case software is installed that does. This saves users having to play with the path.
If you type** echo $PATH** in the console it will show what directories are in the user path.
One maybe simpler way to put it anywhere and create a desktop start up on KDE is to right click the start menu icon and select add application. The bits and pieces are pretty easy to fill in. In this case it looks like run in console has to selected.
Last question - yes you would. The normal reason for creating partitions like that is to control the use of more than one disk. Eg my machine has root on ssd, home on a hard drive and swap and /tmp on another hard drive in 2 separate partitions.
echo $PATH revealed that /home/ChristianAT/bin was in my path, so I just moved the files to that directory, such that I had /home/ChristianAT/bin/bowtie2-2.1.0
I need to add an environment variable BT2_HOME abcde fd that points to that directory, is that as simple as copy pasting (BT2_HOME= /home/ChristianAT/bin/bowtie2-2.1.0), without the parantheses, into the end of the .bashrc file in /home/ChristianA, or do I need to do it some other way?
Open .bashrc in a text editor paste or otherwise enter the string at the end that should work. Ther are several place you can do that but that file should work. Won’t take effect until you log out and back in.
but I just logged out and in again a couple of times, and that didn’t help. Also shut down computer and restarted. I don’t know if that could have done anything, but it didn’t help either.
Do I need to check what files are read at startup, or is there some other possible explanation?
Tried copy pasting into .profile, that didn’t work either, then googled a bit more, and found that it was the space after the equation mark that was the problem.
Writing the following in .bashrc does nothing, as far as I can tell:
export BT2_HOME= /home/ChristianAT/bin/bowtie2-2.1.0
Writing this works fine:
export BT2_HOME=/home/ChristianAT/bin/bowtie2-2.1.0