LinuxQuestions.org
Visit Jeremy's Blog.
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 01-06-2017, 03:53 PM   #1
loic1489
LQ Newbie
 
Registered: Jan 2017
Distribution: Slackware
Posts: 9

Rep: Reputation: Disabled
Question Tips about installing new software, help!


Well, I finally installed Slackware (after some trouble in the installaion) and, since there is no file explorer/manager/browser, I thought "lets install it!".

Since I couldn't find any on slackpkg or SlackBuilds (I didn't search much in the builds), installing from source would be my second choice, so I cloned Nautilus's git (yep, the gnome file manager).

It took like hours (really) to install it. Not only because the number of dependencies, but because there were many things breaking in the middle; libs not been recognized/linked correctly, "make install" getting segmentation fault (wtf?), AX_* macros not installed (took some time to know they were macros from autoconf-archive), wrong versions been installed that I had to "manually" change so it could be recognized, etc.

There were like 4 times I said: "I guess i'm too newbie to try this distro, bye!" cause it was too frustrating to not been able to solve these problems on my own, and the time it did required to learn/solve it.

Of course, I'm grateful right now to be able to overcome them all, mostly correctly. I've learned alot, but... still...

The questions I'm asking here are:
  • Is it that hassle to install new software on Slackware?
  • Am I doing something wrong for installing everything from the source (compiling)?
  • Are Slackbuilds that much easier? (I didn't use it)

Also, sometimes I installed some converted rpm files from rpmfind dot com. Is that correct? And, if so, how can I look for builds that would be the most correct to be installed on the arch I use?
 
Old 01-06-2017, 04:19 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by loic1489 View Post
Well, I finally installed Slackware (after some trouble in the installaion) and, since there is no file explorer/manager/browser
How hard did you actually look for an installed file manager? Did you do a full installation of Slackware? What desktop environment are you using?
Both XFCE and KDE have their own file managers. Both are part of a full Slackware installation.

You get bonus points for persevering and not easily giving up, though. Good.
 
2 members found this post helpful.
Old 01-06-2017, 04:26 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,064

Rep: Reputation: Disabled
Quote:
Originally Posted by loic1489 View Post
Well, I finally installed Slackware (after some trouble in the installaion) and, since there is no file explorer/manager/browser, I thought "lets install it!".
Are you kidding? Next time, type
Code:
xfce4-appfinder
and you will see that Thunar and konqueror are there, and mc on the command line

Quote:
Since I couldn't find any on slackpkg or SlackBuilds (I didn't search much in the builds)[/code]Is it too difficult to do this for instance?

