You are not logged in.
Pages: 1
I have two separate questions on linking ...
1) I compiled cfv and ncdu and the binary files is in /usr/local/bin, this does not make me able to just type cfv or ncdu to run the programs. What is the best way to 'link' these programs? I know of several alternatives
a) Bash-alias
b) Make a file in /usr/bin and put +x with chmod on it and that this links to the binary files in /usr/local/bin ...
c) Use ln to create a link
But what is the best way, or to put it another way -- the recommended way? I don't want to type the full path all the time
2) I run mpd+icecast on this computer, however I have two music folders and mpd just runs on my big music folder not the smaller one. What is the recommended way to get the two folders togheter so I can listen to all my music via mpd? Via ln or by mounting or what is the best way?
Offline
It is best to have programs just go in /usr/bin in the first place. You should have a look at the PKGBUILDs in the AUR to install them.
Take a look in the wiki for more info:
http://wiki.archlinux.org/index.php/ABS
http://wiki.archlinux.org/index.php/AUR
http://wiki.archlinux.org/index.php/Makepkg
Offline
I think adding /usr/local/bin to PATH is the best method.
Offline
It is best to have programs just go in /usr/bin in the first place. You should have a look at the PKGBUILDs in the AUR to install them.
Take a look in the wiki for more info:
http://wiki.archlinux.org/index.php/ABS
http://wiki.archlinux.org/index.php/AUR
http://wiki.archlinux.org/index.php/Makepkg
Oh, that's great. Thank you very much. And thank you too Lachkater, it cleared up things for me.
Offline
Pages: 1