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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-10-2009, 08:56 PM
|
#1
|
LQ Newbie
Registered: Dec 2009
Distribution: Debian
Posts: 7
Rep:
|
Recently converted to Debian, not yet familar with using a Terminal...
Dear reader,
I recently built my very first computer, and was extremely pleased with the results hardware wise. Finally I had to decide whether or not to spend $100+ on an operating system that attempts to coddle me like a little baby. So I converted to Debian Lenny! ( this must be what it feels like to be a new AA member confessing a months worth of Sobriety) So anyway, enough rambling, my question is simple, as I've been familiar to nothing but Windows my entire life, I'm not used to using aterminal to download/install packages. Due to this I have spent the past week googling how to unpack .tar.gz and how to install packages using aptitude, etc etc etc. I've finally given up and accepted that I need help. I haven't managed to install a single thing despite hours of frustration, there are two items in particular that I've been trying to install this week
1) Compiz Fusion (everybody likes a pretty 3D desktop)
2) Adobe Flash Player ( The instructions look simple, but are vague enough to be misconstrued)
If anyone would be so gracious as to offer up a step by step, walkthrough written specifically to help a newbie out, for either of these, your time would be much appreciated. I can answer any questions needed should someone be interested.
Thank you for your time,That one Kid (Cole)
|
|
|
12-10-2009, 09:01 PM
|
#2
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
Assuming gnome here:
At the top of your screen, you should see the word "System". Click that, then "Administration" then "Synaptic Package Manager". You'll get a GUI to manage your package installation/removal. You should use the packages in Synaptic first and only if your package is not available should you try resorting to downloading from other sources.
|
|
|
12-10-2009, 09:06 PM
|
#3
|
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168
|
Quote:
Originally Posted by TheFunk
Dear reader,
I recently built my very first computer, and was extremely pleased with the results hardware wise. Finally I had to decide whether or not to spend $100+ on an operating system that attempts to coddle me like a little baby. So I converted to Debian Lenny! ( this must be what it feels like to be a new AA member confessing a months worth of Sobriety) So anyway, enough rambling, my question is simple, as I've been familiar to nothing but Windows my entire life, I'm not used to using aterminal to download/install packages. Due to this I have spent the past week googling how to unpack .tar.gz and how to install packages using aptitude, etc etc etc. I've finally given up and accepted that I need help. I haven't managed to install a single thing despite hours of frustration, there are two items in particular that I've been trying to install this week
1) Compiz Fusion (everybody likes a pretty 3D desktop)
2) Adobe Flash Player ( The instructions look simple, but are vague enough to be misconstrued)
If anyone would be so gracious as to offer up a step by step, walkthrough written specifically to help a newbie out, for either of these, your time would be much appreciated. I can answer any questions needed should someone be interested.
Thank you for your time,That one Kid (Cole)
|
Cole, welcome to Debian -- and thanks for the humorous introduction. :-) Software installation is different in fundamental ways on Linux vs. Windows.
In windows, it is common to download a .exe or .msi executable from some webpage on the Internet through your browser, then run that program, and go through a graphical dialog that asks you a bunch of questions.
In Debian, in general, you don't do any of that. Almost everything in the world is in a Debian package repository, and you can download (from the internet), and install software with one simple command:
Code:
sudo aptitude install package-name
Compiz Fusion (see http://wiki.debian.org/Compiz):
Code:
sudo aptitude install compiz-gnome
The package manager will locate, download and install any other software components that are needed to support that package.
Flash player is in the nonfree repository, since its not open source. So, you need to add the nonfree repository to your package managers repository list.
See http://linuxappfinder.com/addrepo.
You should probably update your local package list to include the new repository:
Code:
sudo aptitude update
Then you can do the same thing as you did with Compiz:
Code:
sudo aptitude install flashplugin-nonfree
In general, you always want to use the package manager -- and don't want to install .deb packages directly, and quite certainly (unless you cant find it in the repositories) don't want to manually download, build, and install code from tarballs (unless you have no other choice.)
Happy Debianing.
|
|
|
12-10-2009, 09:10 PM
|
#4
|
LQ Newbie
Registered: Dec 2009
Distribution: Debian
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by Quakeboy02
Assuming gnome here:
|
Yes gnome, sorry I forgot to mention that. Thank you for the quick response however I don't seem to have the synaptics package manager, or if I do I just can't find it. I'm not completely averse to the terminal, just not used to it yet, would you have any other suggestions?
|
|
|
12-10-2009, 09:21 PM
|
#5
|
LQ Newbie
Registered: Dec 2009
Distribution: Debian
Posts: 7
Original Poster
Rep:
|
Thank you for your help, I have one more question which I hope might be answered though, when I downloaded the .tar.gz of the flashplayer from the site the instructions said to unpack the file, for future reference, do you know what the command for doing so would be?
|
|
|
12-10-2009, 09:24 PM
|
#6
|
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168
|
Quote:
Originally Posted by TheFunk
Thank you for your help, I have one more question which I hope might be answered though, when I downloaded the .tar.gz of the flashplayer from the site the instructions said to unpack the file, for future reference, do you know what the command for doing so would be?
|
Don't do it that way. It's a bad habit, and you're going to end up with a sloppy unmaintainable system if you do that often.
To answer your question for purely educational purposes, though:
Code:
tar xvzf tarball-name.tar.gz
cp tarball-name/flashpluginfile.so ~/.mozilla/plugins/
But use the package manager.
|
|
|
12-10-2009, 09:28 PM
|
#7
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,442
|
To unpack:
tar -zxvf file.tar.gz
note that the same file format is denoted by the tgz extension ie file.tgz
If you get a file ending in bz2 (or bz), use a j instead of z in the unpack eg
tar -jxvf file.bz2
gz = gzip compression
bz = bzip compression
http://linux.die.net/man/1/tar
http://linux.die.net/man/1/gzip
http://linux.die.net/man/1/bzip2
As above though, only use those for data files. Do all your installs via the pkg mgr.
Last edited by chrism01; 12-10-2009 at 09:29 PM.
|
|
|
12-10-2009, 09:36 PM
|
#8
|
LQ Newbie
Registered: Dec 2009
Distribution: Debian
Posts: 7
Original Poster
Rep:
|
Thank you all for your help, especially you Mr. Williams, I am in your debt for this one. Another weeks worth of headaches successfully avoided. 
|
|
|
12-10-2009, 10:30 PM
|
#9
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
Quote:
Originally Posted by TheFunk
Yes gnome, sorry I forgot to mention that. Thank you for the quick response however I don't seem to have the synaptics package manager, or if I do I just can't find it. I'm not completely averse to the terminal, just not used to it yet, would you have any other suggestions?
|
Are you sure you are using gnome? Synaptic should be there unless you've removed it. Assuming it's not, then you can install it from a terminal with:
Code:
sudo apt-get install synaptic
Added:
Come to think of it, it used to be under Applications->System Tools. So you might want to check there first.
Last edited by Quakeboy02; 12-10-2009 at 10:31 PM.
|
|
|
12-10-2009, 10:43 PM
|
#10
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
|
Quote:
Originally Posted by jhwilliams
Don't do it that way. It's a bad habit, and you're going to end up with a sloppy unmaintainable system if you do that often.
To answer your question for purely educational purposes, though:
Code:
tar xvzf tarball-name.tar.gz
cp tarball-name/flashpluginfile.so ~/.mozilla/plugins/
But use the package manager.
|
Actually, i think there are valid reasons for more advanced users to avoid a package manager .for example:when you use a package manager, it will update all dependencies including optional ones.
But for a newbie, use a package manager4
|
|
|
12-11-2009, 08:50 AM
|
#11
|
Senior Member
Registered: Jun 2006
Location: England
Distribution: Debian Stable
Posts: 1,508
Rep: 
|
A couple of points in this thread:
Quote:
sudo aptitude install package-name
|
Sudo is not enabled by default in Debian as it is with the *buntu's.
So normally you'd use su.
Quote:
Flash player is in the nonfree repository, since its not open source
|
For Lenny the flashplugin is in Backports' repository:
http://packages.debian.org/lenny-bac...plugin-nonfree
http://backports.org/dokuwiki/doku.php
Quote:
Actually, i think there are valid reasons for more advanced users to avoid a package manager .for example:when you use a package manager, it will update all dependencies including optional ones.
|
As Synaptic is a front end to apt-get i fail to see how dependency resolution differs between the two?.
However you can configure apt to not install recommended and suggested packages.
http://wiki.debian.org/Synaptic
My preference is for using aptitude from cli.
Or are you referring to to a 'source' distro without dependency resolution?.
|
|
|
All times are GMT -5. The time now is 05:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|