The questions I'm asking here are:
  • Is it that hassle to install new software on Slackware?
  • Am I doing something wrong for installing everything from the source (compiling)?
  • Are Slackbuilds that much easier? (I didn't use it)
A1: No. Just visit SlackDocs and read.
A2: Yes. Slackware is not Debian but what is said here is also mostly true for Slackware.
A3: Read this.

PS This shouldn't discourage you. I am sure you well be soon acquainted to Slackware, and don't hesitate to request help.

Last edited by Didier Spaier; 01-06-2017 at 04:30 PM. Reason: PS added.
 
1 members found this post helpful.
Old 01-06-2017, 04:29 PM   #4
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196
Welcome to Slackware - kind of!

There are several file browsers included with a full Slackware installation, and several others available from Slackbuilds.org. What desktop are you using?

The main source of your installation hassle is that Slackware does not natively support Gnome! So I can imagine that installing Nautilus would require a substantial list of non-native dependencies!

If you got it running at all, I suppose that deserves some applause!

If you need to run Gnome applications on Slackware, Dropline Gnome would be a good place to start. There are others here who run Gnome/Gnome applications on Slackware (I do not) who can offer other comments.

Quote:
Originally Posted by loic1489 View Post
The questions I'm asking here are:
  • Is it that hassle to install new software on Slackware?
  • Am I doing something wrong for installing everything from the source (compiling)?
  • Are Slackbuilds that much easier? (I didn't use it)

Also, sometimes I installed some converted rpm files from rpmfind dot com. Is that correct? And, if so, how can I look for builds that would be the most correct to be installed on the arch I use?
In order:

1. No, installing applications on Slackware is not a hassle, if done the Slackware way.
2. No and yes. You really, really need to learn about Slackbuild scripts and Slackbuilds.org!
3. See #2

To elaborate on #2 - there is nothing wrong with installing something from source. However, making use of the native package management tools and the native concept of Slackbuild scripts will have already solved most of the problems associated with that! Do not reinvent the wheel!

Welcome aboard, and good luck!

Last edited by astrogeek; 01-06-2017 at 04:43 PM. Reason: Added link
 
2 members found this post helpful.
Old 01-06-2017, 05:24 PM   #5
loic1489
LQ Newbie
 
Registered: Jan 2017
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
How hard did you actually look for an installed file manager? Did you do a full installation of Slackware? What desktop environment are you using?
Both XFCE and KDE have their own file managers. Both are part of a full Slackware installation.

You get bonus points for persevering and not easily giving up, though. Good.
I didn't install XFCE or KDE cause I was sure that I wasn't going to use them. I only installed fluxbox cause it didn't gave me a choice to not install any WM! Normally I would manually install xorg, the video drivers and then procced to choose a WM.

Thanks Alien

Quote:
Originally Posted by Didier Spaier View Post
Are you kidding? Next time, type
Code:
xfce4-appfinder
and you will see that Thunar and konqueror are there, and mc on the command line


A1: No. Just visit SlackDocs and read.
A2: Yes. Slackware is not Debian but what is said here is also mostly true for Slackware.
A3: Read this.

PS This shouldn't discourage you. I am sure you well be soon acquainted to Slackware, and don't hesitate to request help.
Thunar isn't installed, i tried to install it through slackpkg and searching on slackbuilds. Only thunar-volman would show up as i recall.

Mc is installed but what I meant by file manager would be something more... graphical :^). Sorry to not be specific.

Also, I've read SlackDocs's article about installing software... 3 ways of installing: pre built package, source and slackbuilds as i remember. I just didn't slackbuilds cause i knew how to compile everything and solve (or i thought so lol).

Thanks again Didier

Quote:
Originally Posted by astrogeek View Post
Welcome to Slackware - kind of!

There are several file browsers included with a full Slackware installation, and several others available from Slackbuilds.org. What desktop are you using?

The main source of your installation hassle is that Slackware does not natively support Gnome! So I can imagine that installing Nautilus would require a substantial list of non-native dependencies!

If you got it running at all, I suppose that deserves some applause!

If you need to run Gnome applications on Slackware, Dropline Gnome would be a good place to start. There are others here who run Gnome/Gnome applications on Slackware (I do not) who can offer other comments.



In order:

1. No, installing applications on Slackware is not a hassle, if done the Slackware way.
2. No and yes. You really, really need to learn about Slackbuild scripts and Slackbuilds.org!
3. See #2

To elaborate on #2 - there is nothing wrong with installing something from source. However, making use of the native package management tools and the native concept of Slackbuild scripts will have already solved most of the problems associated with that! Do not reinvent the wheel!

Welcome aboard, and good luck!
Didn't know slackbuilds were SO IMPORTANT perhaps I should really take a look at it. Also, didn't know about that gnome compatibility with slackware, thanks astro ! I got it running too!

One more question: What happens if I don't find a slackbuild for a desired package? like nautilus and thunar (i just searched slackbuilds and couldn't find a build script for thunar).
 
Old 01-06-2017, 05:28 PM   #6
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
One more question: What happens if I don't find a slackbuild for a desired package? like nautilus and thunar (i just searched slackbuilds and couldn't find a build script for thunar).
That's because Thunar is PART OF CORE SLACKWARE and that's where you would get it from if you hadn't been so goddamn sure you didn't need it.

Nautilus is Gnome, and Gnome isn't Slackware.

If you don't start with a full install, you are going to be high maintenance, and we won't enjoy that ...

Last edited by 55020; 01-06-2017 at 05:30 PM.
 
4 members found this post helpful.
Old 01-06-2017, 05:33 PM   #7
loic1489
LQ Newbie
 
Registered: Jan 2017
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 55020 View Post
That's because Thunar is PART OF CORE SLACKWARE and that's where you would get it from if you hadn't been so goddamn sure you didn't need it.

Nautilus is Gnome, and Gnome isn't Slackware.

