LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-14-2005, 04:26 AM   #1
v@ny@
Member
 
Registered: Dec 2005
Location: Moscow
Distribution: Ubuntu 8.1
Posts: 104

Rep: Reputation: 15
How do I install software from the command line on slackware 10.2?


I don't have muck pratice with Linux and I still get stuck on some basic stuff like installing software on my box. My previous distro was Mandriva 2005 LE, so I just used .rpm and pretty much did it all by itslef. Now that I am using slack I don't have a clue how to go about. Can someone give me hand?! For example, I just downloaded amule. By default, firefox downloads it to my desktop. It finished downloading but I don't see it in my desktop. I am using KDE, because it is easier for me to find things, but I wanted to do this using 'blackbox' and just the command line...

Anyway, looking in the 'Konqueror' I found the donwnloaded file in '/root'
the file is aMule-2.0.3.tar.gz
so... tar:/root/aMule-2.0.3.tar.gz/

So how do I go about on installing this package?

Thanks!
 
Old 12-14-2005, 04:28 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Read this and this. They are two guides to installing packages from source.
 
Old 12-14-2005, 05:10 AM   #3
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Also check out our Slackware forum for advice on slackpkg, slapt-get, and swaret -- automatic package installers you may find useful.

(My opinion is that it is always useful to know how to compile from source, no matter what help you have)
 
Old 12-14-2005, 04:22 PM   #4
v@ny@
Member
 
Registered: Dec 2005
Location: Moscow
Distribution: Ubuntu 8.1
Posts: 104

Original Poster
Rep: Reputation: 15
Thanks, I had a look in the guide but I am still having problems... The same thing used to happen when I compiled from source in Mandriva 2005 LE and someone told me that using Slackware I wouldn't have this problem. Anyway, after I done all the make, make install, I have the program 'installed' but then, when I try to execute the program I get this message of missing libraries (as always). I did the ful installation of slackware!
Ok, now I have no idea how to get this missing libraries to make this thing work! Here is the error message:

root@vanya:/usr/local/bin# dir
amule* ed2k* wx-config@ wxrc@ wxrc-2.6*
root@vanya:/usr/local/bin# amule
amule: error while loading shared libraries: libwx_gtk2_xrc-2.6.so.0: cannot open shared object file: No such file or directory


*one more thing... I know thats a very silly question but is bugging me! When I type 'dir' in a directory which has a lot of files, it goes straight to the end of the list and I can see the beggining. What is the command to see what is inside a directory in a way that I can move down as I read? Like reading the man pages for example, when you press the space bar it moves down...


Thanks
 
Old 12-14-2005, 04:30 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Look into using "more" - as in "dir /dir |more" minus the quotes. I see that you are running as root. Try logging in as a user and then running amule.
 
Old 12-14-2005, 07:55 PM   #6
dannyl
Member
 
Registered: Aug 2003
Location: Near Marion, Ill.
Distribution: Slackware 12.2, Kubuntu, Zenwalk
Posts: 102

Rep: Reputation: 15
That error usually indicates a missing file needed by the program you are trying to run. Try doing a google search for it. Slackware doesn't use dependancies like some of the other distros which is why it didn't show up during install. XavierP is correct of course, you shouldn't run as root.
 
Old 12-14-2005, 11:03 PM   #7
mikaa
LQ Newbie
 
Registered: Dec 2005
Location: germany
Posts: 5

Rep: Reputation: 0
usually it's just:

./configure
make
su
make install
 
Old 12-15-2005, 02:18 AM   #8
v@ny@
Member
 
Registered: Dec 2005
Location: Moscow
Distribution: Ubuntu 8.1
Posts: 104

Original Poster
Rep: Reputation: 15
I was rnning as root because I was having problems in the 'user' mode, I couldn't even use startx... (I solved this problem:
http://www.linuxquestions.org/questi...d.php?t=392633 )

Now I logged in as 'user' and the program runs! It doesn't work, offcourse, that would be asking too much , but it runs!! Thanks for the tips!

Last edited by v@ny@; 12-15-2005 at 03:07 AM.
 
Old 12-15-2005, 04:53 AM   #9
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
Since Slackware has no dependency checking, it's up to you to provide the needed applications, files and libraries.
I strongly encourage you to read the help pages when downloading an app (for example: http://www.amule.org/wiki/index.php/...n_Installation) and read the README and INSTALL file after unpacking the source tarball. In most cases these are standard files, but online help and these two files should tell you, on which other programs/libraries/files your application is relying on. Slackware comes with many libraries that are not installed in other distros, but now and then you will be required to compile a second or maybe even a third package to get something working.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install software trough the command line ??? ivancauso Linux - Newbie 12 08-16-2005 11:59 PM
DL and install X from command line NeoCzar Linux - Newbie 1 07-20-2005 11:12 PM
command line software install sog777 Mandriva 5 05-16-2005 09:39 PM
after install of 10.1 only have command line? robbymcw Mandriva 1 02-04-2005 10:08 AM
when i start slackware i only have a command line, how do i get to kde Longinus Slackware 8 12-13-2003 11:23 AM


All times are GMT -5. The time now is 11:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration