Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-14-2005, 03:26 AM   #1
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?

Old 12-14-2005, 03:28 AM   #2
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, 04:10 AM   #3
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, 03:22 PM   #4
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: 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...

Old 12-14-2005, 03:30 PM   #5
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 474Reputation: 474Reputation: 474Reputation: 474Reputation: 474
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, 06:55 PM   #6
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, 10:03 PM   #7
LQ Newbie
Registered: Dec 2005
Location: germany
Posts: 5

Rep: Reputation: 0
usually it's just:

make install
Old 12-15-2005, 01:18 AM   #8
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: )

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 02:07 AM.
Old 12-15-2005, 03:53 AM   #9
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,603

Rep: Reputation: 128Reputation: 128
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: 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.


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 10:59 PM
DL and install X from command line NeoCzar Linux - Newbie 1 07-20-2005 10:12 PM
command line software install sog777 Mandriva 5 05-16-2005 08:39 PM
after install of 10.1 only have command line? robbymcw Mandriva 1 02-04-2005 09:08 AM
when i start slackware i only have a command line, how do i get to kde Longinus Slackware 8 12-13-2003 10:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:35 AM.

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