LinuxQuestions.org
Visit Jeremy's Blog.
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 07-23-2009, 10:20 AM   #1
asou
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Rep: Reputation: 0
A proposal: Classification of package install


Hi, folks.

Because there are more and more packages coming with Slackware distribution, I have a proposal to add sub-classifications for the package selection during installation.

Why? Because I usually do the customized installation for my machine. I hope my system clean and tidy, and not having some programs that I will never use them. Thus, I always spent 30 minutes or more for un-selecting what I don't want to install. It's so time-consuming. Based on the motivation, I hope the packages classification could be more delicate, especially the AP class packages.

For example:

In AP class, it can be classified into Email Related, News Related, Audio Related, and so on. Like this:
[*]+Email Related
-[*] pico
-[*] mailx
-[*]...
[ ]+News Related
-[ ]...
-[ ]...
[ ]+Audio Related
-[ ]...
-[*]...

I guess this could reduce the time for selecting packages. For me, I never use the news and command-line audio player. Thus, I can un-select them all in a quick way, and don't have to check each program and read its description for un-selecting. I thought it would save the time while installation.

The above is just my humble opinion. I just want to know if there is anyone who have the same with me. Maybe we can provide a suggestion to the develop team.

Thanks for your reading.

Last edited by asou; 07-23-2009 at 10:30 AM.
 
Old 07-23-2009, 11:16 AM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,198

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307
It sounds like you always leave the same packages out of your installations. Slackware has a mechanism to automate that. It's called "tagfiles."

http://slackbasics.org/html/chap-pkg...gmgmt-tagfiles
http://slackware.oregonstate.edu/sla...lackware-HOWTO
http://www.slackbook.org/html/packag...-tagfiles.html

Therefore, I think a simpler solution and more versatile solution might be a place exchange tagfiles. This very thread, perhaps?