If you don't start with a full install, you are going to be high maintenance, and we won't enjoy that ...
So, you are telling me I need to install XFCE to get Thunar? (I don't know if thunar is there tho, just a guess/example)

@edit

Nevermind. I remember that there are more than one way to install those series, so I should be able to install only thunar if choosing package per package. But are there no more ways?

Last edited by loic1489; 01-06-2017 at 05:39 PM.
 
Old 01-06-2017, 05:51 PM   #8
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by loic1489 View Post
So, you are telling me I need to install XFCE to get Thunar? (I don't know if thunar is there tho, just a guess/example)

@edit

Nevermind. I remember that there are more than one way to install those series, so I should be able to install only thunar if choosing package per package. But are there no more ways?
You can install individual packages, but there's no guarantee that all the dependencies will be installed if you don't do a full install. At least, if you want to install something from the Xfce group, you should install the entire Xfce group. Similarly with KDE. As someone else said, Slackware is not Debian (or Arch or something else with auto-dependency annoyances).

Last edited by montagdude; 01-06-2017 at 05:56 PM.
 
2 members found this post helpful.
Old 01-06-2017, 05:58 PM   #9
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196
Quote:
Originally Posted by loic1489 View Post
Didn't know slackbuilds were SO IMPORTANT perhaps I should really take a look at it. Also, didn't know about that gnome compatibility with slackware, thanks astro ! I got it running too!

One more question: What happens if I don't find a slackbuild for a desired package? like nautilus and thunar (i just searched slackbuilds and couldn't find a build script for thunar).
Yes, slackbuild scripts are the method Pat Volkerding uses to build and maintain the distribution packages - they are a central concept of Slackware.

As noted by others, Thunar is a core Slackware package, so you should have it with a full** install. You may find the Slackbuild script used to produce it in the distribution source tree, here for example.

Other than the most obscure packages, when you do not find something that is otherwise common on Slackbuilds.org, it is like a clue telling you to check the distribution packages as it is probably already there.

In those cases where there is not yet a Slackbuild available - make one! There are guides for doing that on the Slackbuilds site too. A Slackbuild is really just a wrapper for the build which can provide a base configuration and result in a Slackware package. The importance of the package is of course, you then manage it with the package tools.

For me one of the best advantages of Slackbuild scripts is that when some piece of software releases a new version I am not at the mercy of some other packager to update it for me! I simply modify the version info and make any tweaks if necessary in the script, rebuild and then...

Code:
upgradepkg path/to/newpackage.tgz
All done!

It will take a little time to learn how Slackware is different (dare I say, better) than other distros, but as others have said, just ask here and you will find helpful guidance from friendly Slackers!

**With Slackware it is always important to do a full install! Slackbuilds.org scripts are built on the assumption that you have a full install.
 
2 members found this post helpful.
Old 01-06-2017, 06:01 PM   #10
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by 55020 View Post
If you don't start with a full install, you are going to be high maintenance, and we won't enjoy that ...
Agreed. A full install of Slackware takes less than 10 GB of hard drive space and you get a system that works out of the box with all dependencies met. I'm running Fluxbox and I can use the applications I want (Google Chrome, Pulse Audio Controller, etc.). You may need to edit your Fluxbox menu, but, that isn't difficult.
 
1 members found this post helpful.
Old 01-06-2017, 06:09 PM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,242

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
I'm not sure if you know how to find out exactly which applications are included with Slackware, but there's a file called PACKAGES.TXT that you can use to check. Here's the one that's probably relevant to you:

http://ftp.oregonstate.edu/pub/slack...2/PACKAGES.TXT

Last edited by dugan; 01-08-2017 at 01:26 AM.
 
1 members found this post helpful.
Old 01-06-2017, 06:11 PM   #12
loic1489
LQ Newbie
 
Registered: Jan 2017
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
You can install individual packages, but there's no guarantee that all the dependencies will be installed if you don't do a full install. At least, if you want to install something from the Xfce group, you should install the entire Xfce group. Similarly with KDE. As someone else said, Slackware is not Debian (or Arch or something else with auto-dependency annoyances).
I just don't like the idea of installing stuff that I won't use like XFCE thanks!

Quote:
Originally Posted by astrogeek View Post
Yes, slackbuild scripts are the method Pat Volkerding uses to build and maintain the distribution packages - they are a central concept of Slackware.

As noted by others, Thunar is a core Slackware package, so you should have it with a full** install. You may find the Slackbuild script used to produce it in the distribution source tree, here for example.

Other than the most obscure packages, when you do not find something that is otherwise common on Slackbuilds.org, it is like a clue telling you to check the distribution packages as it is probably already there.

In those cases where there is not yet a Slackbuild available - make one! There are guides for doing that on the Slackbuilds site too. A Slackbuild is really just a wrapper for the build which can provide a base configuration and result in a Slackware package. The importance of the package is of course, you then manage it with the package tools.

For me one of the best advantages of Slackbuild scripts is that when some piece of software releases a new version I am not at the mercy of some other packager to update it for me! I simply modify the version info and make any tweaks if necessary in the script, rebuild and then...

Code:
upgradepkg path/to/newpackage.tgz
All done!

It will take a little time to learn how Slackware is different (dare I say, better) than other distros, but as others have said, just ask here and you will find helpful guidance from friendly Slackers!

**With Slackware it is always important to do a full install! Slackbuilds.org scripts are built on the assumption that you have a full install.
I understand now how important slackbuilds are and how I should have installed everything, thanks alot !! Slackware really is different and i hope to learn alot from it!
 
Old 01-06-2017, 06:32 PM   #13
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by loic1489 View Post
I understand now how important slackbuilds are and how I should have installed everything, thanks alot !! Slackware really is different and i hope to learn alot from it!
The more I run Slackware, the more I admire its simplicity, elegance, and robustness. I think you will grow to like Slackware. Welcome to the official Slackware forum.
 
2 members found this post helpful.
Old 01-06-2017, 07:50 PM   #14
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by loic1489 View Post
I just don't like the idea of installing stuff that I won't use like XFCE thanks!
This is understandable and many people don't install everything. However, Slackware doesn't have any native dependency resolution. If you wanted to install thunar from the installation media, there is nothing on there that will tell you of any dependencies that application may have. With some fancy work and some searching, you can usually find it out, but it's a lot of work, and most users find it just isn't worth the time.

Because of this lack of native dependency resolution, it is recommended (especially for newer users) to do a full install of Slackware, because then all dependencies are met. As 55020 hitest stated, a full install is less than 10GB. That's it. Slackware is a different beast than most other distros because it doesn't have any additional official software to install other than what's on installation media.

Then, when you move onto SlackBuilds (at least on SlackBuilds.org, commonly called SBo), they have the expectation you're running a full install. They will not list any software dependencies that are included with the full install (but they are required to list all 3rd-party dependencies and they must be available on SBo if they're required for the program). All SlackBuilds are tested to ensure they compile properly on a bare full Slackware install. If you don't have a full install, sometimes the software won't compile and then you have to try and figure out why.

