Reply
Thread Tools
thecursedfly's Avatar
Posts: 243 | Thanked: 198 times | Joined on Aug 2009
#51
thanks mattmull
probably I'll end installing (K)Ubuntu and adding the whole other DE, and choose at startup which one I want to use, installing whatever application I want... I hope it won't take too much space, anyway it'll be more lightweight than the concurrence for sure (Vista: 15 GB? o.O)...

davep1, maybe you can give that book a look here (legally): http://books.google.be/books?id=PPG8...age&q=&f=false
some pages missing, but you get a good insight in the book.
no idea on smaller books, after all they have to describe and let you know an entire OS, different from what most people are used to...
 
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#52
regarding the sizes of the toolkits, here a little real-life example

this is the output on my Debian/Lenny workstation. i run Gnome as the main desktop, but have several KDE apps installed as well, like amarok, k3b and kdetv.

as you can see, the additional requirements for KDE apps aren't that big 'a deal. the base packages sum up to about 230 MB, the libraries to 60 MB.
also, parts of KDE3 are installed for some older KDE apps which adds a bit additional weight.

don't get scared with the long list, you don't have to worry about any of these packages you just tell the package manager what you want and it will happily install every unmet dependency, after getting confirmation from you to do so.

a little word on the commandlines, maybe. this sort of thing always looks like magic when you're not used to it

Code:
dpkg-query -f '${Installed-Size}\t${Package}\n' -W *kde* | egrep "^[0-9]" | grep dev -v | sort -gr
this is actually a chain of commands, seperated by the "|" (pipe) sign. the pipe connects stdout (standard output character stream) of the first cmd to stdin (standard input) of the second one.

now, the first command, dpkg-query, is called with 2 options:
-f to specify an output format, and -W to specify that we want a detailed output of all packages containing the string kde.

the output format string "${Installed-Size}\t${Package}\n" tells dpkg-query that we want the size of the package, followed by a tabstop, followed by the pkg name, followed by a linefeed.
${Installed-Size} and ${Package} are fields provided by the -W switch, the default output of -W is "Package tabstop(\t) Version"

now, this whole list gets piped to the command "egrep". egrep and the next command grep are basically the same thing, they are used to grab certain lines or strings from files or, as is the case here, from stdin. the difference is that egrep enables regular expressions.
"^[0-9]" is the very simple regex used here, and it tells egrep to only grab lines which start with a digit. ^ is the beginning of the line, [] defines a character class. this is necessary because otherwise the output would contain all non-installed packages as well, but since those don't have a "Installed-Size" field, i can filter using that.

the next grep grabs every line which does not (-v) contain the string "dev". (i have installed several development packages for compiling, and they are quite big)
the last command gets the piped input and sorts the lines numeric (-g) and reverse (-r). without -g it would sort character by character.



i hope i didn't scare anyone away with this little novel, it's just that this sort of thing is what makes Linux so powerful. and you don't have to learn it if you don't want to. at least not anymore



Code:
subcore@Eos:~$ dpkg-query -f '${Installed-Size}\t${Package}\n' -W *kde* | egrep "^[0-9]" | grep dev -v | sort -gr
65144	kde-icons-oxygen
48064	kdelibs-data
34660	kdelibs4c2a
29092	kdelibs5
19764	kdelibs5-data
5920	kdetv
5340	kdebase-runtime-data
5000	kdebase-runtime
4260	kdebase-kio-plugins
3196	kdebase-runtime-data-common
2660	kdebase-data
2372	kdebase-bin
1888	kdesktop
1544	kdelibs-bin
472	kdemultimedia-kio-plugins
200	kdebase-runtime-bin-kde4
72	kdeeject
subcore@Eos:~$ dpkg-query -f '${Installed-Size}\t${Package}\n' -W *qt* | egrep "^[0-9]" | grep dev -v | sort -gr
10588	libqt4-webkit
10072	libqtgui4
9228	libqt3-mt
5752	libqt4-designer
5456	libqtcore4
3868	qt4-qmake
3756	libqt4-qt3support
2844	libqt4-xmlpatterns
2564	libqt3-headers
1308	libqt4-script
1156	libqt4-network
656	libqt4-help
616	libqt4-dbus
608	libqt4-opengl
524	libqt4-svg
440	qt4-qtconfig
388	libqt4-xml
360	libqt4-sql
332	libqt3-compat-headers
288	libdbus-qt-1-1c2
176	libqt4-test
160	libstrigiqtdbusclient0
160	libqt4-sql-mysql
128	libqt4-assistant
104	libavahi-qt3-1
subcore@Eos:~$

