LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-12-2004, 02:11 PM   #1
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Rep: Reputation: 30
distro extension script


i just installed slackware 9.1 after configuring it 3 other times. i have also installed programs before i re-installed it. im tires of losing my software and configuration files.

what i did was i created a folder called "extended distro". and make a sub-folder called "pkgs". i put all my .tgz and .tar.gz files in there. what i want to know is if there's a way i can create a script that will untar all those files into their current directories, automatically configure, make, and install the programs (the .tar.gz ones, not .tgz). And for the .tgz files, just a scrit that will automatically take multiple .tgz files, and install those

is this possible, and where can i learn to do it? can someone here make it for all the lazy people like me?

basically, all the extended packages are just packages that's been missing from slackware, like: wings3D, blender, MPlayer, dvd codecs, wine, and a few games like armagetron & tuxracer.
 
Old 01-12-2004, 03:29 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
The first thing you need to rid of mate is that
re-install mentality from windows days ....

The second thing you need is checkinstall :}

It replaces the "make install" step of soucre-
tarballs and creates a slack-pack instead that
(it's being installed as well) you can tuck
away for later use ... and as for the utility
that installs several slack-packs: it's called
installpkg and is part of Slacks package tools.

installpkg /my/own/tarballs/*.tgz


Cheers,
Tink
 
Old 01-12-2004, 05:22 PM   #3
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
wow, kool. i didnt know installpkg could install multiple .tgz files at once.

but, some arent .tgz. so for those, i do "./configure" then when thats done, do "make" then, DONT do make install, but instead do "checkinstall"? and this will make a slackware installable .tgz file? is this correct?

thats some amazing stuff, im very glad i came over from suse 9. im a lot happier now. thanks for the help guys.
 
Old 01-12-2004, 07:20 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
You got that all right :)

Congrats!

Cheers,
Tink
 
Old 01-13-2004, 08:57 AM   #5
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
YAY! im starting to figure sstuff out...and its all thanks to slackware. oh, and you guys fr helping me out.

as most of you probably know, i can from suse 9, which was all automated and didnt offer me to do stuff like this. maybe it did, but i didnt really care at the time. but, slackware's proven itself worthy for my laptop, and im loving every minute of it.

as for my config files, how would i write a script that will do something like: "cp /mnt/cdrom/configs/wine.cfg /home/dave/.wine" ? and do that with multiple config files for different programs? like as soon as i execute the script, it automatically runs line-by-line the copy commands?
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux file extension vs Dos file Extension? manaa Linux - Newbie 6 02-12-2009 04:19 PM
Need script to add extension stefaandk Linux - General 1 10-05-2005 10:07 PM
bash script to sort files by extension otheralex Programming 7 08-19-2005 02:40 AM
PHP: GD script with a .PNG extension - Possible/How to? Adrohak Programming 0 07-28-2004 01:01 AM
bash script to set extension association vi0lat0r Programming 6 05-24-2004 07:04 PM


All times are GMT -5. The time now is 06:12 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration