Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am connected to a linux system with SSH in my college. I found that ctorrent is a console alternative of bitorrent. I have downloaded the tar.gz source but to compile/install it needs sudo access

Is there a way to install the program without sudo access?

I don't know a lot about linux and cannot make this answer work with ctorrent.

share|improve this question
2  
please specify error you got,when following the above method. –  harish.venkat Dec 24 '12 at 17:19
add comment

1 Answer

up vote 10 down vote accepted

you can install it locally in your home directory. Ususally it can be done by specifying the parameter prefix for configure script.
For example,

./configure --prefix=$HOME

So, when you compile sources configured in such way, then you will call ** make install** the binaries will install into you $HOME/bin
Also, you should alternate PATH variable.
You can do this in $HOME/.bashrc in next way

export PATH=$HOME/bin:$PATH

Anyway, if your sources don't have usual build system - you can just compile it, manually put in $HOME/bin and alternate PATH variable (to make it available without specifying the full path to binary).

share|improve this answer
    
I was getting permission errors on configure. I changed the permission and allowed execution which compiled it successfully –  LifeH2O Dec 24 '12 at 17:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.