Last edited by SubCore; 2009-11-24 at 22:05.
 
Posts: 220 | Thanked: 129 times | Joined on Nov 2009
#53
Just a question. Newbies, such as myself, ask themselves what Linux is, what will it enable the N900 to do (I've seen other threads appearing after this one on the subject), etc.

Howcome admins put it as off-topic? To me off-topic is "what are you going to do for your vacation" or "let's swap recipes." The official definition of off-topic on this site is "Totally unrelated but still worth discussing. An "other" of sorts. No religious or political topics please."

This thread belongs under General which is explicitly defined as the following "Relevant topics not tied to a specific program, OS or device. Post here if you can't find a better place." or create a Linux for Newbies heading or something.

Is there a way to contact admins?

Thanks
 
thecursedfly's Avatar
Posts: 243 | Thanked: 198 times | Joined on Aug 2009
#54
thx again SubCore

@gadgety: the admin: http://talk.maemo.org/member.php?u=2 , see "contact info"
 
chemist's Avatar
Administrator | Posts: 1,036 | Thanked: 2,018 times | Joined on Sep 2009 @ Germany
#55
Originally Posted by Gadgety View Post
Just a question. Newbies, such as myself, ask themselves what Linux is, what will it enable the N900 to do (I've seen other threads appearing after this one on the subject), etc.

Howcome admins put it as off-topic? To me off-topic is "what are you going to do for your vacation" or "let's swap recipes." The official definition of off-topic on this site is "Totally unrelated but still worth discussing. An "other" of sorts. No religious or political topics please."

This thread belongs under General which is explicitly defined as the following "Relevant topics not tied to a specific program, OS or device. Post here if you can't find a better place." or create a Linux for Newbies heading or something.

Is there a way to contact admins?

Thanks
True, but keep in mind that even if the question is based on thoughts related to N900 and Maemo the answers are still for other forums so they are not specific enough to be not off-topic.
They are general Gnu/Linux questions and not in any kind related to N900 or Maemo. If someone asks for a related issue he is actually hijacking the thread and would do better posting a new one in the section it fits to.

You might learn something in this thread helping you out with questions you would ask for Maemo as well because it is about Linux based systems and Maemo is such a system. But this also means this thread is about something which is discussed on many other forums which are not pointing out the Maemo case and so it remains off-topic for this forums.
 
Posts: 220 | Thanked: 129 times | Joined on Nov 2009
#56
I understand. In that case I realize I hijacked my own thread by asking what your knowledge of Linux will enable you to do with the N900.

Thanks!
 
Posts: 607 | Thanked: 450 times | Joined on Sep 2009 @ Washington, DC
#57
I ran across a PDF that made my distro decision a lot easier. To start out and learn, I'm going with Ubuntu and using the following as a guide:

http://manuals.makeuseof.com.s3.amaz...rmic_Koala.pdf
 
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#58
I installed Ubuntu on a thumb drive last night and booted to it from my laptop afterward. After iso download, everything was done in under 5 minutes. Fastest, easiest OS install/setup ever for me. Amazing.
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#59
Holy ****!

All this time I was wondering if my FIOS internet was crippled, as it just seemed too slow for fiber. But I'm accessing the site right now using the Ubuntu thumb drive installation and the internet just flat FLIES.

If WINE can run the applications I need, then I may just say adios Windows...
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 
Posts: 74 | Thanked: 142 times | Joined on Oct 2009 @ Chicago, US
#60
Originally Posted by Texrat View Post
Holy ****!
All this time I was wondering if my FIOS internet was crippled, as it just seemed too slow for fiber. But I'm accessing the site right now using the Ubuntu thumb drive installation and the internet just flat FLIES.
Welcome to Linux :-). My experience is that after a while you will have a hard time understanding why people are using Windows.

If you want to see fast.. check out chromium, I haven't tried it on Ubuntu, but it should be easy to install, there is a HOWTO here:

http://www.stefanoforenza.com/chromium-on-ubuntu-how-to
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:51.