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-13-2009, 06:51 PM
|
#46
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep:
|
Lorax, I thought you had KDE, according to your profile.
|
|
|
12-13-2009, 06:54 PM
|
#47
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Quote:
Originally Posted by Quakeboy02
It's not. A .deb file is just a collection of files; much like a tar file. You'd need to setup gnome or kde to run something like "gksu dpkg -i $1.deb" before a GUI could automatically install it. Given that normal users aren't supposed to be installing packages (other than with sudo), as well as that you should normally use apt (apt-get, synaptic, etc) to install packages from a repository, there's little reason to setup the GUI to install a .deb.
|
Except that windows converts seem to think that "clicking on things" is the generic way of interacting with their computer.
The reason why I often put "clicking on" in inverted comas is because the really is no such thing: it is a construct of what ever the file manager/desktop environment/window manager wants it to be. I assume that this may involve reading the mime type of the file, and then running what ever the mailcap says it should. Or perhaps different file managers have their own databases telling them what to do with different files. Since, (as you alluded to) deb files are just ar archives, it would not surprise me if the file manager tried to pass off the deb file to some gui front end to ar... perhaps that is what it was doing.
Anyway thanks for letting me know that file managers are usually not set up to do anything special with deb files: that info will help me, the next time someone is confused about why "clicking on a deb file does not work".
Cheers,
Evo2.
|
|
|
12-13-2009, 06:58 PM
|
#48
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,905
|
install_flash_player_10_linux.deb is that the .deb from Adobe's website? if so good luck with that since it is a package for Ubuntu and NOT Debian.
http://wiki.debian.org/FlashPlayer
Five years of running Debian and the only 2 packages I have had to download from a website were Opera and Skype.
|
|
|
12-13-2009, 07:07 PM
|
#49
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep:
|
I got install_flash_player_10_linux.tar.gz, and moved libflashplayer.so to /usr/lib/iceweasel/plugins. I was thinking like a Slacker when I did it, but it works.
|
|
|
12-13-2009, 07:09 PM
|
#50
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Quote:
Originally Posted by craigevil
install_flash_player_10_linux.deb is that the .deb from Adobe's website? if so good luck with that since it is a package for Ubuntu and NOT Debian.
|
Pretty sure it is statically linked binary so should not be a problem.
Although I do agree that if you someone does want nonfree flash the instructions on the wiki are a better option; but the point of this thread was actually about directories and paths.
Quote:
Five years of running Debian and the only 2 packages I have had to download from a website were Opera and Skype.
|
You're a lucky man :-)
Cheers,
Evo2.
|
|
|
12-14-2009, 12:52 AM
|
#51
|
Member
Registered: Nov 2009
Posts: 215
Original Poster
Rep:
|
Quote:
install_flash_player_10_linux.deb is that the .deb from Adobe's website? if so good luck with that since it is a package for Ubuntu and NOT Debian.
|
If it is a .deb, isn't it's construction that of Debian? After all, Ubuntu can be called a Glorified Debian, being built on it. Needless to say, it works just fine here.
Brian, I did have KDE. Don't ask... Reinstalled obviously, just haven't yet converted.
Let me hijack my own thread for a sec. Ignoring settings and preferences, does a conversion from Gnome to KDE (and/or the reverse) affect my saved files in any way?
Will I lose files on my desktop?
Will I lose files in any other directory (/), (/home), (/user) etc...?
I like my Firefox. Will I need to re-install it?
|
|
|
12-14-2009, 12:57 AM
|
#52
|
Member
Registered: Nov 2009
Posts: 215
Original Poster
Rep:
|
Also, if I want to save back-ups of .deb or tarballz, etc, is it sufficient to move the icon (for example, the .deb icon) to CD or another partition, or is there more to it?
If the .deb is not clickable, does it still contain the files I need to install it on another system later?
|
|
|
12-14-2009, 01:02 AM
|
#53
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Rep:
|
Quote:
Originally Posted by Lorax
Also, if I want to save back-ups of .deb or tarballz, etc, is it sufficient to move the icon (for example, the .deb icon) to CD or another partition, or is there more to it?
If the .deb is not clickable, does it still contain the files I need to install it on another system later?
|
You need to backup you /var/cache/apt/archive/*
The packages are saved there, provided you did'nt remove them.
|
|
|
12-14-2009, 01:18 AM
|
#54
|
Member
Registered: Nov 2009
Posts: 215
Original Poster
Rep:
|
Are files that I individually download from the www, ones with icons that Idownload to my desktop, also stored there ( /var/cache/apt/archive/* )?
|
|
|
12-14-2009, 02:11 AM
|
#55
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Quote:
Originally Posted by Lorax
Also, if I want to save back-ups of .deb or tarballz, etc, is it sufficient to move the icon (for example, the .deb icon) to CD or another partition, or is there more to it?
If the .deb is not clickable, does it still contain the files I need to install it on another system later?
|
Hey Lorax,
If you download debs and later on want to use them on the SAME operating system, then of course that's possible. You could move them to a partition/CD/USB, whatever and copy them over again to install. The fact of being not clickable has to do with the .deb begin an archive file. So most likely if you 'double click' it, then it will propose to or just open it with an archive manager that will only show you the contents. If by moving 'the icon' you mean the entire package and not a 'shortcut' to it, then yes, moving it to another medium is a form of having a 'backup' copy.
The 'dpkg' program of Debian knows what to do with it, so best practice to install a .deb is to open a terminal and (most likely as root) use
to install it.
Be aware though if you always use the downloaded files from a 'old' backup that your system becomes 'outdated' pretty soon. Best practice is to just install from fresh every time, not only to get the latest version of the software you need/want, but also to acquire some more knowledge and understanding of Linux.
Kind regards,
Eric
|
|
1 members found this post helpful.
|
12-14-2009, 02:18 AM
|
#56
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Quote:
Originally Posted by Lorax
Are files that I individually download from the www, ones with icons that Idownload to my desktop, also stored there ( /var/cache/apt/archive/* )?
|
Hello Lorax,
What ~sHyLoCk~ is referring to is the cache where apt-get stores all the downloaded packages. If you back that up, then you have all packages that you installed using the apt-get program, ready to install again if needed. It does NOT contain the packages you download and install manually.
Those files that you download manually are stored in the location of your choice (or as indicated in your preferences of the program you use to download them, Firefox?).
Kind regards,
Eric
|
|
1 members found this post helpful.
|
12-14-2009, 02:39 AM
|
#57
|
Member
Registered: Nov 2009
Posts: 215
Original Poster
Rep:
|
Yet again, Eric, well stated.
You are very keen at translating your Guru wisdom into dummy lingo for me :-D
Thanks EVERYBODY!
For the next newbie that reads this:
The moral of the story: Mind your Present Working Directory, respect you terminal (root or user), and get the dang file path right!!! Learn from my mistakes!
S O L V E D !
|
|
|
All times are GMT -5. The time now is 06:33 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
|
|