This forum has been archived. All content is frozen. Please use KDE Discuss instead.

total novice question

Tags: None
(comma "," separated)
sasham
Registered Member
Posts
6
Karma
0

total novice question

Fri Oct 13, 2006 11:16 am
Hello,
I have downladed ktorrent and followed the instructions for installation.So now I have a bunch of files but can´t fin which one is the executable file? :?
stoeptegel
Registered Member
Posts
1075
Karma
0

Fri Oct 13, 2006 12:19 pm
If you've installed it correctly, the system should find the executable on itself. So you should be able to run ktorrent from any 'location', i.e.: konsole, K-menu, alt+f2, etc.
sasham
Registered Member
Posts
6
Karma
0

Fri Oct 13, 2006 5:41 pm
stoeptegel wrote:If you've installed it correctly, the system should find the executable on itself. So you should be able to run ktorrent from any 'location', i.e.: konsole, K-menu, alt+f2, etc.


Uhm,OK
but the ktorrent didn´t appear in the k-menu.How to start it from the konsole?
Thanks
George
Moderator
Posts
5421
Karma
1

Fri Oct 13, 2006 6:00 pm
We install a desktop file, so provided you installed it in the correct prefix, it should be in the menu.

But you can also run it by typing ktorrent in a terminal.
sasham
Registered Member
Posts
6
Karma
0

Fri Oct 13, 2006 8:21 pm
George wrote:We install a desktop file, so provided you installed it in the correct prefix, it should be in the menu.

But you can also run it by typing ktorrent in a terminal.


What do you mean correct prefix?It seems that I didn´t do that properly.
Just type ktorrent like that?Typing that gives me - command not found - message.
cyrylas
Registered Member
Posts
59
Karma
0

Fri Oct 13, 2006 11:34 pm
did you run:
Code: Select all
su
<your root passowrd>
make install

it should take about 10 secindes and after ted run:
Code: Select all
exit
ktorrent &


...And KTorrent Should Start...


PS. Sorry, if in it's unreadable, but i'm reaaly drunk now :D
sasham
Registered Member
Posts
6
Karma
0

Sat Oct 14, 2006 9:23 am
[quote="cyrylas"]did you run:
Code: Select all
su
<your root passowrd>
make install

it should take about 10 secindes and after ted run:
Code: Select all
exit
ktorrent &


...And KTorrent Should Start...


Yes I did run make install as a root but didn´t run exit ktorrent &
What now?
George
Moderator
Posts
5421
Karma
1

Sat Oct 14, 2006 10:31 am
sasham wrote:
George wrote:We install a desktop file, so provided you installed it in the correct prefix, it should be in the menu.

But you can also run it by typing ktorrent in a terminal.


What do you mean correct prefix?It seems that I didn´t do that properly.
Just type ktorrent like that?Typing that gives me - command not found - message.


Well, when you run configure you can tell it where to install everything :

./configure --prefix=/usr

This will install the executable in /usr/bin, the libraries in /usr/lib, data ends up in /usr/share.

If you don't add the prefix argument, I think it will be installed where all other kde executables are installed.
George
Moderator
Posts
5421
Karma
1

Sat Oct 14, 2006 10:32 am
sasham wrote:
cyrylas wrote:did you run:
Code: Select all
su
<your root passowrd>
make install

it should take about 10 secindes and after ted run:
Code: Select all
exit
ktorrent &


...And KTorrent Should Start...


Yes I did run make install as a root but didn´t run exit ktorrent &
What now?


Then it is installed, exit will just get back to your normal user account.

It should now be possible to run ktorrent, if you just type ktorrent
sasham
Registered Member
Posts
6
Karma
0

Sun Oct 15, 2006 9:36 am
Then it is installed, exit will just get back to your normal user account.

It should now be possible to run ktorrent, if you just type ktorrent


Well it ,does not work.I have installed ktorrent in a folder that i made for it ( kind of windows like thinking,sorry).Should I try to delete that folder or uninstall it in some way and then try to install it again with using the right prefix so everything fits in it place properly?Again,sorry for the beginers questions.
Maybe it has something with my version of linux I have slackware linux and kde 3.2.3.
I even dont know what is the version of slackware.


:wink:
imported4-Ivan
Registered Member
Posts
819
Karma
0

Sun Oct 15, 2006 10:55 am
I suggest you use Slackware compiled package from this website:

http://www.slacky.it/index.php?option=c ... nfo&id=571
George
Moderator
Posts
5421
Karma
1

Sun Oct 15, 2006 11:02 am
sasham wrote:Then it is installed, exit will just get back to your normal user account.

It should now be possible to run ktorrent, if you just type ktorrent


Well it ,does not work.I have installed ktorrent in a folder that i made for it ( kind of windows like thinking,sorry).Should I try to delete that folder or uninstall it in some way and then try to install it again with using the right prefix so everything fits in it place properly?


That would be the easiest thing to do. If you type in ktorrent, linux (actually your shell) will start looking for ktorrent in all the directories in your path.

If you type echo $PATH you will get something like this :

/home/joris/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/home/joris/ktorrent/unsermake/

All these directories will be searched for a file name ktorrent. Your custom directory will not be in there. You will have to add that by doing this :

export PATH=$PATH:/my/custom/dir

Then this directory will also be searched for ktorrent.

But it would be easier to just install it with /usr as a prefix or /opt/kde (I believe slackware puts kde in that directory)
sasham
Registered Member
Posts
6
Karma
0

Sun Oct 15, 2006 2:39 pm
George wrote:
sasham wrote:Then it is installed, exit will just get back to your normal user account.

It should now be possible to run ktorrent, if you just type ktorrent


Well it ,does not work.I have installed ktorrent in a folder that i made for it ( kind of windows like thinking,sorry).Should I try to delete that folder or uninstall it in some way and then try to install it again with using the right prefix so everything fits in it place properly?


That would be the easiest thing to do. If you type in ktorrent, linux (actually your shell) will start looking for ktorrent in all the directories in your path.

If you type echo $PATH you will get something like this :

/home/joris/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/home/joris/ktorrent/unsermake/


When I type :
sasha@anarhista:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:.:/home/sasha/Desktop/folder:/home/sasha/Desktop/folder:/home/sasha/Desktop/folder:/home/sasha/Desktop/folder

/home/sasha/Desktop/folder:/ is the folder where I have unpacked ktorrent
Is it ok if I erase this whole directory and then install it all over again ?


export PATH=$PATH:/my/custom/dir
When I do this as a root I get
root@anarhista:/home/sasha# export PATH=$PATH:/home/sasha/Desktop/folder za ktorrent/ktorrent-2.0.3
bash: export: `ktorrent/ktorrent-2.0.3': not a valid identifier



T
George
Moderator
Posts
5421
Karma
1

Mon Oct 16, 2006 6:10 pm
I think you are better off by just recompiling and then doing make install.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]