(No, I'm not going to start. I alway do full installs).

Last edited by dugan; 07-23-2009 at 12:53 PM. Reason: Slackbook link added
 
Old 07-23-2009, 11:24 AM   #3
Ramurd
Member
 
Registered: Mar 2009
Location: Rotterdam, the Netherlands
Distribution: Slackwarelinux
Posts: 703

Rep: Reputation: 111Reputation: 111
Normally I do a full install (since that one gets me started quickest) and remove unwanted packages after.
A more delicate menu certainly could help, but then -given that quite a few X applications are frontends to command-line tools- some dependency checking should be in place somehow.

Not that I see this as "the" solution, but I recall cygwin giving a decent approach on their install... A tagfile generated out of the choices for later use (elsewhere) and I'd love the slackware installaten even more than I already do.
 
Old 07-23-2009, 11:27 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,198

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307
Quote:
Originally Posted by Ramurd View Post
A tagfile generated out of the choices for later use (elsewhere) and I'd love the slackware installaten even more than I already do.
When you look at the SlackBasics page I linked to, you'll find a script to do just that.
 
Old 07-23-2009, 11:33 PM   #5
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Rep: Reputation: 31
I think this could be a useful idea, something like the kernel menuconfig dialog, only for packages. Though, I think the idea would be more useful for a modern distro that holds everything and the kitchen sink, there are a couple packages I would like to remove from my slack install, but just never really bothered with tagfiles or removing them afterward.
 
Old 07-24-2009, 02:05 AM   #6
Ramurd
Member
 
Registered: Mar 2009
Location: Rotterdam, the Netherlands
Distribution: Slackwarelinux
Posts: 703

Rep: Reputation: 111Reputation: 111
Quote:
Originally Posted by dugan View Post
When you look at the SlackBasics page I linked to, you'll find a script to do just that.
whoops, years of slack experience and it turns out I'm still the noob here ;-) However, I was more referring to the installation process saving this file for you.

As mentioned like the kernel compile menu (make menuconfig) and then also in a style "make oldconfig", asking you for new / changed options. That really would be sexy :-D
 
Old 07-24-2009, 02:49 AM   #7
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by asou View Post
For example:

In AP class, it can be classified into Email Related, News Related, Audio Related, and so on. Like this:
[*]+Email Related
-[*] pico
-[*] mailx
-[*]...
[ ]+News Related
-[ ]...
-[ ]...
[ ]+Audio Related
-[ ]...
-[*]...

I guess this could reduce the time for selecting packages.
I don't like your suggestion. It makes things much more complex when it comes to the installer.
The only way i could see this being achieved and still keeping things simple, is having eg. AP1, AP2 etc containing grouped software like it was in the past. But i seriously doubt its useful.

As it's already said above the preferred method for custom non time consuming installations is to use tagfiles.
I suggest you use Alien_Bob's tagfile generator script to get a set of tagfiles of the currently installed Slackware packages.

PS. you need to have a Slackware tree somewhere in order to use the tagfile generator script.
Also this thread might be useful http://www.linuxquestions.org/questi...lready-493159/ (copied from the above script).

Last edited by sahko; 07-24-2009 at 02:57 AM.
 
Old 07-24-2009, 04:33 AM   #8
asou
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
I've done some study about tagfile. But, it only works to the corresponding version. I mean if I have prepared the tagfile for Slackware 12.2 installation, but how about the installation of the incoming version? I still have to spend much time to create a tagfile for the new version of Slackware. I guess the tagfile approach is fit for lots of same installation in an organization or a computer classroom.

Due to my job, I usually have to setup a new machine, and my case is not for the massive installation. In my work, the new machine would be a computation node in a cluster, or a data-storage node in a grid. Perhaps it would be the performance testing platform, my personal work station, or something for other purpose. If I adopt the tagfile approach, I have to prepare many editions of tagfile for many purposes, respectively. If there is a more delicate menu, the installation for the first time would save much time. In the afterward installation, it would not take much time even though I don't have the tagfile.

About the package dependency issue, I though it would not be a problem. Slackware always leave the job to the user in the past. The user can decide want s/he want and always know what s/he is doing. Hence I guess the dependency checking would be ignored if adopting the delicate menu approach.

The delicate menu is just a possible workable proposal for me. Maybe there are other solutions instead of the delicate menu approach or the tagfile approach. I'll think about everyone's suggestion and opinion again.

Thanks for everyone's discussion.

Last edited by asou; 07-24-2009 at 04:45 AM.
 
Old 07-24-2009, 06:42 AM   #9
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
Another option would be to use Alien Bob's mirror-slackware-current.sh with an excludes.txt file. I do this to exclude everything that I don't want, and this can be done down to individual files. I started a thread about this that might be useful, here is a link.

samac
 
Old 07-24-2009, 07:08 AM   #10
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Rep: Reputation: 56
I wonder if it would be decent dependency resolving workaround for extra repositories through symlinks to the dependencies of a package so an app and all its dependencies could be installed by 'upgradepkg --install-new dependent_apps_directory/*.txz'.

I am not so much into computers to tell if it is a stupid idea or an old one or both.
 
Old 07-24-2009, 09:07 AM   #11
Michielvw
Member
 
Registered: May 2005
Location: Leicester,UK
Distribution: Slackware
Posts: 108

Rep: Reputation: 19
Quote:
Originally Posted by veeall View Post
i am not so much into computers to tell if it is a stupid idea or an old one or both.
"yes"

;-)
 
Old 07-24-2009, 01:21 PM   #12
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Rep: Reputation: 56
Aargh! I knew it!
 
  


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
Linux Distributions Classification HansRoht Linux - Distributions 7 10-11-2008 04:21 PM
LXer: Email Classification (Incl. Spam Classification) With POPFile On Ubuntu Feisty Fawn LXer Syndicated Linux News 0 08-02-2007 04:46 PM
Cant Install Suse 10 * ERROR: No proposal Felpipe SUSE / openSUSE 5 05-05-2006 06:47 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM
suse 8.2 install problem: "No proposal"?? bruno buys Linux - General 3 09-30-2003 12:39 AM

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

All times are GMT -5. The time now is 07:56 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