LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-13-2007, 01:05 PM   #1
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Rep: Reputation: 30
Unhappy installing packages on slackware 11


Hi to everyone, it has been a while since I last posted. I have moved on to Slackware 11, as reccommended by a friend. The installation went well - but I can't seem to install packages. I keep looking for packages that actually end in tgz, but I haven't found many. When I try to unpack with installpkg, I nearly always get the same reply package does not end in tgz. I tried renaming as someone suggested,but the same problem every time. Why does the installpkg not recognise tar.gz as tgz files? Is there something I can try before I loose all interest in Slackware.
bookie
 
Old 04-13-2007, 01:14 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Did you get the package from here;
http://www.linuxpackages.net/
If you are trying to install from source;
Code:
tar xzvf package.tar.gz
cd package
cat README <--- read the readme or install
./configure
make
make install
 
Old 04-13-2007, 01:47 PM   #3
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Thanks to comprookie for a fast reply. Sorry if I was a bit vague. I would like to download webmin on to my slackware and heard that it was possble. Ok Now the whole truth. I was trying to add a second hard drive to my system and it all went pear shaped when I tried to put the informationnn into fstab. When I executed request all hell broke out and my console just started rolling and after twenty minutes or so,I realised that something was wrong. If you don't mind helping me with the exact command structure, I would be eternally greatful. Still like to put Webmin on my system, anyway.
bookie
 
Old 04-13-2007, 06:15 PM   #4
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
Idea: after you put the second hard drive in your system, try mounting a partition from it first to see if it's mounted, e.g. if it's the primary slave(hdb), and you want to mount your first partition, you could do (as root):
mkdir /mnt/something
mount /dev/hdb1 /mnt/something

And see if it works.

As for fstab, could you post exactly what you tried adding to it, and, if you remember what was the output of the console?

As for installing webmin, never tried it personally, but you should be able to compile it with comprookie2000's instructions.

From what I understand, Slackware packages, in tgz format, come with a speciall install script, and you can easily install them with installpkg. The source packages, which aren't distro specific, don't have such a script, and of course can't be installed with installpkg even if you change their extension (e.g., if you change the extension of an mp3 to a jpg, can you do anything with it with a picture viewer?)
 
Old 04-13-2007, 06:25 PM   #5
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Quote:
When I executed request
What exactly did you do, step by step.
First make sure you have created partitions and formatted the drive before you try to mount it.
Can you post fdisk -l so we see what you have. Don't edit fstab until you have manually mounted it
like Mr. Valkyrie_of_valhalla said. You shouldn't have hurt anything and next we will install webmin.
have fun ...
 
Old 04-14-2007, 04:31 AM   #6
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
regardin adding second hard drive

Thanks again guys for your very guick response to my situation. Well, ----- I started fdisk /dev/hdb to add my partitions, which was only 1. I gave it 83 linux id even though I would like to christen my self. After that I formated it in mkfs. mkfs -t reierfs /dev/hdb1. This went ok. I had a message come up that I should reboot after fdisk?. Was that before or after I should format it? After formating, I did a reboot and then went in on fdisk to see what was there. There wasn't any partition? What am I doing wrong? I know I am a newbie, but I don't think I am unable to follw commands. Just not sure if I should have formated hard drive before rebooting. Should I do every thing including mounting it before rebootin? Sorry to sound so dense - just a bit confused. Still trying to learn the command structure. I would be greatful for a little more assistance with this problem before going onto webmin.

bookie
 
Old 04-14-2007, 10:18 AM   #7
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
I think you just forgot to write the partition to disk;
Code:
fdisk /dev/hdb
p <-- to see what is there
n <--- new partition
1 <--  partition number
enter <--- start partition
enter <--- end partition, this will be one partition
w <--- write partition to disk
mkreiserfs /dev/hdb1
something like that
 
Old 04-14-2007, 11:54 AM   #8
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Unhappy regarding adding information into fstab

Thanks Comprookie2000, I wish it was as simple as not writing info to hard drive - I could be so lucky! This is the state of play at the moment. Tried all sorts of combinations to install the second hard drive - the lastest as follows:

I formed a extended partition and then a logical one I then formated the logical partition with reiserfs: mkfs -t reiserfs /dev/hdb5 - no problem. I then mounted it with my name: mkdir /mnt/bookie
mount /dev/hdb5 /mnt/bookie - again no problem. I then tried to write the info to fstab as follows: cat /etc/fstab /dev/hdb5 /mnt/bookie reiserfs defaults 1 2 - and then all hell broke out.The computer beeped a couple of times and then the screen just started rolling with a continuousxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx if you get my drift?! What the hell am I doing wrong?

bookie
 
Old 04-14-2007, 12:33 PM   #9
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
You need to edit the file, use nano or pico;
nano -w /etc/fstab
ctrl + o then press enter to save
ctrl + x then press enter to exit
add something like;
Code:
/dev/hdb5		/mnt/bookie		reiserfs	defaults,noatime	0 0
then remount it;
umount /mnt/bookie
mount /dev/hdb5 /mnt/bookie
what happens?
 
Old 04-14-2007, 01:17 PM   #10
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Wink hard drive discovery

Hi Comprookie2000, you're not just a pretty face are you. I feel so stupid when I think how easy that was to do after your helpful intructions. Thanks a bunch. Well, I might be ready to go on to the next stage Webmin. I have slackware 11 and that comes with the English version of firefox. Because I live in Sweden I would like the Swedish version. I downloaded that version only to find that installpkg does not like tar.gz files. So I am looking to make such files work on my slackware including of course Webmin. I know it is no easy thing I ask. but when I have learnt that I think things will become easier. Just need you to point me in the right direction - not assuming that I am brilliant like you - please keep information like the last time simple and straight forward.
Looking forward to a reply
bookie
 
Old 04-14-2007, 01:32 PM   #11
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
No problem, that is how we all learn. Here is my Pretty Face.
Post this;
uname -a
 
Old 04-14-2007, 02:09 PM   #12
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
With regards to the original question, comprookie's suggestion of LinuxPackages is excellent. Once you've located the app you want, download it, and then you can use a tool such as KPackage if you prefer using a GUI. Assuming you're using KDE, go to System > KPackage > File > Open and choose the package. You can then click on the Install button, but I'd recommend running it in Test mode first, just to make sure it will succeed. If you get RESULT=0, all is well, and you can install it for real.
 
Old 04-15-2007, 11:47 AM   #13
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Thankyou

Hi to Valkyrie of Valhalla, Comprookie2000's solution as to using nano or pico solved mu problem. I take your point about posting. Will remember that in future.

bookie
 
Old 04-15-2007, 01:08 PM   #14
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Smile webmin solved

Just thought I'd let you know that I have solved the problem of Webmin on my Slackware. I looked at linux packages - they had the 1.6 version for Slackware 10.0 this I installed without problem and then upgraded to the latest version without problem. The only thing that came up was a warning that I didn't have 10.0 but 11.0. This information was upgraded by webmin without problem. I now have the latest Webmin running without hiccup. Thanks for everyones help on this matter.

bookie
 
  


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
Identifying "non-native" Slackware-packages in /var/log/packages Yalla-One Slackware 8 07-06-2006 06:57 AM
installing/uninstalling slackware packages jaakkop Slackware 10 02-14-2005 09:11 PM
Installing .tgz (Slackware packages) on other distros deadjoebob Linux - Newbie 3 06-10-2004 10:54 AM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 12:47 PM


All times are GMT -5. The time now is 03:13 AM.

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