One common reason people choose to not do a full install is because of resources. Well, if you have KDE installed but don't start it, it doesn't use anything more than less than a GB of harddrive space. No additional CPU power and no additional RAM.

Don't get me wrong. This is your machine and you're certainly entitled to install what you want, but these are a few of the reasons why many suggest using a full install.

Quote:
Originally Posted by loic1489 View Post
I understand now how important slackbuilds are and how I should have installed everything, thanks alot !! Slackware really is different and i hope to learn alot from it!
SlackBuilds themselves aren't hugely important, but it's more of the service they provide. The biggest being a consistent way to build software and to package that software in a way to allow Slackware's package manager to track it, providing easy removal. All SlackBuilds do is automate the ./configure, make, make install process, but instead of just doing make install, it does make install DESTDIR=$tmp/$location. What this does is install everything for that package into a temporary directory. Then there's a little bit of cleanup, like copying documentation, ensuring man pages are compressed, checking file permissions, etc, and finally, the makepkg command is called, which will take all those files and combine them into a Slackware package.

For years, I didn't use Slackware packages. I used ./configure, make, and make install. It worked, but it's messy. It makes it hard to know what programs you have installed, which makes it hard to know what versions they are and whether you should be upgrading them. If you want to uninstall a package, you better hope you kept the source directory so you could run a make uninstall. I remember trying to compile mplayer and the difficulty in figuring out my ./configure line, then tracking down all the dependencies. Using SBo, someone else has already done that work for me.

If I happen to come across a program that isn't on SBo that I feel should be (doesn't happen often), I will create a SlackBuild script for it and submit it myself. They are relatively simple bash scripts (usually, but they can be extremely complex if desired like Alien Bob's vlc.SlackBuild).

You seem to have a pretty solid Linux foundation if you were able to pull of compiling nautilus from source, so I have no doubt you will make a fine Slacker. Hopefully you can get through the early bits without shooting yourself in your foot like I did (several times in both feet). Let us know if you have any further questions. We try to be a helpful community

Sorry for the novel

Last edited by bassmadrigal; 01-06-2017 at 08:03 PM.
 
7 members found this post helpful.
Old 01-06-2017, 08:28 PM   #15
loic1489
LQ Newbie
 
Registered: Jan 2017
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: Disabled
I must confess I really didn't expect that much help haha! thanks again you all!
@edit
I guess I only continued building nautilus too see if I could at the end, but now I'll try to stick with the build scripts

Last edited by loic1489; 01-06-2017 at 08:30 PM.
 
  


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
Looking for OCR software tips. Anybody got any? rnturn Linux - Software 3 02-13-2013 02:06 AM
LXer: 5 Tips for free software advocates LXer Syndicated Linux News 0 12-08-2008 04:00 PM
LXer: Tips on Software Versioning LXer Syndicated Linux News 0 04-11-2007 11:46 PM
useful tips for installing slack??? detpenguin Slackware 17 05-11-2004 05:59 PM
Basic software installation tips Astropicachu Linux - Newbie 1 01-17-2004 11:53 AM

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

All times are GMT -5. The time now is 04:09 PM.

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