LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   swaret, questions, questions!! (https://www.linuxquestions.org/questions/slackware-14/swaret-questions-questions-546441/)

BashTin 04-16-2007 07:15 AM

swaret, questions, questions!!
 
Hi all.

Just installed Swaret and have some questions. Would appreciate your expertise :confused:

1. Where can you find a list of repositories.
2. Am I right in thinking these repositories contain a list of the standard packages that ship with Slack?
3. If the answer to 2 is yes then presumably I only require one functioning repository and can you get repositories with extra 'none standard' packages?
4. Does the REPOS_ROOT have to have a corresponding ROOT entry in the config file or can they be totally unrelated?
5. A little confused about the difference between the ROOT and REPOS_ROOT. What are these two entries for, exaclty and it terms a Homer Simpson like me can understand!! :D
6. Do you only need 1 ROOT or will Swaret use more if you supply them?


Thanks again in advance, all infor very much appreciated.

Franklin 04-16-2007 08:31 AM

You will find some varying opinions regarding swaret here.

My own opinion is this:

This tool creates an illusion of Debian-like control over your system. This is not Debian. Third party package repositories have widely varying quality and can introduce dependencies that will have you scratching your head at some point.

Additionally, I believe it creates lazy slackware users who don't learn the importance of the changelog and run into trouble as a result.

There is also the issue that installing untrusted software on your machine seems to fly in the face of the very reason many people use slackware (and linux in general) in the first place. Honestly, if you want that, use Ubuntu.

I would suggest that you take a look at the following tools:

www.slackbuilds.org - this is a repository of "scripts" that allow you to build you own packages in the slackware-specific manner. The number of available scripts is growing and the site is well maintained by people who know what they are doing with regard to slackware. A very simple process that is well explained - really.

checkinstall - this is a tool that creates packages from source. You will find it in the /extra directory.

src2pkg - this is a package creation tool that has been created by a LQ member and seems to be getting some good reviews by users here. I do not have experience with this tool.

There are other tools like slapt-get and slackpkg which I know less about. I only mention these because I don't believe swaret is being actively maintained any longer. I might be wrong here though. These are also in the /extra directory. Notice that swaret is not shipped with slack - hint, hint. ;)

I know this is not what you are looking for, but I think you would be better off with any of these options over swaret.

HTH

XavierP 04-16-2007 10:06 AM

I thought swaret had been discontinued now? Ah, I see that that is not quite correct: http://swaret.sourceforge.net/index....=article&sid=7

While Swaret is useful for applying security updates, etc after an install, you are much better off doing things from source - you get far more control and you know what is going onto your system.

unixfool 04-16-2007 10:09 AM

Franklin,

Not to hijack the thread, but what's that desktop/DE you are using in your screenshots?

Franklin 04-16-2007 10:14 AM

Quote:

Originally Posted by unixfool
Franklin,

Not to hijack the thread, but what's that desktop/DE you are using in your screenshots?

KDE - These are old shots too. I should update them.

BashTin 04-16-2007 08:09 PM

Thanks for the replys. Franklin I did not know about Slackbuilds so will give it a try, thanks.

Failing that I will just continue to compile what I require. The only problem with this is keep the system upto date with security fixes.

BashTin.

pbhj 04-17-2007 07:00 AM

BashTin,

I used to compile everything but don't anymore. I actually use slapt-get at teh command line (check out qtswaret for an excellect package manager gui, btw) over and above gslapt (gui) and swaret and slackpkg.

Slackpkg is probably most useful if you're just wanting mainline slackware security updates.

Otherwise I'd look at http://linuxpackages.net that has info about slackbuild and about repos, etc., for swaret / slapt-get. Or, just do a search here should turn up lots of repos.

Compiling from source is fine, but I find now it takes too long on my 1G Athlon and so am preferring precompiled stuff. Yes there are security problems but I tend to filter the packages I'll install - first I do genuine slackware released packages, then ones from sources I trust (eg KJZ), then self-compiled, then other sources if I can't compile for some reason.

You might also look at http://0install.net/ and http://autopackage.org/ (I've not had the first working but the second seems great on my Slack box).

unixfool 04-25-2007 09:28 AM

Quote:

Originally Posted by BashTin
Thanks for the replys. Franklin I did not know about Slackbuilds so will give it a try, thanks.

Failing that I will just continue to compile what I require. The only problem with this is keep the system upto date with security fixes.

BashTin.

Pat releases security fixes, so that shouldn't be a problem, unless you're using a Slack version that's unsupported (say, Slack 7.1, for example).

Lufbery 04-25-2007 10:26 AM

BashTin,

I like to compile most of what I use from SlackBuilds.org.

However, when they don't have something, I compile but use checkinstall as my last step. Checkinstall is in the Extras directory on one of the Slackware installation CDs. It will create a Slackware package that can be installed wtih Pkgtool (and the other native Slackware package commands),and more importantly, removed the same way.

I've found that being able to remove something I don't like or can't get to work is as important as being able to install it.

Regards,

-Drew

rworkman 04-25-2007 11:36 AM

Quote:

Originally Posted by Lufbery
I like to compile most of what I use from SlackBuilds.org.

Good to hear - thanks! :)

Quote:

I've found that being able to remove something I don't like or can't get to work is as important as being able to install it.
Bingo.

BashTin 04-25-2007 07:16 PM

Thanks for the replies guys. Checkinstall sounds like a good idea, will give it a try.

BashTin

the_ajp 04-26-2007 03:37 AM

I think swaret is fine for getting packages and it helpes a little with the dependencies it's a great tool if you keep using your head. I never use X so I don't know if it works with the web of deps in X.

Also I like to do stuff myself. So important packages I compile myself it takes a lot of time and research but the result is that you end up with packages that are configured the way I like them. (Note: always test if there is a make rule for it)

Uninstalling is indeed a nice feature and I have found a darling little piece of software for that purpose. Called uninst all it does is make a list of files prior to "make install" and after it and compares those after that it spits out a little script rming everything that is new during install.


All times are GMT -5. The time now is 04:02 AM.