LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-25-2011, 05:26 PM   #1
cristi92b
Member
 
Registered: May 2011
Posts: 94

Rep: Reputation: Disabled
How do you install your applications?


Since I started using Slackware64-13.37 I learned several ways of installing application.

1.
sh <name>.sh
sh <name>.run
sh <name>.<extension>

2.I guess this i what is called compiling
giving commands like:
make
make install
cmake
(I don't know how this works, I use tutorials).

3.Changing .tar.gz extension to .tgz renaming the file, then
installpkg <name>.tgz
(this always create a folder in the root folder)

And another question: How do I find out if an application requires additional libraries?
 
Old 05-25-2011, 05:33 PM   #2
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
check out a site:

http://slackbuilds.org/

Simply installing a tar.gz using install pkg likely not a good idea, but that site will help you get started and they have tons of install scripts.

There is also a tool for using slackbuilds.org called sbopkg, just google it.

Welcome to slackware
 
Old 05-25-2011, 05:34 PM   #3
cristi92b
Member
 
Registered: May 2011
Posts: 94

Original Poster
Rep: Reputation: Disabled
Thank you!
 
Old 05-25-2011, 05:35 PM   #4
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
Quote:
3.Changing .tar.gz extension to .tgz renaming the file, then
installpkg <name>.tgz
(this always create a folder in the root folder)
This is not the correct way to do this. You have to use installpkg, upgradepkg, removepkg, with Slackware or Slackware compatible packages not just ordinary tarred and gzipped bundles.

You should look for a package called sbopkg it makes compiling and installing Slackware packages easy.

Quote:
How do I find out if an application requires additional libraries?
Dependencies are normally listed in the documentation, but if they're not, run the program from the command line and read the error message. Then install that package and re-run the program. Carry this on until it works.

samac

WhiteWolf1776 type faster than samac, samac must drink less!

Last edited by samac; 05-25-2011 at 05:37 PM.
 
Old 05-25-2011, 05:39 PM   #5
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
Oh, almost forgot to mention a kinda cool bit... sbopkg can do queue files and there are a ton of them. Just follow the site and once you see how easy, you can make your own. I have all my extra software in a custom queue file so when I need to build a new box it's as easy as install slackware, install sbopkg, run sbopkg with the queue file and go get some pizza.

Also, just as it will save you much headachs, su is not sudo... you don't have to su this and su that. you should "su -" (the - matters) then run any slackbuild scripts. Not doing this can cause problems. For a full writeup, read up on slackbuilds web site.

Last edited by WhiteWolf1776; 05-25-2011 at 05:40 PM.
 
Old 05-25-2011, 05:41 PM   #6
Perceptor
Member
 
Registered: Jul 2007
Location: the Future
Distribution: Slackware
Posts: 128

Rep: Reputation: 64
Long story short, you could install binary packages from repos like slacky.eu or build them yourself using slackbuilds. Check out sbopkg, it's a cli interface to the aforementioned website and allows you to browse and install packages much faster and easier. It also supports queues - a list of packages to build - for the packages with more deps - which speed up the process significantly.
Very often the required dependencies are listed in the description of the program. Running the newly installed application from terminal and checking the input usually is informative enough to see what exactly is missing.
Also, if you want automatic dependency resolving, you could install slapt-get, although IMHO that would defeat the purpose of using Slack in the first place.

----
Edit: Oops, too late. Damn multitasking. XD

Last edited by Perceptor; 05-25-2011 at 05:42 PM.
 
Old 05-25-2011, 05:44 PM   #7
multios
Member
 
Registered: Mar 2006
Location: Homer, Alaska USA
Distribution: OpenBSD, FreeBSD, Slackware64-current
Posts: 276

Rep: Reputation: 58
cristi92b, you can also use src2pkg (www.src2pkg.net).
 
Old 05-26-2011, 01:19 AM   #8
iphigenie
Member
 
Registered: Aug 2009
Location: IDLE, UK
Distribution: Slackware
Posts: 30

Rep: Reputation: 9
Quote:
Originally Posted by multios View Post
cristi92b, you can also use src2pkg (www.src2pkg.net).
src2pkg works automagically on many downloaded source tarballs (or zips), and gives you the package management advantage (mostly: it shows in all package tools and lists, and can be uninstalled or upgraded cleanly)

Last edited by iphigenie; 05-26-2011 at 05:55 PM.
 
Old 05-26-2011, 06:13 AM   #9
cristi92b
Member
 
Registered: May 2011
Posts: 94

Original Poster
Rep: Reputation: Disabled
Thank you!!!
 
  


Reply



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 new applications scorpion-1950 Linux - Newbie 9 06-05-2010 02:19 PM
How to install Applications? hikaru1207 Linux - Newbie 22 02-02-2010 05:36 AM
how to install applications? Noman Khan Linux - Newbie 1 02-20-2009 01:22 AM
Why cant I install applications? on Add/Remove Applications totaldisaster Ubuntu 2 04-13-2008 01:02 AM
Install applications apffal Linux - General 3 11-09-2004 05:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:40 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
Open Source Consulting | Domain Registration