New to Slackware/Linux, installing software?
Hi, I'm fairly new to Slackware and Linux in general so could someone explain to me how to install software? I'm looking to install Google Music Manager since they finally released the Linux client a few days ago, but it seems that it only comes in .deb and .rpm
As far as I can tell, Slackware doesn't use either of these formats, so does that mean it's impossible for me to install this program? I suppose I've been spoiled by just having to double click. exe files in Windows, but I'm up for learning and so far really like what Linux has to offer. Also, could anyone explain why there are so many different formats for installing programs in Linux? It just seems like a pain to developers to have to package things in so many ways, especially when there are so many different Linux distributions. |
Quote:
There is also the incredibly useful tool, sbopkg, which automates all this and provides an interface to the process of downloading/compiling/installing software. Quote:
|
Most of the SuSE, Red hat, and Debian based distros will utilize dependency checking formats like RPM and DEB to make the installation process easier by often automatically downloading packages from their servers if they are missing. However, this takes away from the much needed learning curve of Linux such as compiling stuff for yourself, understanding dependencies, and documenting your system.
|
For that specific program, well, there was just a thread about it:
http://www.linuxquestions.org/questi...c-beta-893349/ Also, Slackware does include RPM. No-one uses it, AFAIK, but I used to reguarly use it to install OpenOffice. |
Quote:
Quote:
|
Documenting your system goes from anything such as what settings you change, packages you install, uninstall, etc. to track yourself. Basically its called proper IT administration.
Without documenting what you install, often you can have issues like what to do when a portion of the system upgrades and such. Like updating a Linux kernel and modules package might require a rebuild of (example only) the nvidia driver and kernel module to match the system. Without this you also would have no way of knowing which package was installed as well as the name of it, and how you would go about manually updating it the proper way. Normally with Linux I do a standard set it and forget it with certain things (mostly to avoid the mundane such as setting X11 to autoload at boot to GDM/XFCE), but when I build my SlackBuilds packages to supplement my system with the software I utilize from day-to-day, knowing what I install and the dependencies helps with knowing how much I have to upgrade, install, or even remove. This way, if anything screws up, I can track myself back to what happened and when and quickly solve any issues. |
Quote:
Many slackers build their own packages. In my case, for instance, I use the slackbuilds.org templates to build packages when I have to. The SlackWiki has articles about using and writing SlackBuilds. Have a look at this thread and onebuck's Slackware Links page for tons of useful information. There are also third-party package repositories. Alien Bob and rworkman are Slackware developers, both have several packages in their repositories. The site slacky.eu has a huge repository as well. I'm sure there are more. |
Use rpm2tgz to create a slackware package out of the rpm file you have. Then run installpkg to install it.
|
When you install third party packages it is critical that you trust the people that created the software. Both Robby and Eric create 100% trustworthy software.
|
Hmm.. so I'm supposed to document all my installs? That seems like a HUGE hassle. Call me lazy but that seems like a lot of work and really complicated. If that's the case, should I reconsider my attempts at using Linux? I mean I'm all for learning scripts and that kind of thing, but having to go out and keep track of every install you make and where it goes seems like a lot to do. I'm not IT administrator, I just use slackware on my laptop for personal use so that might be a bit more than I can handle.
|
Documenting your system is a good thing. If you don't want that you should consider to use a different distribution than Slackware. Most other distributions do the dependency-solving automatically, so that you don't need to document as much as in Slackware. Nonetheless, if you really want to learn Linux go for Slackware.
Quote:
|
Hi,
any package which you install via installpkg or sbopkg and so on will be logged by Slackware automatically. You can use the tool "pkgtool" on the commandline and view every installed package. If you build a program by yourself and install it via "make install" Slackware does not know that this program is there. But this is true for any distribution. In your case the easiest way to install the desired package would be to download the rpm-package, transform it with rpm2tgz into a Slackware-package and install it via installpkg. Markus |
Quote:
HTH. |
Quote:
|
Thanks guys for all the info.
Might I ask though, if anyone could detail what exactly goes in to documenting the system? Or more specifically, when would I have to document it, and what exactly do you do or am I supposed to do when I do document it? I think that I'm not going to give up on Linux yet and continue trying to learn it, even if it seems very difficult and even tedious. I'm sure I can learn a lot about operating systems and Linux this way, so I'll keep going at it for now. Again, thanks so much for all the help and guidance. |
Quote:
|
Also, please keep in mind that Slackware is only one Linux distribution, and it is one of the distributions with the steepest learning-curve. If you feel that this is to much for you as beginner (which is understandable) you don't have to consider giving up Linux, maybe you should just try a somewhat easier distribution (I would recommend Debian for this) in the beginning and give Slackware a try after you are more familiar with Linux.
|
Quote:
|
The learning curve for Slackware isn't that high really. It's just some people lack the most basic of assets required for Linux... patience, and reading package documentation.
if you want a REAL learning curve... go next door to Linux-From-Scratch. I'm okay at understanding Linux but by comparison LFS is just too far over my head. |
Quote:
|
I would like to make another mention of a utility that gnashley maintains. The src2pkg utility is an excellent way to create your own slackware packages from source.
I recently downloaded a .deb source for the google talk utilty and created a slackware package for 32 bit slackware-current (I assume it would work for 13.37 as well). P.S. The src2pkg utility is linked in my signature. :) |
All times are GMT -5. The time now is 04:40 PM. |